Wednesday, October 27, 2010

[android-developers] Re: Problem with OpenGL ES application,please help

Ok.that's a start.....could you tell me what should I do to build the
cubes in one mesh? I have no idea how to do it, I'm not an OpenGL
pro :P If you have any tutorials describing the process, I would be
very grateful ;-)

On Oct 26, 10:44 pm, Leigh McRae <leigh.mc...@lonedwarfgames.com>
wrote:
> - don't use scissor test unless you need it.  Looks like its the whole
> screen size so shut it off.
> - don't create your perspective matrix every frame.
> - I wouldn't use gluLookAt as IIRC it allocates memory.
> - for the ground tiles, try and remove all the translations, scales and
> pops and see if that is the hit
> - you have to glTranslatef calls that could be rolled into one.
> - the cube is just too many draw calls.
>
> The issue is that you are more or less procedurally generating your
> world.  You need the cubes to be built using one mesh instead of 6 (one
> per face).  The ground is pretty much the same problem.
>
> On 10/26/2010 5:01 PM, gambiting wrote:
>
> > Anybody could help please?
>
> --
> Leigh McRaewww.lonedwarfgames.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate