I am working on a project where i am required to rotate an object in different directions with the help of mouse movement. I have provided a console where you can draw a 2d image and provide z coordinates of various nodes. And it will generate the 3d image of the same object plus you can scroll the mouse and view the image from all angles.
Now i am wondering is there any method through which we can extract the z coordinates from an image like JPG, so that we can draw its 3D projection.
Comments
What do you mean by extracting z coordinates from a JPG? JPeg images don't have z coordinates. Are you talking about interpreting a channel of the JPG as an elevation map?
: I am working on a project where i am required to rotate an object in
: different directions with the help of mouse movement. I have
: provided a console where you can draw a 2d image and provide z
: coordinates of various nodes. And it will generate the 3d image of
: the same object plus you can scroll the mouse and view the image
: from all angles.
:
: Now i am wondering is there any method through which we can extract
: the z coordinates from an image like JPG, so that we can draw its 3D
: projection.
: