Rendering image files


How do you render and draw in an OpenGL environment an picture/photo from an image file say jpeg or png?

My project involves rendering a 3d model of a heart but it is just a small part so I am opting for a much easier and faster way rather than programming the model itself because that will take a long time. Do you guys have any suggestions?

I can also use a 3d graphics library like ogre, what do you suggest?

Thanks guys!


Just map the picture as texture to a quad :wink:

Thank you:) after rendering the picture and displaying it as a 3d object, how can you have a 3d feel of the object? Do you get the points in the z axis? something like that… :slight_smile: