how can get 3D obj file from canvas in webgl?

Aref Hemati picture Aref Hemati · Jan 3, 2015 · Viewed 7.6k times · Source

Some question asked about how can use obj in webgl. But my question is how can get/save/export obj or ply file from content of canvas in webgl?! For example how can I get two objects in obj format in following link? http://learningwebgl.com/lessons/lesson04/index.html

Of course all of my webgl target not is simple such as upper link, and and converting gl code from webgl to opengl is so hard and time consuming.

Then I have to get result object from webgl; but how?

Answer