DevMaster.net Forums
[[ Home | Forums | 3D Engines Database | Wiki | Articles/Tutorials | Game Dev Jobs | IRC Chat Network | Contact Us ]]

Go Back   DevMaster.net Forums > Programming & Development > Graphics Theory & Programming
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
Old 02-01-2010, 06:46 AM   #1
markjco
New Member
 
Join Date: Feb 2010
Location: manila
Posts: 1
Default rendering image files

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,
markjco is offline   Reply With Quote
Old 02-01-2010, 09:25 AM   #2
Reedbeta
DevMaster Staff
 
Join Date: Oct 2004
Location: Seattle, WA
Posts: 4,015
Default Re: rendering image files

You'll need to use the image as a texture map. If you don't know what texture mapping is, google it. OGRE probably has facilities for this built in already.
___________________________________________
Currently working at Sucker Punch
reedbeta.com - OpenGL demos and other projects
Luabridge - a lightweight, dependency-free C++/Lua binding library.
CD Lite - an unobtrusive, minimal CD player application for Windows.
Reedbeta is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump


All times are GMT -7. The time now is 04:37 AM.


Powered by vBulletin
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.