Game Development Community

dev|Pro Game Development Curriculum

GuiObjectView Consolidated

by Ronald J Nelson · 01/29/2006 (3:32 pm) · 47 comments

Download Code File

I am not taking credit for all of this. This is just a consolidation of the following resources that I did and thought it would save others time weeding through it. Please post any other updates you might make to it that improve it so we can all benefit from it.

guiObjectView - Mountable Animated DTS Viewer
GuiObjectView Update
GuiObjectView Update: Lighting Support

Just place the files in your engine\gui\controls folder, add to your build, then compile.
Page«First 1 2 3 Next»
#41
02/20/2007 (7:56 pm)
I keep getting this error with a new build of Torque 1.5 -

Compiling...
guiObjectView.cc
..\engine\gui\controls\guiObjectView.cc(290) : error C2039: 'setMaxGLLights' : is not a member of 'LightManager'
../engine\lightingSystem/sgLightManager.h(102) : see declaration of 'LightManager'
..\engine\gui\controls\guiObjectView.cc(291) : error C2039: 'addLight' : is not a member of 'LightManager'
../engine\lightingSystem/sgLightManager.h(102) : see declaration of 'LightManager'
..\engine\gui\controls\guiObjectView.cc(292) : error C2039: 'installGLLights' : is not a member of 'LightManager'
../engine\lightingSystem/sgLightManager.h(102) : see declaration of 'LightManager'
..\engine\gui\controls\guiObjectView.cc(330) : error C2039: 'uninstallGLLights' : is not a member of 'LightManager'
../engine\lightingSystem/sgLightManager.h(102) : see declaration of 'LightManager'
..\engine\gui\controls\guiObjectView.cc(331) : error C2039: 'removeLight' : is not a member of 'LightManager'
../engine\lightingSystem/sgLightManager.h(102) : see declaration of 'LightManager'


//------------------------End------------------------------//

Any thoughts? Can I comment this out of the the .cc file and it still work correctly? Is lightManager manditory for this resource to work?
#42
02/20/2007 (11:51 pm)
i compiled it without the code for the light and it woorks perfect
#43
02/21/2007 (5:09 am)
I compiled without the light code last night as well and it compiled successfully. What did you do to get it in the gui?
#44
03/14/2007 (6:40 am)
i just tried compiling into AFX, i got this error. any ideas?

guiObjectView.obj : error LNK2019: unresolved external symbol "public: static void __cdecl GuiObjectView::initPersistFields(void)" (?initPersistFields@GuiObjectView@@SAXXZ) referenced in function "public: virtual void __thiscall ConcreteClassRep::init(void)const " (?init@?$ConcreteClassRep@VGuiObjectView@@@@UBEXXZ)
#45
03/14/2007 (10:57 am)
Will this let you spawn with the weapons you select from the GUI?
#46
03/14/2007 (6:23 pm)
I would also be interested in a wokring version of this ressource with light. the problem seams, that in 1.5 the whole lightManager is commented out. strange.
#47
06/22/2007 (8:30 pm)
Keep up the good work
Page«First 1 2 3 Next»