|
![](/i/fill.gif) |
"Shay" <Sha### [at] cc cc> wrote in message news:4706806a$1@news.povray.org...
> Why a name for scene? Is the scene block necessary at all?
I for one would like to be able to define multiple scenes in one POV-file.
A while ago, someone here asked who to make transparant the visually
overlapping parts of specific objects. I offered a solution with
camera_view pigments which worked, but which would be a lot cleaner and
easier if one could define multiple scenes in one file.
That's just one example. Another, probably more frequently used example
might be to define layers of scenes, like a HUD, or static background. Or
maybe lensflares. That would all be much easier if you could tell POV-Ray
to render one scene on top of another, or using one scene as background for
another.
cu!
--
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x) // ZK http://www.povplace.com
Post a reply to this message
|
![](/i/fill.gif) |