|
|
How's this:
#declare Spline =
spline {
cubic_spline
SplineAutoT(array[7*2]{
(SCP( 0.0, <0,1,2>))
(SCP( x, <1,5,0>))
(SCP( x, <4,1,0>))
(SCP( 0.9, <0,2,1>))
(SCP( 1.0, <0,0,1>))
(SCP( x, <6,5,4>))
(SCP( 2.0, <4,3,2>))
})
}
Note that the extra parentheses are necessary as macros can't be called
directly in arrays without them.
Rune
--
3D images and anims, include files, tutorials and more:
Rune's World: http://rsj.mobilixnet.dk (updated Feb 16)
POV-Ray Users: http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk
Post a reply to this message
|
|