Closed avihaim closed 12 years ago
Can you show what you have so far?
So if I understood well, you want to make a 3d shape from picture and depth map?
This should be similar to creating terrain from a height map like in this example:
http://mrdoob.github.com/three.js/examples/webgl_terrain_dynamic.html
Though this one is maybe a bit overkill for you, if you just need one shot static mesh creation on JS side (instead of continuous mesh changes in shader).
For this there is this terrain example:
http://mrdoob.github.com/three.js/examples/webgl_geometry_terrain.html
And there is also Rutt-Etra-Izer demo by @felixturner which does something similar just with lines instead of mesh:
hi, I vary new in WebGl and in three.js, i try to render basic texture image (face) with a Separate depth Map image (grey scale), like in Surface (mathlab).
Any chance someone can help me and give me some sample who do something similar?
Avi