POV-Ray : Newsgroups : moray.win : pov to moray conversions: possible? : Re: pov to moray conversions: possible? Server Time
28 Jul 2024 18:22:25 EDT (-0400)
  Re: pov to moray conversions: possible?  
From: Alex Magidow
Date: 16 Mar 2000 21:31:58
Message: <38D199D0.5289FBD4@mninter.net>
Ken wrote:

> ryan constantine wrote:
> >
> > is there a way to convert pov and inc files into moray?  or is there a
> > utility that allows one to search through pov and inc files for an
> > object and import it into moray?  it seems to me that if moray can go
> > from moray to pov, it should be able to go the other way as well.  does
> > it?  how?
>
>
> To parse a .pov or .inc file would require a scene file parser as powerful
> as the one that POV-Ray itself uses.

Not to volunteer or anything(or that I'd be qualified to do such a thing
anyway), but shouldn't a POV-Ray converter just be based off of POV-Ray's
code, which, since it is open source, could be used for such a purpose(or is
there something against that in the license?). So wouldn't the work just be in
writing the export module with the data already loaded by POV's parser?

> To write such a parser just for
> the benefit of importing .pov files would require an enourmous amount
> of work that no one, so far, is interested in doing.

But it would mean being able to convert .pov files to damn near anything
else(or as many things as you care to write it for), which seems to be a
frequently requested ability. For example, pov2rib, or
pov2anotherfileformatthateasilysupportsmathmaticalprimitiveswithouttesselation?

>
>
> --
> Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
> http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/

--
You Know You've Been Raytracing Too Long When:
  Rather than hang a picture on a nail you just yell at it :
object {
 union {
 object{
 Painting
 }
 object {
 Wall
 }
 }
 And can't figure out why it keeps sliding off.
Produced by Alex Magidow's Sig File Randomizer(YKYBRTTL jokes courtesy of
c.g.r.raytracing)


Post a reply to this message

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