Game Development Community

scenegraph.h gone?

by Ken Johnston · in Torque 3D Professional · 10/10/2011 (10:36 am) · 3 replies

I dont know if this is documented anywhere but i couldnt find it but what is now replacing scenegraph.h in 1.1? Is there somewhere that documents the changes to the Engine source from earlier versions to the current? I just got around to last night trying to port some old code over to 1.1 from 1.01 but the whole structure seems to have changed and i am having a hell of a time finding were the enums and many variable declerations were once made have been moved too!

I dont know if others feel the same way but as part of new releases in the future a port guide with the official documentation would be nice( and personally think it should be mandatory) that identifys what core engine changes have been made and were these things are being moved to. I spent nearly the whole day trying to port something that should be simple but unable to find where the old variable definitions have been moved to, and on top of that many of my scripts stopped working too because i am trying to call engine functions which have been moved to unknown locations!

If anyone has any tips to make this alot less painfull please let me know. I am little better than a novice programmer and i am pulling my hair out over this.

#1
10/10/2011 (10:48 am)
sceneGraph/ -> scene/
sceneGraph/sceneGraph.h|cpp -> scene/sceneManager.h|cpp
class SceneGraph -> class SceneManager
class SceneState -> class SceneRenderState
enum ObjectTypes -> enum SceneObjectTypes

Think this are the most prominent renames.
#2
10/10/2011 (10:57 am)
thanks rene, i knew someone would have the quick answer to this.
#3
10/11/2011 (4:47 am)
Quote:as part of new releases in the future a port guide with the official documentation would be nice( and personally think it should be mandatory)

yes,it should be mandatory.
porting resources from one version to another version is really pain for the new users.i still have to spend a long time only for this issue.