2011-11-10から1日間の記事一覧

glDrawElements/gl.drawElementsが(GL_)INVALID_OPERATIONを返す

http://www.opengl.org/sdk/docs/man/xhtml/glDrawElements.xml GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to an enabled array or the element array and the buffer object's data store is currently mapped. という…

デバッグ環境

http://benvanik.github.com/WebGL-Inspector/ UIかっこいい。gl命令のトレース表示、さらに部分実行とかも可能。しかし説明のとおりにやってもfile://URLではうまく行かないので、適当にサーバを立ち上げる必要がある。 サーバ立ち上げてもGLアイコン連打し…

WebGLたのしいよぅ