Jump to content




Billboard - Display Programs On Multiple Monitors


  • You cannot reply to this topic
9 replies to this topic

#1 distantcam

  • Members
  • 139 posts
  • LocationChunk 0

Posted 13 November 2013 - 03:25 AM

Billboard


Billboard displays another program on multiple connected monitors. It is available on Pastebin (KxWmtFpM) and GitHub.

pastebin get KxWmtFpM billboard

Screenshots
Spoiler

Commands:
  • billboard scale <number> - Sets the scale on all monitors.
  • billboard info - Prints the monitors name and dimensions. Useful when doing the setup.
  • billboard setup <settings> <arguments> - Creates a settings file. See Setup below.
  • billboard run <settings> <program> <arguments> - Runs the program using the arguments and billboard settings given.

Setup
Spoiler

Todo
  • Auto calibration (advanced monitors only)
  • Test Pattern

Edited by distantcam, 13 November 2013 - 03:27 AM.


#2 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 13 November 2013 - 03:35 AM

Very, very nice! I'm glad that you also implemented it in such a way that it can be used as a term redirect object, esp with the addition of getSize meaning the programs such as paint were able to still place the toolbar on the bottom. :)

How well would the program handle a setup like this?
+-----------------------+------------+----------+
|                       |            |          |
|                       |            |          |
|                       +------------+----------+
|                       |                       |
|                       |                       |
|                       |                       |
|                       +-----------------------+
|                       |                       |
|                       |                       |
|                       |                       |
|                       |                       |
|                       |                       |
|                       |                       |
+-----------------------+-----------------------+

Also how do you plan on implementing the auto calibration, if you don't mind me asking.

#3 distantcam

  • Members
  • 139 posts
  • LocationChunk 0

Posted 13 November 2013 - 03:43 AM

Handling that setup is fine. The monitors can be added to the setup in any order, so you just have to go and find the offset for each one. The info command will be useful in that case.

For auto calibration I'm planing on having a system where you can click on the position on one monitor, and the position one over on the next monitor to get them to line up. That's why it'll only work on advanced monitors. Once the calibration is done it'll automatically create a settings file for you.

I haven't tested this yet, but theoretically it should handle holes in your monitor too. So long as each monitor is connected up and the offsets are correct it should just work.

#4 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 13 November 2013 - 01:56 PM

Really nice work! +1, Is there like a max on how many monitors you can have or can you make this really really... ..really large? xP

#5 distantcam

  • Members
  • 139 posts
  • LocationChunk 0

Posted 13 November 2013 - 08:14 PM

Thanks!

There's no max... theoretically. But I did try it with 18 8x6 block monitors and it crashed the server I was on, so I'd be careful. :P

I suspect the issue there was the monitors spanned multiple chunks.

#6 Dave-ee Jones

  • Members
  • 456 posts
  • LocationVan Diemen's Land

Posted 16 November 2013 - 03:22 AM

SOOOO good! Very nice!

This would be awesome! But just one question, can the monitors be put anywhere? Do they have to be next to each other i mean.

#7 distantcam

  • Members
  • 139 posts
  • LocationChunk 0

Posted 16 November 2013 - 03:38 AM

They can be put anywhere. So long as the virtual surface you define is a single 2d surface.

#8 LDDestroier

  • Members
  • 1,095 posts
  • LocationACDC Town

Posted 18 February 2016 - 12:27 AM

I seem to be getting an error whenever I run it on Lurcraft Revamped.

term:22: attempt to call nil

My config file "/cfg" is formatted properly (I think), so I don't know what the issue is.

#9 HPWebcamAble

  • Members
  • 933 posts
  • LocationWeb Development

Posted 18 February 2016 - 12:49 AM

View PostLDDestroier, on 18 February 2016 - 12:27 AM, said:

I seem to be getting an error whenever I run it on Lurcraft Revamped.

term:22: attempt to call nil

My config file "/cfg" is formatted properly (I think), so I don't know what the issue is.

What version of ComputerCraft are you using?
Remember that this program is several years old now.

Assuming 'term' is the term API, here's line 22 (For the latest version of CC I believe):
https://github.com/a...m/apis/term#L22

#10 FoxData

  • Members
  • 159 posts

Posted 23 February 2016 - 08:39 PM

Amazing. Its a bit like nvidia surround for minecraft. I can imagine making huge video walls and then minecraft crashing.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users