hiding entities in 2nd viewport

Blitz3D Forums/Blitz3D Beginners Area/hiding entities in 2nd viewport

shawnus(Posted 2004) [#1]
Dear all,
Is it possible to hide an entity in a second viewport (as seen by a second camera) and show the same entity in the main viewport. I am having trouble as the object I want to hide in the second viewport is very mobile, and camera clipping (with the second camera) is proving difficult.
Cheers Shawnus


Stevie G(Posted 2004) [#2]
I'm not sure if I've picked you up right here but you would need to use 2 x renderworlds for this like so ..

showentity object
showentity camera1
hideentity camera2
renderworld()

hideentity object
hideentity camera1
showentity camera2
renderworld()

flip

You should then only see the object in camera1 not on camera2. Hope this helps.