3D sphere with texture in Canvas (HTML5)

妖精的绣舞 提交于 2019-12-13 05:16:36

问题


Can we bind texture with Canvas (HTML5) 3D Sphere ?

I am referring to this example - http://www.bitstorm.it/blog/en/2011/05/3d-sphere-html5-canvas/

Thanks,

EDIT :

alternate link -

http://sebleedelisle.com/2011/02/html5-canvas-3d-particles-uniform-distribution/


回答1:


Yes it is possible just like http://www.nihilogic.dk/labs/canvas3dtexture_0.2/ . But if you actually looking for 3d texture you must use WEBGL texture

A nice introduction can be found in Learning WebGL



来源:https://stackoverflow.com/questions/6624597/3d-sphere-with-texture-in-canvas-html5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!