PDA

View Full Version : stupid question



mochi
07-26-2001, 06:31 AM
Hi ...
I'm currently coding on hp-ux ...
and needs to draw a 2D polygon with points
that are between -2 to 2 ...
some points have values like 0.02
basically ... it's a small area
but when i use glscalef to zoom in like 1000 times ... I still cannot see any images ...
anyone have any idea why???

thanks a brunch!

Deiussum
07-26-2001, 07:24 AM
There are any number of things you could be doing wrong. For one thing, if you only set your projection matrix to show the area between -2 and 2, then scale everything by 1000, I can easily imagine your vertices going out of the viewing area.

Post some code for how you setup your projection matrix as well as how you draw your scene and maybe we can explain what you are doing wrong.