FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   moving the cameras perspective or something:)
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: moving the cameras perspective or something:)  (Read 326 times)
edwardgeorge

WWW
moving the cameras perspective or something:)
« on: Jul 9th, 2003, 4:39pm »

Basically what i want to do is to move the focal point of the camera (vanishing point) over to the side.
 
This is because i want one half of the screen to contain GUI elements and information and the other half to contain the 3d objects (with the focal point in the centre of that area)
 
How would i acheive this, the focal point always seems to be in the centre of the screen?
 
I did try using the lookat command, changing the first argument to width/3*2 to move the focal point to 2/3rds of the way in horizontally. This half worked, problem was the horizontal lines ceased to be horizontal because i beleive the camera is looking across at an angle. moving the camera across obviosuly then moves everything back to the centre of the screen.
 
Hope this makes sense, Can anyone help?
 

Ed, Suppose, Nottingham, UK
http://www.suppose.co.uk
http://ed.suppose.co.uk
Pages: 1 

« Previous topic | Next topic »