Jump to content

Realtime security cameras?


Recommended Posts

https://zdoom.org/wiki/Cameras

https://zdoom.org/wiki/SetCameraToTexture

 

 

from the animdefs wiki (youll need to define a texture for the camera to display to in animdefs)
 

CAMERATEXTURE <texture name> <width> <heigth> [fit <width> <height> [worldpanning]] //put this part in animdefs and define the texture parameters

 

Define a texture that can be drawn into. You have to specify a name and a size. If <texture name> is an existing texture the image will be scaled to fit that texture's size. Optionally, you can also specify the size the image will be scaled to with the FIT keyword. Adding the worldpanning keyword makes camera textures pan in world units instead of texture units.

Square textures use less memory than non-square textures. However, if you want to use a camera that can see the texture it renders into, you should use a non-square texture. You have to use the SetCameraToTexture ACS command to specify the image this texture shows.

Edited by cortlong50

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...