Game Development Community

RenderFirstPerson flag not working..

by Mike Daly · in Torque Game Engine Advanced · 09/25/2007 (7:40 am) · 2 replies

For whatever reason, setting renderFirstperson to false in the player datablock does nothing.

Looked through code and found the only instance of this variable occurs in the player.h and player.cc file and isn't used anywhere else.

Did they forget to implement it or is there something broken?

Thanks,
Mike

#1
09/26/2007 (12:46 am)
It does not exist in TGEA.

Might be a problem to get it in as well ie to render it for the reflection, refraction etc pass but not to render it for yourself.
I've had a "surface look" at it as our models have hair etc which currently is blocking parts of the view due to this missing feature. But its low on our priority list as it doesn't seem to be a simple or trivial task and there are definitely more important things to be done first.
One approach perhaps would be the usage of MRTs and render a different thing for the player camera than for the shaders, if this is possible.
#2
10/05/2007 (7:01 pm)
Http://www.garagegames.com/mg/forums/result.thread.php?qt=39441