Brainache
Member
|
Render to texture (for icons, etc)
Hey there,
Is there anything currently setup for rendering a shot of a model (w/attachments) to a gfx? ( ie: render a shot of sword to use as an icon in an inventory system)
Thanks!
|
|
01-12-2009 07:56 PM |
|
craksy
Member
|
Re: Render to texture (for icons, etc)
the icon maker (found in tools) makes icons from mesh files
|
|
01-12-2009 08:15 PM |
|
Brainache
Member
|
Re: Render to texture (for icons, etc)
Cool - I wasnt aware of that.. However, I am looking for a dynamic solution
( For example: To use for creating player icons as well - depending on what EQ that may have equiped)
|
|
01-12-2009 08:28 PM |
|
Esenthel
Administrator
|
Re: Render to texture (for icons, etc)
nice idea,
thanks I'll add it to the list
for now you can use just a simple Renderer.screenShot function, it doesn't provide receiving transparency like the Icon Maker, but I'll add it soon
|
|
01-12-2009 09:54 PM |
|
Esenthel
Administrator
|
Re: Render to texture (for icons, etc)
I've added this functionality, by adding second parameter to Renderer.screenShot function (.. , Bool alpha)
now when alpha=true
image will be saved with alpha channel set to 255 or 0, depending if something was rendered at pixel position or not
this will be available in the next engine version
|
|
01-16-2009 07:22 PM |
|