happylun / SketchModeling

Source code for the Sketch Modeling project: reconstruct a 3D shape from line drawing sketches.
https://people.cs.umass.edu/~zlun/papers/SketchModeling/
GNU General Public License v3.0
141 stars 49 forks source link

The method of rendering the ground truth of normal/depth map #17

Closed LiuZhenyan-Wuzhong closed 3 years ago

LiuZhenyan-Wuzhong commented 3 years ago

Hello, I have used your TestingData to predict normal/depth maps and fused them together to make mesh model. Absolutely, it works well. Now, I am trying to training the network with my own input and ground truth(normal/depth map). I used blender to render the ground truth, but the result is different with your dataset(as below pictures). What's more, they makes no sense in the fusing part(as below pictures). I'd like to ask you about the method of your rendering the groundtruth. Or can you share me the type or criteria(to some degree, what I mean is the direction of every color meaning) of your normal graph and I am going to map my normal pictures to yours. Extremely thank you!!!

happylun commented 3 years ago

Hi, please see this thread for how the normal/depth information is encoded in the image: https://github.com/happylun/SketchModeling/issues/15#issuecomment-640281599

LiuZhenyan-Wuzhong commented 3 years ago

Your normal map(groundtruth) from nearly top view: dn-256-0 My normal map(groundtruth) from nearly top view: pred-dn14--2

Your normal map(groundtruth) from nearly bottom view: dn-256-2 My normal map(groundtruth) from nearly bottom view: pred-dn14--4

Your normal map(groundtruth) from nearly right side view: dn-256-8 My normal map(groundtruth) from nearly right side view: pred-dn14--10

They look from different type.

LiuZhenyan-Wuzhong commented 3 years ago

Really thank you.