rastaman
25-04-2006 00:53:11
In this update I wrapped the Compositor stuff in Ogre. I'm Sill working on the Demo.
The project files for VC7.1 have changed, mostly post build events. I separated the swigging of the compositor classes, so in project OgreBindings swig will run twice. Once for OgreBindings.i and once for OgreBindings_Compositor.i. Both commands are under the OgreBindings.i to keep it simple, so you only need to right click and compile the one file. That means if you have VC8 you will need to manually update your project. I downloaded VC8 but have not setup my box to handle both yet, the environment variables are a prob. The quickest way to do this would be to open the vc7 project (OgreBindings.vcproj) with notepad or some text editor. Then look for where it runs swig and copy the command, remember to change the text """ to a double quote. If you want to help email me the updated VC8 project files. I don't know when I will get around to setting up VC8 properly.
Other things in the update are a few thing I found while trying to convert the Compositor demo.
-- CeguiDotNet
---- Vector3 and Vector2 renamed to CEGUIVector3 and CEGUIVector2 (name ambiguity with Math3D)
---- added typemaps to make utf8* convert to byte array (byte[]), needed for a GuiSystem constructor
---- Correction in CeguiNet/DirectedRenderer.h (not sure about)
-- GangstaNet
---- CallbackInterface_Ogre added custom function shapeFromRaw (for example DotScene static geometry)
-- OgreNet
---- ignores in OgreSceneManager.i for functions to get skybox parameters till the sub structs can be wrapped.
---- ExampleApplication
------ in Setup moved CreateEventHandler call after CreateScene to be more like the C++ example app
------ create4LineDebugOverLay changed font used to BlueHighway, TrebuchetMSBold was removed from Ogre
---- root removed ignore of _setCurrentSceneManager() for DigitalCyborg
The project files for VC7.1 have changed, mostly post build events. I separated the swigging of the compositor classes, so in project OgreBindings swig will run twice. Once for OgreBindings.i and once for OgreBindings_Compositor.i. Both commands are under the OgreBindings.i to keep it simple, so you only need to right click and compile the one file. That means if you have VC8 you will need to manually update your project. I downloaded VC8 but have not setup my box to handle both yet, the environment variables are a prob. The quickest way to do this would be to open the vc7 project (OgreBindings.vcproj) with notepad or some text editor. Then look for where it runs swig and copy the command, remember to change the text """ to a double quote. If you want to help email me the updated VC8 project files. I don't know when I will get around to setting up VC8 properly.
Other things in the update are a few thing I found while trying to convert the Compositor demo.
-- CeguiDotNet
---- Vector3 and Vector2 renamed to CEGUIVector3 and CEGUIVector2 (name ambiguity with Math3D)
---- added typemaps to make utf8* convert to byte array (byte[]), needed for a GuiSystem constructor
---- Correction in CeguiNet/DirectedRenderer.h (not sure about)
-- GangstaNet
---- CallbackInterface_Ogre added custom function shapeFromRaw (for example DotScene static geometry)
-- OgreNet
---- ignores in OgreSceneManager.i for functions to get skybox parameters till the sub structs can be wrapped.
---- ExampleApplication
------ in Setup moved CreateEventHandler call after CreateScene to be more like the C++ example app
------ create4LineDebugOverLay changed font used to BlueHighway, TrebuchetMSBold was removed from Ogre
---- root removed ignore of _setCurrentSceneManager() for DigitalCyborg