3D Coordinate System help.

Started by
9 comments, last by webmastermattd 20 years, 6 months ago
quote:Original post by webmastermattd
Getting the thread back on track (if anyone still wants to answer the anonymous poster then feel free) I am now stuck with a desire to size basic geometric objects (square / cube) in terms of pixel dimensions. Is there an openGL to do this?

A workaround that I have come up with is to get the distance between two points in openGL space that correspond to the same distance in terms of pixels and work with that, but it seems a bit or a work around in order to do it.

Later,
WebmasterMattD
http://www.webmastermattd.net


Why doth thou try to criticise me?
Doth thou not trust thine judgement?
Thou will only find clarity through faith,
of which faith is the extension of knowledge.
For if thou only knew what I knew,
thou would not have a single fear in the world.


If you change your camera position your objects become greater or smaller...perhaps you should use an orthographic projection (gluOrtho2D()); so you can work directly in windows (client) coordinates.
But i have not understood exactly what you need...

This topic is closed to new replies.

Advertisement