01-11-2002, 03:59 AM
Hello,
I want to display an object(say a line), to the actual dimensions(say 20mm). How to do that in opengl? Actually if I specify a dimension of 20 in opengl it would display a line 20 pixels long but not 20mm. I know ,for instance, in VC++, I can select a mapping mode(MM_LOMETRIC or MM_HIMETRIC)which sets the coordinate units to mm or even 0.1mm, irrespective of the screen resolution. Does any such thing exist in opengl and if not do you have any solution?
Thanks a lot for your precious help.
I want to display an object(say a line), to the actual dimensions(say 20mm). How to do that in opengl? Actually if I specify a dimension of 20 in opengl it would display a line 20 pixels long but not 20mm. I know ,for instance, in VC++, I can select a mapping mode(MM_LOMETRIC or MM_HIMETRIC)which sets the coordinate units to mm or even 0.1mm, irrespective of the screen resolution. Does any such thing exist in opengl and if not do you have any solution?
Thanks a lot for your precious help.