i would like to know number of pixel / 1 length on opengl
i would like to know length of line(in pixel) of this polygon.
Well... There is one problem with this... there really isn''t a fixed size for that so called "1 length" it really depends on the screen resolution you are using... However you can calculate it by retrieving the Perspective Matrix that OpenGL uses and perform some math on that... there is one other thing though... the z-depth is also a factor for the length of the line...
Fortunately OpenGL supports a mechanism for you to create a so called Orthographic matrix... which you can give your own coordinate system, then map the textured quads on it and it will work in every thinkable way. (So just set up an Orthographic Perspective Matrix in OpenGL)
I hope this was of any help... however if you remain really stuck with the problem contact me:
ICQ 130925152 Email email@example.com or firstname.lastname@example.org