Christopher James Huff wrote:
> In article <web.3fd425569bd6da3dd11b8e040@news.povray.org>,
> "CyberHenke" <hen### [at] swipnetse> wrote:
>
>
>>I am a newbee in gamedevelopment. I want to use PovRAY to model my 3d
>>gameobjekts, and I need a parser to load and parse the PovRAY file. Is
>>there any free parser in C/C++? Any nonfree?
>
>
> First hit on Google:
> http://www.cournia.com/classwork/cpsc805/proj2/
>
> POV2MDL has one:
> http://www.tb-software.com/pov2mdl.txt
>
> There are a few others...but nothing that comes anywhere close to a full
> implementation. To do that, one would have to rewrite most of POV-Ray
> itself.
>
Probably it would be a lot faster to patch POV in order to allow it to
export some sort of binary description of the scene (at least at a
geometrical level) or of a single object (you can always use an union
block to wrap all the geometry of your scene into a single instance).
Given a fixed data format it would be pretty easy for 3rd part
developers to write some sort of conversion utilities. Tessellation
would not be mandatory since a lot of modern 3d program nowadays can
handle "compound objects" such as CSG.
--
Jonathan.
Post a reply to this message
|