To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 6422
6421  |  6423
Subject: 
Re: The first video showing a datsville building
Newsgroups: 
lugnet.cad
Date: 
Tue, 4 Sep 2001 22:49:56 GMT
Viewed: 
2805 times
  
Michael Horvath wrote...
> I would probably enter the slope/angle information into POVray code that
> resembles something more like this:
> 
> 
> camera
> {
> location <1.250000, 6.986278, 4.250000>
> direction <-0.28939780593, -0.00816663355, -0.95717394352>
> up <0.08487440867, 0.99580411355, -0.03415767338>
> right <-0.96375234144, 0.09211064543, 0.29060086839>
> angle 50.000
> }
> 
> This orientation would remain constant if a camera were moving (I.E. a
> camera mounted to the dashboard of an automobile, or, reversely, the
> headlights on an automobile.  If you used camera_lookat, then the camera
> would remain fixed to the object it is looking at, while it would be, in
> actuality, rotating within its location in a moving object.
> 
> Keeping the angle constant while keeping the "lookat" variable would ensure
> that the camera (or light) would remain fixed relative to the moving object
> it is mounted to.

If you want to use a fixed viewing direction while moving the camera location,
you can use PovRays built-in vector arithmetic:
#declare LOCA  = <53,-11,-41>;
#declare DIREC = <-42,34,42>;
camera {
   location LOCA
   sky      -y
   right    -4/3*x
   look_at  LOCA + DIREC
   angle    67.3801
}
/Lars



Message is in Reply To:
  Re: The first video showing a datsville building
 
Thank you for replying. I would probably enter the slope/angle information into POVray code that resembles something more like this: camera { location <1.250000, 6.986278, 4.250000> direction <-0.28939780593, -0.00816663355, -0.95717394352> up (...) (25 years ago, 4-Sep-01, to lugnet.cad)

14 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR