About Store Forum Documentation Contact
Donations:
188$/mo



Post Reply 
Render to texture (for icons, etc)
Author Message
Brainache Offline
Member

Post: #1
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
Find all posts by this user Quote this message in a reply
craksy Offline
Member

Post: #2
Re: Render to texture (for icons, etc)
the icon maker (found in tools) makes icons from mesh files
01-12-2009 08:15 PM
Find all posts by this user Quote this message in a reply
Brainache Offline
Member

Post: #3
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
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
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
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #5
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
Find all posts by this user Quote this message in a reply
Post Reply