开发者

What are the limitations of WebGL and Canvas for html5?

开发者 https://www.devze.com 2023-03-17 04:15 出处:网络
If I wanted to mak开发者_高级运维e a simulated boids experiment in either of the technologies, what limitations would I be under.

If I wanted to mak开发者_高级运维e a simulated boids experiment in either of the technologies, what limitations would I be under.

For example I have a boids simulation working in canvas with 100,000 particles but I am unable to work with a million as the browser crashes. This may be possible in WebGL with hardware acceleration.

So what limitations do these 2 technologies have with complex scenes?


The limitations of the graphics card apply to WebGL as well of course, there is little a browser can do to compensate those. For example, I noticed that WebGL samples with the texture size 4000x4000 don't work with my (on-board) graphics chip. Animating a large number of objects will likely overburden low-end graphics cards as well.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号