|
|
slinky <gwj### [at] uiucedu> wrote:
> I could perhaps reuse their code.
Note that the usage license allows this only if you do it for a personal
project which you will not be distributing to anyone. If you are going to
distribute that program of yours, then you can not directly take code from
the POV-Ray source code to your program.
If what you want is to simply have any means to convert a .pov file
to another format, one idea which has been floating around for many
years is to make a patch for povray which, after the parsing has finished,
writes the created objects to that other format. (Of course this assumes
that you don't need to *tesselate* the objects, which in itself would be
a next-to-impossible task in the general case.) One more specific idea
which has been floating around is to make a pov-to-moray converter like
this (because moray supports most of the primitives without any need for
tesselation).
Several attempts have been made to create independent, third-party
parsing libraries for the .pov format. AFAIK none of them have ever
reached a perfect state (ie. can parse and interpret *any* .pov file)
although there exist some good attempts.
--
- Warp
Post a reply to this message
|
|