the ratio of screen pixels and unit length

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

Well it depends on what you call easy :wink:

I’m sorry. Then can you give me a clue about how to get the ratio? Thanks.