Volumes Of Fun

Compiling XML2Volume
Page 1 of 1

Author:  joschka12 [ Tue Mar 03, 2009 9:06 pm ]
Post subject:  Compiling XML2Volume

Hello David,

today I started the attempt to complile XML2Volume (to migrate OgreXMLs to mesh files for PolyVox). I started to create a make file for gnuCC. Analysing the code a bit, I found something missing in the SVN repository. I need to ask your support again.

Where do I find the file: OgrePrerequisites.h

Is this part of OGRE or of PolyVox/Thermite3D ?

Your kind support is very much appreciated
Kind regards

Author:  milliams [ Tue Mar 03, 2009 9:17 pm ]
Post subject:  Re: Compiling XML2Volume

OgrePrerequisites.h is provided by OGRE.

Author:  joschka12 [ Tue Mar 03, 2009 9:19 pm ]
Post subject:  Re: Compiling XML2Volume

I did a little research on the web and found that this are files of OGRE itself. I started to download the SVN repository of OGRE from sourceforge and shall try to continue using the *.h provided in the OGRE source.

Author:  joschka12 [ Tue Mar 03, 2009 9:22 pm ]
Post subject:  Re: Compiling XML2Volume

Milliams, thank you very much, our posts must have met on the line :D. Thank you very much for the confirmation.

Author:  David Williams [ Tue Mar 03, 2009 11:17 pm ]
Post subject:  Re: Compiling XML2Volume

Indeed, the XML2Volume program is dependant on Ogre. However, it's not really maintained anymore because I want to instead create an 'in game' editor - hence I would be quite suprised of the XML converter still works.

However, from your email I guess you are just looking for a way to create volume for testing purposes. As it happens I recently added a Heightfield2Volume converter to the Thermite repository. This is much simpler than the XML converter (it's only about 50 lines of code) and does not require Ogre. It does require Qt, though only for the purposes of reading the heightmap image. You could easily remove this Qt dependancy and just hard-code some height values.

I will release a new version of Thermite very soon (probably this weekend) and will include the heightmap converter in that so don't worry if you can't build it. It will also mean you can test to see if your volume is correct!

Ok, I think I should update the news page with an update so people know what I'm working on. It seems a few people are starting to follow this now...

Author:  joschka12 [ Wed Mar 04, 2009 6:43 am ]
Post subject:  Re: Compiling XML2Volume

Thanks for the reply and the new post, this sounds very encouraging.
To be prepared do we need to download the QT libraries only or the SDK, we are discussing quite a download (I shall definitely not mess around with QT)

Kind regards

P.S: thanks for the spell checker in the forum :-)

Author:  David Williams [ Wed Mar 04, 2009 7:04 pm ]
Post subject:  Re: Compiling XML2Volume

Well for the demo I will release you don't need anything - it will be a prebuilt version of the Thermite which will just run. You only need to get Qt and Ogre if you want to build Thermite from source code.

If you do want to do this (and I don't recommend it as it is a pretty complex process and I need to update the instructions on how it's done) then currently you would need to build Qt from source code. This is because the Qt SDK is a very new concept. The first ever Qt SDK was only released in the last few days! Before that you had to build from source.

Naturally I would like to improve the build system so that the Qt SDK can be used, but this isn't a priority at the moment...

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group