Multi-Camera and Entity Hiding

Blitz3D Forums/Blitz3D Beginners Area/Multi-Camera and Entity Hiding

Whats My Face(Posted 2007) [#1]
How would I get an entity to only appear in one camera if more than one camera. That is to say, is there a way to hide entities from only certain cameras.


Stevie G(Posted 2007) [#2]
You could use a double render ... Note that renderworld will only render the scene from a camera which is not hidden. You can also use cameraproject mode, 0 instead ( iirc )

hideentity camera1
showentity camera2
showentity Entity1
renderworld()

hideentity camera2
showentity camera1
hideentity Entity1
renderworld()



Whats My Face(Posted 2007) [#3]
The problem with a double render is that the thing that I want to hide is a tree and there happens to be a lot of trees and having the program decide which trees I want to hide and not hide (based on how far away they are from the camera) takes a lot of time and doing it every frame it slow.


b32(Posted 2007) [#4]
Have you tried using EntityAutoFade then ?