Square BoundingBox with OpenGL JOGL Java
I am new to OpenGL and I am trying to create a project in OpenGL using JOGL.
If you see my image http://imgur.com/DDHoXEz , I have 4 viewports with different projections, but all teapots do not have a "scale", and I want to do something like a bounding box, a square with side 1, containing all the objects in the viewports to make a scale from a square.
Any tips?
source to share
Unless you're going to use the basic teapot model for programs (which you don't need), I don't think this is something to spend your time on. When you start using your own models, you will have direct control over the scale.
I would recommend at this point to learn about the different drawing techniques in OpenGL (e.g. GL_TRIANGLE_FAN
, GL_LINE_LOOP
). Then move on to exploring vertex arrays and maybe write an OBJ importer. I can point you in the right direction if you want.
This is a good place to start working with various painting techniques. Happy coding!
source to share