Page 1 of 1

Rendering a 3D character inside a GUI inventory

Posted: Sun Mar 30, 2014 11:26 am
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

Re: Rendering a 3D character inside a GUI inventory

Posted: Mon Mar 31, 2014 1:45 am
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.

Re: Rendering a 3D character inside a GUI inventory

Posted: Tue Apr 01, 2014 10:46 am
by zerochen
hi,

or you can use the buildin meshviewer

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

regards
zerochen