Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate whether or not MOAIGrid can render its quads faster #555

Open
patrickmeehan opened this issue Sep 14, 2012 · 0 comments
Open
Milestone

Comments

@patrickmeehan
Copy link
Member

...

In thinking about this, doesn't seem like we'd get much from it. Each quad is uniquely textured with different UV coords... so we'd lose whatever we save by having to add dummy vertices between quads. All the triangles get batched and drawn in one shot anyway, so it's not clear that this will be any faster. Also, grids don't seem to be a performance bottleneck at the moment.

This is going to require some tweaks to the deck system (or some tricks render state) but could be a big performance boost. Right now grid tiles are rendered using individual triangles. We should be able to speed things up by rendering grids as triangle strips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant