-1

in c# how to convert one 2D image to 3D image with dimension? Like this http://thorrdynamics.com/images/cam_print.jpg in left side to 3D model in right side. Its possible? Thx for any help

HelloGoodbye
  • 3,624
  • 8
  • 42
  • 57
ms_devel
  • 502
  • 1
  • 10
  • 27
  • I think in your picture. It takes 3d model and renders it as 2D. – Euphoric Feb 20 '11 at 16:42
  • Thats a simple CAD drawing which is 2d to begin with. It looks 3D but it isn't it's just done in isometric mode. – Dustin Davis Feb 20 '11 at 18:57
  • I closed this because your link is broken, and your question has lost all context. To re-open, just upload the images here. In the future, please try to avoid asking questions that depend on external links to make sense. – Tim Post Jul 30 '11 at 18:35

1 Answers1

4

In general, no. You can't take a 2D image, "add a dimension," and display a projection of the resulting object. With just an image, you don't have enough information to say what the object actually looks like. In order to display a projection of a 3D object, you need to know all the vertices that make up the object (the [x,y,z] coordinates of a box's corners, for example) and information that says how those vertices are connected to each other (the edges). With that information, you can create a projection of the object from any angle, although doing so is non-trivial.

Look into Wireframe models and 3D modeling for more information.

Jim Mischel
  • 131,090
  • 20
  • 188
  • 351
  • 1
    However, if you have many images from multiple angles, some programs can approximate the actual 3D shape quite well. See [photosynth](http://photosynth.net/) – Dave O. Feb 20 '11 at 15:33