If I want to construct complex geomtry models out of simple geometry how would I do that?
Posted by ElvJOGL on Feb 13, 2016; 3:04pm
URL: https://forum.jogamp.org/If-I-want-to-construct-complex-geomtry-models-out-of-simple-geometry-how-would-I-do-that-tp4036219.html
Hey,
I have noticed that when one draws a triangle either with shaders or out of vertices in JOGL, the triangle comes out sort of big, and one has to apply scaling to make it smaller.
Isn't there a way where one can take the dimensions of the viewport and build a triangle(s) or a rectangle(s) the size of 50 pixels wide versus a 100 pixels wide triangle or rectangle?
For instance, I dont' want to have to scale down any of the geometry to make them look one bigger or smaller then the next one.
I want the physical distance I have from one vertex to the next to define the shape and size of the geometry. I don't want JOGL to produce that for me. Does this has to do with the perspective matrix?
Any ideas.
Thanks.