"Revenant" <hao### [at] yahoofr> wrote:
> I am beginner in Povray. I use LaTeX for producing my documents.
> My questions are :
> 1. Is there any way to render povray scene in svg ?
POV-Ray scenes are rendered by the rendering engine as a graphic file - bmp,
gif, jpg, png, etc.
SVG is more of a "shape-description file" that software such as a browser uses
to display the interpreted information --- much like POV-Ray has the SDL file
which is used to generate the raytraced image.
You can do something like use the #read directive to see what's in the SVG file
and sort of write your own parser to then build a scene using the mathematical
"primitives" that POV-Ray uses to raytrace a scene,
or in the other direction,
You can write SDL which will write a rough-equivalent shape to an SVG file that
can be displayed by other software.
The latter has been done before, though not exhaustively.
> 2. Like Asymptote why don't provide povray package for LaTex, that will be help
> to promote povray.
As clipka is fond of saying - there are 1000 things that _could_ be done -
however POV-Ray is free, and the dev team has their hands full doing what they
have decided are the most productive things.
I'm not exactly sure what it is that you're looking for, but perhaps this will
start you off in the right direction:
Post a reply to this message