JOGL Transform FunctionsJOGL transformation is a mechanism that provides special effect to graphical objects. These effects are applied after the creation of an image. Following are the frequently used transformation functions: - glLoadIdentity()
glTranslate()
Here, x,y,z - The x, y, z represents as a coordinate of translation vector. glPushMatrix()
glPopMatrix()
glOrtho() method
Here, l, r - It specify the left and right vertical clipping planes coordinates. b, t - It specify the bottom and top horizontal clipping planes coordinates. nearVal, farVal - It specify the distance to the near and farther depth clipping plane. glViewport()
Here, x, y - Specifies the lower left corner of the viewport rectangle. w, h - Specifies the width and height of the port. Now, we will learn some important transformation functions in detail.
Next TopicJOGL Scaling
|