![]() |
| [[ Home | Forums | 3D Engines Database | Wiki | Articles/Tutorials | Game Dev Jobs | IRC Chat Network | Contact Us ]] |
|
|
#1 |
|
New Member
Join Date: Feb 2010
Location: manila
Posts: 1
|
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, |
|
|
|
|
|
#2 |
|
DevMaster Staff
Join Date: Oct 2004
Location: Seattle, WA
Posts: 4,015
|
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. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|