Rendering a 3D character inside a GUI inventory

Post your questions, suggestions and experiences regarding game design, integration of external libraries here. For irrEdit, irrXML and irrKlang, see the
ambiera forums
Post Reply
Neirdan
Posts: 39
Joined: Tue Aug 14, 2012 10:29 pm

Rendering a 3D character inside a GUI inventory

Post by Neirdan »

Consider we're in a 3D game, like any nowadays RPG
When you open the inventory, I want to display the 3D character model (that you could spin to see your clothes).

How would one proceed to achieve that?

It's quite hard to describe so here's a mockup:

Image
mongoose7
Posts: 1227
Joined: Wed Apr 06, 2011 12:13 pm

Re: Rendering a 3D character inside a GUI inventory

Post by mongoose7 »

Create a scene with the character in it, render the scene to a texture, use the texture on a button, or whatever gui element takes an image. Look at the RTT example.
zerochen
Posts: 273
Joined: Wed Jan 07, 2009 1:17 am
Location: Germany

Re: Rendering a 3D character inside a GUI inventory

Post by zerochen »

hi,

or you can use the buildin meshviewer

http://irrlicht.sourceforge.net/docu/cl ... e406a628e2

regards
zerochen
Post Reply