CCTV Camera (Using Maps)

Discussion in 'Archived: Plugin Requests' started by medemi68, Apr 15, 2013.

  1. Offline

    medemi68

    Wondering if anyone would be able to make CCTV Cameras, using maps. Perhaps having a camera as a dispenser, with a sign in behind to turn it into a camera with an ID. For the maps, using similar rendering as ImgMap (Plugin) but allowing users to generate a screen (map) using a command and have it connected to the camera.

    Features:
    • Having more than one screen per camera.
    • Create cameras by putting a dispenser then placing a sign with a code on it
    • Create screens by typing /cctv makescreen (ID) // Id can be a name
    • Could also be good for televisions

    Could also use Camera Obscura's way of providing a camera.... https://github.com/fromgate/CameraObscura
    Just need to figure out a way to stream from one cam to the screen.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 1, 2016
  2. Offline

    sebdomsan54

    you would have to
    have the chunk loaded
     
  3. Offline

    medemi68

    I think that is possible tho... is there not a keepchunksloaded option?
     
  4. Offline

    Celeo

  5. Online

    timtower Administrator Administrator Moderator

    Celeo How about canceling unloadchunkevent?
    PS. You realize that CameraObscura is just taking the minecraft skin of the player?
     
  6. Offline

    medemi68

    Nope, it also allows to take pictures, like the background too.
     
  7. Offline

    epicfacecreeper

    This would create so much lag. Every n seconds, your server has to render x maps. Rendering is, I think, the most expensive part of minecraft. This is possible, but it would take so much work and make 99.9% of servers unplayable.
     
  8. Offline

    !Phoenix!

    I wouldn't say the normal map-rendering is a very expensive part. Especially because I would have guessed that it is done by the client.

    However, the problem here is that you want to display an image you can see in a client if you, as a player, would stand at the cameras position. But: This picture is fully rendered by the client. The server can't "see" anything at all. This means you would have to create your own kind of rendering engine. I really love the idea, but it would be a bitch to code, especially with the additional perspective stuff.

    Btw: Unloaded chunks would be absolutely no problem, as the picture will stay the same if nothing can move in there (-> cached). It would be nonsense to keep the chunks alive.
     

Share This Page