x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

3D character portrait?

Hi!

Currently I'm working on polishing up the HUD for our game, and one thing we wanted to add was a 3d character portrait. Basicly what I have now is a 2d scenecapture component and this kinda works, but I was wondering if there was a way to tell the scenecapture component to only render the character, i.e. have an alpha background behind instead of rending all it can see (now it renders the level behind the character as well).

Is there a way to filter out what a sceneCapture component captures? I tried with advanced flags but this didn't appear to have any effect..

Product Version: UE 4.8
Tags:
more ▼

asked Aug 27 '15 at 06:37 PM in Rendering

avatar image

ZeoZen
27 9 7 10

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hey ZeoZen,

You are on the right track, it is just a matter of what show flags to enable or disable, as well as setting up the view distance correctly.

Use the images below as a guideline for setting up the process on your own end, and let me know if you have any questions. I have highlighted the areas of importance.

Scene Capture 2D Setup

alt text

Character Render Texture

alt text

UMG - Character Image

alt text

As I said, let me know if you have questions about this set up and I will be glad to help :)

Thank you,

Andrew Hurley

more ▼

answered Aug 27 '15 at 09:00 PM

avatar image ZeoZen Aug 29 '15 at 11:13 AM

Hi! thanks for quick reply and help! this is what I'm trying to do indeed, however:

I tried setting it up as you showed and it did not do any difference for me. I tried doing it in a brand new project as well, same result.

What view distance override did for me is simply make the background statics render less, but they're still there.

Maybe I should elaborate on my process: I started by making a child BP of the SceneCapture2D class, set it up like you showed, added that as a component to my character, set up a render target to a material and placed that inside the hud. I dunno why but it seems like there are no difference when I play around with the show flags.

avatar image AndrewHurley Aug 30 '15 at 06:05 PM

Hey ZeoZen,

It appears our steps differ a little bit. Blueprint components are considered dynamic components. As such, just with any other type of component, the properties only appear in the BP Components view. You can't modify them on the instance.

In other words, try going about this differently as the way blueprint components are used this is currently not an option. You can simply go about this within the level blueprint. If you wanted to hard attach the Scene Capture 2D component and use the steps I took, that would work well for keeping it to a per player basis.

Let me know if you have further questions.

Thank you,

Andrew Hurley

avatar image ZeoZen Sep 06 '15 at 12:44 PM

Thanks so much andrew:)

Yes that's what I experienced, that when deriving a component from scene2d to use in my character none of the variables were exposed. I thought that if I first made a child of it and then dragged that into the character the variables would stick but it would appear that they revert to default?

I'll try making it hard attach or figure out a different approach to the ui.

Again thanks for the answer!

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question