|
![](/i/fill.gif) |
clipka wrote:
> Of course, virtually every OS provides *some* way of batch processing. However,
> it would be desirable if this could be done in a way that works with all
> platforms on which POV runs.
It would be really cool to integrate this into SDL itself ;)
#declare MY_TEXTURE = scene
{
camera {orthographic ...}
light_source {...}
plane {...}
}
#declare MY_SCENE = scene
{
camera {...}
light_source {...}
sphere {0,1 pigment {image_map "foo.png"}}
}
render
{
scene {MY_TEXTURE}
width 1024
height 1024
output_file_name "foo.png"
}
render
{
scene {MY_SCENE}
width 1024
height 768
output_file_name "myscene.png"
}
This also allows for variables which persist across multiple frames
in animations (done manually using a #while loop). And just imagine
what you can do with macros. Well, better not to hold my breath ;)
Post a reply to this message
|
![](/i/fill.gif) |