Page 1 of 1

Using Normals to calculate depth on mono camera?

Posted: Wed Nov 09, 2011 3:05 pm
by Thenior
I have a thought *smells smoke*

What if you used a single camera lens (mono), in (completely) dark room, with three Red, Green and Blue lights, all positioned equidistant from each other, in a triangle.

Image

Couldn't you use some advanced image processing, and get a 3D model (granted, only on a 2D plane from the perspective of the camera)?

Re: Using Normals to calculate depth on mono camera?

Posted: Wed Nov 09, 2011 7:49 pm
by fliptw
they do that with lasers.

Re: Using Normals to calculate depth on mono camera?

Posted: Sat Nov 12, 2011 1:24 am
by sdfgeoff
Different method with lasers.

yes you could. You could use the image as a normal map straight in a game/model, so they must know about the geometry in some way.

In theory: Yes, it has been done
In practice: No-one has made an exporter from normal maps to real geometry yet.

Re: Using Normals to calculate depth on mono camera?

Posted: Sun Nov 13, 2011 8:46 pm
by Isaac
If you could photograph a normal map, by painting something white then shining the colors on it you MIGHT be able to convert the deformation to mesh. Normally its the other way around, where you export normals from HD mesh.

Find a good way to go for normal maps to mesh and it will work to some degree. You won't get serious depth, but if your objects are kind flat it might work.

You'll also have to do serious edits on the normal map and the 3d model especially if you want to take these shots and convert them into a full 3d model, viewable from all angles.

edit:
If you want to try this with objects you don't want to paint white:
You might be better off shooting in black and white, using one white light.

Example: For a single normal map, with 3 camera shots from the same perspective you could have 3 different lighting directions by moving the light around each time. Then you use this data make a normal map, with each of the 3 shots being converted to the 3 specific colors that normal maps use. I could see that working for a car engine.

This sounds like fun.

edit: edit:
That's what this guy is doing! http://zarria.net/nrmphoto/nrmphoto.html except you want to take it one step further and convert to a mesh object.

Re: Using Normals to calculate depth on mono camera?

Posted: Mon Nov 14, 2011 1:16 pm
by Thenior
sdfgeoff wrote:In practice: No-one has made an exporter from normal maps to real geometry yet.
I think you may be mistaken - Maya converts from Normal Maps to real polygons (geometry).

That being the case, I guess I answered my own question. :oops: