A JavaScript .dat to .obj converter, for use online
2012-12-31, 20:42 (This post was last modified: 2012-12-31, 20:42 by Mike "Pomax" Kamermans.)
2012-12-31, 20:42 (This post was last modified: 2012-12-31, 20:42 by Mike "Pomax" Kamermans.)
Hi all,
I wrote a JavaScript .dat to .obj converter for use online with things like cubicvr.js and other WebGL rendering libraries - it's free to use, with the source code on https://github.com/Pomax/WebGLdraw (feel free to fork!)
If you spot anything that can do with improvements (like where to look for parts and subparts, for instance) let me know, or if you'd rather fix the code yourself and do a pull request with your better version: also good!
- Pomax
NB: I found testing the result of the converter easiest by running it through GLSViewer, since I'm on windows (it's a tiny 394kb utility for viewing .obj models)
I wrote a JavaScript .dat to .obj converter for use online with things like cubicvr.js and other WebGL rendering libraries - it's free to use, with the source code on https://github.com/Pomax/WebGLdraw (feel free to fork!)
If you spot anything that can do with improvements (like where to look for parts and subparts, for instance) let me know, or if you'd rather fix the code yourself and do a pull request with your better version: also good!
- Pomax
NB: I found testing the result of the converter easiest by running it through GLSViewer, since I'm on windows (it's a tiny 394kb utility for viewing .obj models)