PDA

View Full Version : gluPerspective...?



AsylumX
05-21-2002, 04:18 PM
Hey guys, I've got another problem.

It seems that my code works fine when using glOrtho(...) but if I change it to gluPerspective, I get nothing but the clear color. I don't really have a good source to learn the ins and outs of gluPerspective from, so I was wondering if any of you have either stumbled across this problem, or if you have some other ideas... I can post my code if necessary but I'm thinking it's not a code problem, just a lack of comprehension on my part! Any help would be greatly appreciated.

chowe6685
05-21-2002, 04:28 PM
try moving everything backward ie
glTranslatef(0,0,-8);
or more

AsylumX
05-21-2002, 04:32 PM
hey, that works... Pardon me for being new! Actually I just stumbled across that right as you replied. Thanks!