GuiObjectView, guiPlayerView
by Claude-Alain Fournier · in Torque Game Engine Advanced · 03/02/2007 (4:18 am) · 64 replies
Hi all,
No I don't have a solution. I am restarting this discussion because that's one of the last problem we have in our project after port from TGE to TGEA.
We had this working in a previous TSE release (before MSE 3.5) then after that it does not work and sofar I could not find any one who could make it work.
So I have 2 questions here :
1) Is GG planning to make one of these 2 class work in TGEA one day ? if yes, when (approx...)
2) Is anyone in the GG community who have one of these class working with latest TGEA release ?
If yes, would you care releasing this as a ressource. If not, please contact me to see if we can find an agreement either financial or with code/art exchange.
Thanks in advance.
CAF
No I don't have a solution. I am restarting this discussion because that's one of the last problem we have in our project after port from TGE to TGEA.
We had this working in a previous TSE release (before MSE 3.5) then after that it does not work and sofar I could not find any one who could make it work.
So I have 2 questions here :
1) Is GG planning to make one of these 2 class work in TGEA one day ? if yes, when (approx...)
2) Is anyone in the GG community who have one of these class working with latest TGEA release ?
If yes, would you care releasing this as a ressource. If not, please contact me to see if we can find an agreement either financial or with code/art exchange.
Thanks in advance.
CAF
#62
07/02/2008 (11:58 am)
Finally I managed to trace the problem. It seems that the resource has no problems, but the light manager messes up any GuiTSControl Descendant in PlayGui - other than the root one - when the DRL system is enabled. I think this requires another thread, thanks for your help, Steven!
#63
tends to mess up fog rendering in the root guiTSCtrl.
To solve this, just comment it, or save fog values and restore them after the render is done.
After uncommenting it, I have not noticed any fog in the guiObjectView render area, yet the scene displayed as it should.
07/07/2008 (1:03 pm)
I've found that in the TGEA 1.7.1 version the linegClientSceneGraph->buildFogTexture(NULL);
tends to mess up fog rendering in the root guiTSCtrl.
To solve this, just comment it, or save fog values and restore them after the render is done.
After uncommenting it, I have not noticed any fog in the guiObjectView render area, yet the scene displayed as it should.
#64
Commenting this line will make the box transparent. I have tested it in 1.7.1 and not in 1.8.x, but the code is still like that, so I guess it does the same in 1.8.1.
02/14/2009 (8:34 am)
The yellow box for guiObjectView when HDRL is on in TGEA is caused by the following line in sgDynamicRangeLighting.cpp:// Ben's change - unknown cause/effect (moved from GuiTSCtrl)... GFX->clear( GFXClearTarget, ColorI( 255, 255, 0 ), 1.0f, 0 );
Commenting this line will make the box transparent. I have tested it in 1.7.1 and not in 1.8.x, but the code is still like that, so I guess it does the same in 1.8.1.
Torque 3D Owner Steven Chiu
Edit: I use AFXA Beta 2 for TGEA 1.7.1.