views:

432

answers:

4

I would like to put a texture on the surface of 3D models. I heard that there is a solution which allows to make it through OpenGL.

+3  A: 

You cannot use OpenGL in Javascript yet.

You may be looking for this.

SLaks
+1  A: 

Take a look at V8-GL - it may be what you're looking for. Here's a good blog about it.

LBushkin
+3  A: 

Check out WebGL.

http://en.wikipedia.org/wiki/WebGL

Ryan McGrath
+1  A: 

There's experimental Canvas3D in Mozilla's Gecko engine. Then there's Google's O3D project, which provides a NSAPI plugin for browsers on various platforms. Opera is also playing with 3D canvas.

There are some attempts at standardization of 3D canvas, but so far I don't think there's any consistent built-in implementation across browsers. If you don't mind having your users install a plugin, I think Google's O3D might be the way to go (NSAPI is a plugin API implemented by most browsers, so...)

Ivan Vučica