getting the perspective i want

Posts: 1,403
Joined: 2005.07
Post: #16
dave05 Wrote:1. should my eye location be at or before znear? since my znear is 10, I'm thinking maybe eye_pos = {0,0,0} (wouldn't the area of the FOV at 0 distance from the "eye" be 0?)

The eye can be anywhere, zNear is the distance from the camera clipping will take place.

dave05 Wrote:3. should centre be the centre of the BACK of my scene? or somewhat closer than that? Right now I'm gonna test using the above settings and centre = {0,0,1000}
whatever you point at, the distance wont make a difference because the direction its pointing in is normalised.

dave05 Wrote:
Are you meaning to draw the UI with the camera in a perspective projection and not an orthographic one?

Sir, e^iπ + 1 = 0, hence God exists; reply!
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  OpenGL Perspective Screen to Obj Coordinates Mapping Question WhatMeWorry 5 12,682 Feb 17, 2011 05:40 PM
Last Post: Holmes
  Perspective View Question, (GL_PROJECTION Matrix), and GUI hangt5 3 6,806 Sep 11, 2005 11:17 PM
Last Post: hangt5
  dim3 Perspective - How does Quake/UT do it? ggadwa 3 4,222 Jun 16, 2005 08:26 AM
Last Post: PAD Games
  2D to 3D and back (Ortho and Perspective) Phate 5 7,567 Nov 30, 2003 10:56 AM
Last Post: AnotherJake
  OpenGL - mixing perspective & orthographic projections mars 5 10,231 Jul 2, 2003 06:34 PM
Last Post: Iceman