PDA

View Full Version : the ratio of screen pixels and unit length



jyoung77
04-26-2005, 02:46 PM
Hi,

Is there an easy way to know the ratio of screen pixels and unit length based on the current projection and modelview matrices (i.e. how many pixels in a unit lenght, say .01)? Thanks for your help.

Tony

UrbanLegend
04-26-2005, 02:51 PM
Well it depends on what you call easy ;)

jyoung77
04-26-2005, 03:52 PM
I'm sorry. Then can you give me a clue about how to get the ratio? Thanks.