Posted on 2008-02-16 21:06:44-08 by grafman in response to 5552
Re: HELP!!! Simple glOrtho problem!

Just noticed this message...

The issue is your glOrtho setting. Since your viewpoint is at 0/0/0, part of the line is behind you. Try using glOrtho(0.f, 1.f, 0.f, 1.f, -1.f, 0.f);

Note - this is a Perl forum, and your example is in C - a better to way to reach me is via my POGL site.

You can also find great tutorials at NeHe

Good luck!

Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.