How do I define and standardize units in my 3D app?
I'm starting to design my object graph for an OpenGL ES 1.1 app on Andr开发者_开发知识库oid.
What's advisable when it comes to actually drawing my triangles and controlling their size? Should I store all the vertices in units relative to each other and then multiply them by a value I pass during a draw(GL10 gl)?
Would this approach have any impact when it comes time to do frustum culling?
When you have full control over all your model/vertice data you shoul try to create each one in the correct size to each other and in relation to your design concept. Thereby you don't need to call any glScale functions which take up processing power. Frustum wise it doesn't make a difference whether you scaled before or not. By scaling you merely modify your modelview matrix.
精彩评论