Here is a section of my pov file showing the splines.
#declare doorspline =
spline {
linear_spline
-1, <-1,0,0>
0, <0,0,0>
3, <3,0,0>
4, <4,90,0>
4.5, <4.5,90,0>
5.5, <5.5,0,0>
8, <8,0,0>
}
#declare screenpositionspline =
spline {
natural_spline
-1, <-1,1350,0>
0, <0,1300,0>
1.5, <1.5,700,0>
3.75, <3.75,12,0>
4, <4,0,0>
4.6, <4.6,-12,0>
6.5, <5.5,-700,0>
8, <8,-1300,0>
8.5, <8,-1350,0>
}
#declare frontshockspline =
spline {
natural_spline
-1, <-1,130,0>
0, <0,130,0>
2.5, <2.5,130,0>
3, <3,120,0>
3.75, <3.75,135,0>
4.6, <4.6,150,0>
6.5, <5.5,145,0>
8, <8,130,0>
8.5, <8,130,0>
}
#declare rearshockspline =
spline {
natural_spline
-1, <-1,130,0>
0, <0,130,0>
2.5, <2.5,140,0>
3, <3,150,0>
3.75, <3.75,125,0>
4.6, <4.6,120,0>
6.5, <5.5,130,0>
8, <8,130,0>
8.5, <8,130,0>
}
#declare doorang=doorspline(clock).y;//0 to 90
#declare steer=0;//-15 TO 15
#declare frontshocklength = frontshockspline(clock).y;//120 to 150
#declare rearshocklength = rearshockspline(clock).y;//120 to 150
#declare screenposition = screenpositionspline(clock).y;//-1300 to 1300
Could not post in the same message. (ftx)
Steve
|