DSPRelated.com
Forums

Please help: how to project 3D model to 2D image

Started by bstf2ftsb August 27, 2004
Hi folks,

I want to project a 3D solid model (say an animal) to the 2D plane to
obtain the 2D image WITH EDGES. I can do the 3D to 2D projection to
find out the shapes (which is very simple, assume the background is
mono-color, you just threshold). But my problem is that different
parts of the 3D model may overlap and create edges when I project the
model to 2D plane, and I want to find out these internal edges. Would
anybody help me? I'm using OpenGL.

Thanks in advance!

Sandy


Hi Sandy , I guess you need to use Volume rendering for this problem. This basically projects the 3D image to a 2D Plane .The most commonly used algorithm is raycasting where the rays are passed into a 3D Image and at each intersection the opacity and color is computed and at the end of it the final value got used to draw a 2D Image.