PDA

View Full Version : Rendering image files



markjco
02-01-2010, 07:23 AM
Hi,

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!

Regards,

DarkShadow44
02-01-2010, 12:20 PM
Just map the picture as texture to a quad ;)

markjco
02-01-2010, 10:20 PM
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... :)