开发者

OpenGL unit vs natural measuring

开发者 https://www.devze.com 2023-01-22 07:52 出处:网络
Is there any algorithm/formula thatcan help me to figure outnatural dim开发者_如何学运维ensions of a drawn object on OpenGL scene by using orthogonal projection. ?

Is there any algorithm/formula that can help me to figure out natural dim开发者_如何学运维ensions of a drawn object on OpenGL scene by using orthogonal projection. ? For examle: 3 Units = 3milimeters.

Thank you in advance.


The units can be anything and different people will have a different design approach. Some will definitely use metric while others use imperial units, and on top of that there will be many arbitrary ones. You just have to guess from each application separately, what they might be using.


Ask the operating system for its copy of your monitor's EDID information. That should contain the display width and height in centimeters.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号