About Store Forum Documentation Contact



Post Reply 
Chr Portrait and Character Preview
Author Message
SamNainocard Offline
Member

Post: #1
Chr Portrait and Character Preview
I currently figuring how to make Character Portrait and Character Preview. (Like this picture from WoW)

   

I currently used Image for Portrait and Viewport for Character Preview.

For portrait (white), I could manually screen-shot and then draw the image, but if I change the equipment (helmet) the portrait will remain same. How can I update it to match current equipment?

For Character Preview (red), I just don't have any idea other than create another character with same equipment and render it to viewport (but I have to create character where it cannot be reached).
I've try to create another camera for this viewport and follow the character and only draw character, but the problem is, character's animation will be played here. (If it's walking the it's walking, I just want it to stand still playing stand animation.)

Can anyone giving me a hint or any EE tutorial to see with?
(This post was last modified: 09-26-2011 10:33 AM by SamNainocard.)
09-26-2011 10:32 AM
Find all posts by this user Quote this message in a reply
dylantan Offline
Member

Post: #2
RE: Chr Portrait and Character Preview
I am interested to find out as well, as we have similar issue with you
09-27-2011 07:38 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Rabishan Offline
Member

Post: #3
RE: Chr Portrait and Character Preview
i don't know if you want something similar. but you can see the following link if you like.

http://www.esenthel.com/community/showth...0#pid27940
09-27-2011 08:29 AM
Find all posts by this user Quote this message in a reply
Dwight Offline
Member

Post: #4
RE: Chr Portrait and Character Preview
Just make a lot of small images from the character head + headgear and set a switch statement for every single helmet?

SnowCloud Entertainment - We are recruiting!
http://www.sc-entertainment.com
09-27-2011 08:44 AM
Find all posts by this user Quote this message in a reply
SamNainocard Offline
Member

Post: #5
RE: Chr Portrait and Character Preview
Making a lot of small images for portrait might be tiresome (I guess), is there a way to make the engine create a screenshot of character when change an equipment and then load that file with specified pixel?

Drawing meshes only in Chr Screen? I'll try soon, thanks for the link.
09-28-2011 05:43 AM
Find all posts by this user Quote this message in a reply
fatcoder Offline
Member

Post: #6
RE: Chr Portrait and Character Preview
The best way would be to render to a texture and display it in a viewport. Take a look at tutorial 6 - Viewport and tutorial 31 - Render to Texture in the Rendering folder.
09-28-2011 09:42 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #7
RE: Chr Portrait and Character Preview
no need to use Render to texture
use Renderer.combine and render directly to the screen (set custom viewport before that)
there is tutorial with 'combine'
09-28-2011 11:28 AM
Find all posts by this user Quote this message in a reply
Post Reply