POV-Ray : Newsgroups : povray.animations : Using variable camera angle based on a spline in animation : Using variable camera angle based on a spline in animation Server Time
17 May 2024 03:27:55 EDT (-0400)
  Using variable camera angle based on a spline in animation  
From: RusHHouR
Date: 18 Oct 2007 03:25:00
Message: <web.4717092ad763296647d3ae5e0@news.povray.org>
Hi!

Tried using this setting for camera angle, that varies a bit in the
animation:


#declare vinkel = spline {
   natural_spline
    0.00,   80,
    0.10,   70,
    0.30,   60,
    0.60,   75,
    0.75,   75,
    0.85,   75,
    1.00,   80
}

camera {
  location  kamera(clock)
  look_at   looks(clock)
  right     x*640/360
  angle vinkel(clock)
}

But POV-Ray warns about a "float expected but color or vector expression
found". Any ideas on how I could get the camera to accept these values
would be greatly appreciated!

//Rush


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.