POV-Ray : Newsgroups : povray.general : Parser in C/C++ for PovRay Server Time
2 Nov 2024 17:17:38 EDT (-0400)
  Parser in C/C++ for PovRay (Message 1 to 5 of 5)  
From: CyberHenke
Subject: Parser in C/C++ for PovRay
Date: 8 Dec 2003 02:20:01
Message: <web.3fd425569bd6da3dd11b8e040@news.povray.org>
Hello

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?

Best regards

Henrik Teinelund


Post a reply to this message

From: Christopher James Huff
Subject: Re: Parser in C/C++ for PovRay
Date: 8 Dec 2003 10:20:11
Message: <cjameshuff-B671F4.10195708122003@netplex.aussie.org>
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.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: Andrew
Subject: Re: Parser in C/C++ for PovRay
Date: 8 Dec 2003 13:26:28
Message: <3fd4c254$1@news.povray.org>
> Hello
>
> 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?
>
> Best regards
>
> Henrik Teinelund



http://tag.povray.org/povQandT/filesQandT.html#povtootherformatsdifficulty
(especially the penultimate paragraph)

I would suggest a re-think if you're after triangle meshes
as the end result.  Blender is an example of an open-source
program which would probably suit your requirements.  And
there's probably many more - that's just the first one that
sprang to mind.


Post a reply to this message

From: JRG
Subject: Re: Parser in C/C++ for PovRay
Date: 8 Dec 2003 18:06:07
Message: <3fd503df@news.povray.org>
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

From: Martin
Subject: Re: Parser in C/C++ for PovRay
Date: 8 Dec 2003 20:50:06
Message: <3fd52a4e@news.povray.org>
gmax.

Andrew wrote:
>>Hello
>>
>>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?
>>
>>Best regards
>>
>>Henrik Teinelund
> 
> 
> 
> 
> http://tag.povray.org/povQandT/filesQandT.html#povtootherformatsdifficulty
> (especially the penultimate paragraph)
> 
> I would suggest a re-think if you're after triangle meshes
> as the end result.  Blender is an example of an open-source
> program which would probably suit your requirements.  And
> there's probably many more - that's just the first one that
> sprang to mind.
> 
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.