Selective Rendering
by Ian (Fluxtah) Warwick · in Torque Game Engine Advanced · 06/09/2007 (3:18 pm) · 5 replies
Sorry if this has been asked before.
Is there a usual way of selectively hiding shapes, such as the player.
I want to hide the local clients player mesh, whilst in first person mode (and effectively skip rendering it) but show it to the other clients.
I am still digging, I am just wondering if there are easy methods / fields I can set through script or native code that are specifically implemented for the job :)
any help will be good help
Ian
Is there a usual way of selectively hiding shapes, such as the player.
I want to hide the local clients player mesh, whilst in first person mode (and effectively skip rendering it) but show it to the other clients.
I am still digging, I am just wondering if there are easy methods / fields I can set through script or native code that are specifically implemented for the job :)
any help will be good help
Ian
#2
Also doing a search in the c++ source code looks as if its not actually used.
06/10/2007 (3:23 am)
Hmm strange, that has no effect for me, I can still see my feet and that is set to false by default in the TGEA demo.Also doing a search in the c++ source code looks as if its not actually used.
#3
06/10/2007 (3:40 am)
In TGE the above worked. It never has worked in TGEA, though I'm fairly certain there is a thread someplace documenting what to change to not render first person.
#4
06/10/2007 (3:53 am)
Cool thanks, still searching :)
#5
My guess is it was removed for some reason, to implement something similar I need to get my head round Torques rendering, I cant find anything of significance on the forums and ive searched for a long time.
Someone put me out of my misery please before I venture into implementing this feature myself.
06/10/2007 (6:09 am)
Bump, I am astonished that something that seems so simple has been removed!My guess is it was removed for some reason, to implement something similar I need to get my head round Torques rendering, I cant find anything of significance on the forums and ive searched for a long time.
Someone put me out of my misery please before I venture into implementing this feature myself.
Associate Fyodor -bank- Osokin
Dedicated Logic
renderFirstPerson = false;
This will tell the engine not to render client controlled player when in first person (it's still visible to other players around).