This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
recneps's profile picture

Security Camera

Started by recneps, 26 June 2015 - 01:08 AM
recneps #1
Posted 26 June 2015 - 03:08 AM
Is there a way to make a monitor automatically display an area from a certain viewpoint and angle in real time?
Lyqyd #2
Posted 26 June 2015 - 03:57 AM
No. Monitors display text, not images. Images constructed with text are possible (space characters with the background color set, etc.), but you cannot display actual images like a security feed.
HPWebcamAble #3
Posted 26 June 2015 - 04:34 AM
Well, you CAN display images, but only at (relatively) low resolutions, not to mention that it is very difficult to actually capture an image.

If you want to 'capture' an image in survival with only CC (There are mods that add actual cameras), you'd need a turtle to roam around the
landscape, noting each block and sending it to a computer to display on a monitor, which would require some ray-tracing to display it in 3D

In creative, you can use Command Computers by having one 'scan' each block in an area (Like the turtle, but much faster) then display it
in a similar fashion.

TLDR;
Its really hard
recneps #4
Posted 26 June 2015 - 05:24 AM
Okay, thank you, do you know of any good mods that add the cameras you mentioned?

Wait, I thought of another way to do what I am thinking. Is it possible to use the GPS API to find relative coordinates of a turtle and display, on a monitor, a background then have a gray rectangle on the background move as the turtles relative position changes?
Dustmuz #5
Posted 26 June 2015 - 06:10 AM
this might be against the rules. but here goes..

This could be achived using Opencomputers with the addon mod Computronics..
it has a much higher resolution (up to 160x50 pr screen. so 2 screens next to eachother gives you 320x50
so connect enough screens and you got 1080P :P/>

what i find the downside (because im not good at coding) is that it uses Lua 5.2 instead of Lua 5.1 as Computercraft does
HPWebcamAble #6
Posted 26 June 2015 - 06:19 AM
Wait, I thought of another way to do what I am thinking. Is it possible to use the GPS API to find relative coordinates of a turtle and display, on a monitor, a background then have a gray rectangle on the background move as the turtles relative position changes?

I THINK I understand what you are saying, but that can only show turtles, and it would again require ray tracing to make it look 3D

do you know of any good mods that add the cameras you mentioned?

I've never used them, just seen them
Google, on the other hand, would know


This could be achived using Opencomputers with the addon mod Computronics

That would be another way to do it, never used OC myself, since OC and CC are just a little TOO different ( I prefer CC )
Bomb Bloke #7
Posted 26 June 2015 - 08:25 AM
I believe RotaryCraft also offers cameras, though they may be disabled in certain versions. Reika, the author, has also produced other mods - odds are some of those have them, too.
Dustmuz #8
Posted 26 June 2015 - 10:44 AM
This could be achived using Opencomputers with the addon mod Computronics

That would be another way to do it, never used OC myself, since OC and CC are just a little TOO different ( I prefer CC )

i've looked at it. and the coding is similar, its more how you call things, and wrap things thats mainly the issue for me at least