|
|
I have a question about scaling objects on one axis only. I exported an
object from 3D Studio into a set of smooth triangles:
// Triangles for object 'Moldg_ceilling' (97 triangles)
object {
union { // Surface 'Moldg'
smooth_triangle { < -7086.61, 11811, 8267.72 >, < 1, 0, 0 >, < -7086.61,
11771.7, 8267.72 >, < 1, 0, 0 >, < -7086.61, 11811, -7086.61 >, < 1, 0, 0 >
}
smooth_triangle { < -7086.61, 11771.7, 8267.72 >, < 1, 0, 0 >, < -7086.61,
11771.7, -7086.61 >, < 1, 0, 0 >, < -7086.61, 11811, -7086.61 >, < 1, 0, 0
> }
smooth_triangle { < -7086.61, 11811, -7086.61 >, < 0, 0, 1 >, < -7086.61,
11771.7, -7086.61 >, < 0, 0, 1 >, < 8267.72, 11811, -7086.61 >, < 0, 0, 1 >
}
....
What I'd like to do is make this object scale along the Y axis only as part
of an animation. The problem is that the transform commands only offer
scale as a multiplier rather than a vector. I need to be able to do
something like this:
scale <1,1*animscale,1>
Another approach to the problem could be to define a variable shape and then
control the extrusion of that shape with an animation variable. Does anyone
know if and how either of these approaches can this be done with Pov-Ray?
Thanks,
Ron.
Post a reply to this message
|
|