|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I am using splines to position a camera and got an unexpected result. How can I
output the value of the spline (at a clock value) to #debug.
#declare Cam_Pos =
spline {
quadratic_spline
0.00, <0.894, -1.569, 2.334>
0.25, <2.939, -0.06, 2.035>
0.75, <2.939, -0.06, 2.035>
1.00, <3.061, -1.763, 2.335>
}
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3ee711f0.272076505@news.povray.org>,
mca### [at] aolcom (S McAvoy) wrote:
> I am using splines to position a camera and got an unexpected result. How can
> I output the value of the spline (at a clock value) to #debug.
>
> #declare Cam_Pos =
> spline {
> quadratic_spline
> 0.00, <0.894, -1.569, 2.334>
> 0.25, <2.939, -0.06, 2.035>
> 0.75, <2.939, -0.06, 2.035>
> 1.00, <3.061, -1.763, 2.335>
> }
#debug VStr(Cam_Pos(clock))
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <cja### [at] netplexaussieorg>,
Christopher James Huff <cja### [at] earthlinknet> wrote:
> #debug VStr(Cam_Pos(clock))
Forgot something: you have to #include "strings.inc" first. Or you could
use the built-in str() function and do what VStr() does, but it's more
work.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Wed, 11 Jun 2003 06:57:29 -0500, Christopher James Huff
<cja### [at] earthlinknet> wrote:
>> #debug VStr(Cam_Pos(clock))
>
>Forgot something: you have to #include "strings.inc" first. Or you could
>use the built-in str() function and do what VStr() does, but it's more
>work.
>
Thanks Christopher,
That looks just the thing.
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|