Posts: 12
Joined: 2003.02
Post: #1
I am having a lot of trouble with the gluPerspective() function. For some reason even though i can rotate an object nice and smoothly. If i even use the same variable to move it back it just disappears even after one unit. i guess the clipping plane or whatever is off. but i think i did it right. any ideas.


fAspect is window width/height

laziness,impatience, and hubris
Quote this message in a reply
Post: #2
I think I have answered this question already in another thread. But since I am here I will answer it. You are not translating the object far enough away from the clipping plane if you're trying to rotate it on X or Y. If you are talking about moving the or translating the object on x,y,z you need to increment the keyboard input by a smaller number. Start with that....
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Small error with glViewport and gluPerspective? cjcaufield 1 4,729 Sep 20, 2009 01:10 AM
Last Post: DoG
  picking glOrtho vs gluPerspective rhiannon 0 4,860 Jun 6, 2005 02:20 PM
Last Post: rhiannon
  gluPerspective() after glOrtho tmgergo 2 6,587 Nov 19, 2004 07:58 AM
Last Post: ThemsAllTook
  glOrtho versus gluPerspective and glPixels... WhatMeWorry 9 9,934 Aug 5, 2004 01:44 AM
Last Post: NCarter
  gluPerspective and it's #'s LongJumper 15 7,155 Oct 27, 2003 12:22 AM
Last Post: LongJumper