|
![](/i/fill.gif) |
POV-Ray doesn't have a background image specifically included in the
SDL. However you can create one with a bit of work:
Set a flat box sufficiently far enough away to be behind all the scene
objects (quite far if you are using any ground planes). Align its
normal to be the camera normal, and compute the width based on the
camera angle and distance from the camera. You'll have to hit up the
docs for info on coding that.
The image map you use should have an ambient of 1, diffuse 0 so it
doesnt interact with the scene lights. Don't forget no_shadow,
no_refletion tags if you need them.
You can define some macros to update the background box automatically
when you change the camera... but I'll let you figure out the code ;)
I'm not sure I quite understand your other criteria...
If you use the alpha channel on your background box texture it should
render the background color behind it, or transparent if you use alpha
output.
By give some data... do you mean that you want the background image to
show up for the entire render dimensions, despite having POV-Ray
actually only render a smaller section of those dimensions? If so, I
don't think that's possible except by rendering in two passes and
combining the images. That's probably not of use to you though since
I'd imagine you'd use that for quick test renders.
Skip
Post a reply to this message
|
![](/i/fill.gif) |