To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.rayOpen lugnet.cad.ray in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Ray-Tracing / 1273
1272  |  1274
Subject: 
Re: Tilting the camera
Newsgroups: 
lugnet.cad.ray
Date: 
Wed, 22 May 2002 01:52:32 GMT
Viewed: 
525 times
  
In lugnet.cad.ray, Lars C. Hassing writes:
I'm adding an option to L3P to specify the skyvector,
-csky<x>,<y>,<z> camera sky vector, default is 0,-1,0
This option is primarily for other programs, that can calculate a vector.

However, I think it would be useful to have a simple option to
specify a sideways tilt of the camera simply in degrees.

So, what is the proper English term for tilting the camera sideways ?
Tilt ? Roll ?

Sproat called it Roll in his tutorial.

  http://www.io.com/~jsproat/temp/Deciphering_L3P_Part_1.html

And should a negative angle be a tilt to the left or to the right ?

Hmmm, according to the picture in the tutorial, this makes the camera
roll to the right:

  #declare ROLL = 30;
  sky      vrotate(-y, z*ROLL)

So I guess a positive angle rolls right (if you use the -y convention).

BTW, what is the term for tilting forward/backward ?

Can you do that with the sky vector, or do you have to do it
with look_at?

Don



Message has 1 Reply:
  Re: Tilting the camera
 
(...) That's what I would call it. (...) Since most people are more familiar with clocks than polar coordinates, it makes sense that positive would rotate the camera clockwise. (Of course, this "rotates" the scene counterclockwise, but hey.) (...) I (...) (22 years ago, 22-May-02, to lugnet.cad.ray)

Message is in Reply To:
  Tilting the camera
 
I'm adding an option to L3P to specify the skyvector, -csky<x>,<y>,<z> camera sky vector, default is 0,-1,0 This option is primarily for other programs, that can calculate a vector. However, I think it would be useful to have a simple option to (...) (22 years ago, 22-May-02, to lugnet.cad.ray)

9 Messages in This Thread:



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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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