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

Faster rendering (WebGL?) #7

Open
jpittis opened this issue Mar 31, 2015 · 5 comments
Open

Faster rendering (WebGL?) #7

jpittis opened this issue Mar 31, 2015 · 5 comments

Comments

@jpittis
Copy link
Contributor

jpittis commented Mar 31, 2015

Reminder to speed up rendering by using the technique that one guy suggested.

@mystor
Copy link
Member

mystor commented Mar 31, 2015

Using webgl could also greatly improve the speed, as well as moving away
from the manual pixel-by-pixel blitting method used by Max's code.

On Mon, Mar 30, 2015 at 11:27 PM, Jake Pittis [email protected]
wrote:

Reminder to speed up rendering by using the technique that one guy
suggested.


Reply to this email directly or view it on GitHub
#7.

@jpittis
Copy link
Contributor Author

jpittis commented Mar 31, 2015

Would we have browser compatibility issues?

@mystor
Copy link
Member

mystor commented Mar 31, 2015

Browser support is pretty good for webgl. I'm not sure how cross-browser our current code is tbh, not really something I thought about at the hackathon: http://caniuse.com/#feat=webgl

@jpittis jpittis changed the title Faster rendering (multiple canvas layers) Faster rendering (WebGL?) Mar 31, 2015
@epilk
Copy link
Contributor

epilk commented Mar 31, 2015

hmmm... well let's try the overlapping canvas thing and reassess performance before we start thinking about throwing out the cuurrent implementation and starting over.

@MaxBittker
Copy link
Contributor

I can for for sure figure out a smarter way to draw the dug/undug layer. Also I'll try drawing ants as images instead of as pixel arrays! Current performance is unacceptable to be honest, we want users to be able to test their bots at x10 speed in an ideal world

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

No branches or pull requests

4 participants