|
![](/i/fill.gif) |
I wasn't too clear headed about this last reply so I went about trying this
out and although I got it all into a single animation there's still a
problem, namely the render resolution. Without the ini_option feature, as
found in MegaPOV, I couldn't have image size change to accomodate the final
image collection.
I'm posting what I tried anyhow, just in case you find a way around that.
Such as doing two runs instead of one.
/* example scene "seen" on all sides */
//cmd:+fn +w300 +h300 +kfi1 +kff7 +ki1 +kf7 +oC:\images\image
global_settings {
max_trace_level 7
}
// ----------------------------------------
camera {
#if (frame_number=7)
orthographic
#end
location <0, 0, 0>
#if (frame_number=7)
right x*4
up y*3
#else
right x
angle 90
#end
look_at <0, 0, 1>
#switch (frame_number)
#case (1)
rotate -90*x
#break
#case (2)
rotate 0*x
#break
#case (3)
rotate <0,90,0>
#break
#case (4)
rotate <0,180,0>
#break
#case (5)
rotate <0,-90,0>
#break
#case (6)
rotate 90*x
#break
#case (7)
rotate 0*x
#break
#end
}
// ----------------------------------------
#if (frame_number!=7)
// regular part of scene
light_source {
0,1
}
intersection {
plane {
y, 1
pigment { color rgb <1,0,0> }
}
plane {
-y, 1
pigment { color rgb <1,1,0> }
}
plane {
x, 1
pigment { color rgb <1,0,1> }
}
plane {
-x, 1
pigment { color rgb <0,1,0> }
}
plane {
z, 1
pigment { color rgb <0,1,1> }
}
plane {
-z, 1
pigment { color rgb <0,0,1> }
}
}
#else
// image collection part of scene
plane {
z, 1
texture {
pigment {
image_map {
png "image1.png" once
}
translate <-2,0.5,0>
}
finish {ambient 1 diffuse 0}
}
texture {
pigment {
image_map {
png "image2.png" once
}
translate <-2,-0.5,0>
}
finish {ambient 1 diffuse 0}
}
texture {
pigment {
image_map {
png "image3.png" once
}
translate <-1,-0.5,0>
}
finish {ambient 1 diffuse 0}
}
texture {
pigment {
image_map {
png "image4.png" once
}
translate <0,-0.5,0>
}
finish {ambient 1 diffuse 0}
}
texture {
pigment {
image_map {
png "image5.png" once
}
translate <1,-0.5,0>
}
finish {ambient 1 diffuse 0}
}
texture {
pigment {
image_map {
png "image6.png" once
}
translate <-2,-1.5,0>
}
finish {ambient 1 diffuse 0}
}
}
#end
Post a reply to this message
|
![](/i/fill.gif) |