THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/11/2010 at 10:38, xxxxxxxx wrote:
Don't know if this is the best place to post this on the forum, but here goes:
I've finished writing a script that exports Polygon meshes to mr.doob's three.js engine(http://github.com/mrdoob/three.js)
Three.js comes with 3 renderes: CanvasRenderer, SVG Renderer and WebGL renderer.
Obviously, the WebGL is the fastest, but not all browsers support WebGL at the moment.
UV Texturing works well with WebGL Renderer, but it's a bit slow with the Canvas renderer,
which is supported for most browsers. As an alternative for low poly models that work well
with colours as opposed to complicated textures, there's an option.
You could assign Materials to Selection tags and the colors will get exported.
There are few Examples too (http://www.disturbmedia.com/wiki/index.php/C4D_to_three_js.html#Examples)
Big thanks to Sebastian for explaining how to work with Materials and Selections (http://www.py4d.com/forum/?wpforumaction=viewtopic&t=223.0)