Page 1 of 1

Hide Entity help

Posted: Sun Sep 02, 2012 12:10 am
by Samuel
OK, first off i have two cameras active at the same time. I'm trying to make a entity invisible on one camera and at the same time have that entity visible on the other.
Unfortunately the HideEntity command makes it invisible on all cameras. So I'm curious if there is another way of accomplishing this.

Re: Hide Entity help

Posted: Sun Sep 02, 2012 2:34 pm
by IdeasVacuum
Can you temporary put something in the foreground, close to the camera, so that the entity cannot be seen?

Re: Hide Entity help

Posted: Sun Sep 02, 2012 6:30 pm
by Samuel
Unfortunately no, There are other things that both cameras need to see (at the same time) so i cant block the cameras. That idea may come in handy for the future, but
I don't think it will work for this.

Re: Hide Entity help

Posted: Sun Sep 02, 2012 11:39 pm
by PMV
The only possibility is to create the scene twice. As because 2 cameras
still need to be rendered 2 times it makes no big performance difference if
you have 2x the whole scene. You need only to beware that you will use
the same meshs for your entites for both scene. Don't know what impact
it will have for creating the terrain 2 times if needed.

MFG PMV

Re: Hide Entity help

Posted: Mon Sep 03, 2012 12:26 am
by Samuel
Thanks, I'll give that a try and see what happens performance wise.

Re: Hide Entity help

Posted: Wed Sep 19, 2012 9:00 am
by Comtois
Have a look at VisibilityMask.pb example (5.00 beta 3)

Re: Hide Entity help

Posted: Wed Sep 19, 2012 9:15 am
by Poshu
Comtois is like a 3D superhero °_°;

Re: Hide Entity help

Posted: Thu Sep 20, 2012 1:21 am
by Samuel
I just checked it out and looks like it will solve my problem. Thanks for the help.