![]() ![]() When you're sure matrices are all fine and OpenGL states are properly initialized, draw a wired cube in the place the model should be using bounding box and check the box is visible. ![]() If you still have trouble getting the model visible to screen, follow Hello World tutorial with your model to make sure there's not problem with it. The framework provide all the utilities to set everything properly, some tutorials show how to do that without the framework.ġ) Example of viewport matrix setup: in onSurfaceChanged method of BeStandaloneTutorial.java.Ģ) Example of modelview matrix setup: in onDrawFrame method of BeStandaloneTutorial.java.ģ) The projection can be setup using gluPerspective. In most cases this issues comes with a bad setup of OpenGL matrices (viewport, project and modelview). This is a common issue who most beginner have. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |