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"

Display occluded and unoccluded areas in Real Time

Good morning,

I've been doing some research into occluded areas in Unreal Engine 4, mainly by reading through some of the Blueprint nodes in the official documentation and in this article by Tim Hobson (http://timhobsonue4.snappages.com/culling-visibilityculling.htm). My main goal is to create a blueprint that we can use to show occluded and unoccluded areas from a camera´s point of view.

Take this image as an example (http://cdn.snappages.com/t02va2/assets/2687194_2906689_1464151687.png) In green you can see what is being rendered within the camera's FOV, and in red those things that are not rendered even though they are within the same limits. What I would like to create is that same effect in real time in Unreal.

So far, I'm aware that we could use the "Get Camera View" node to see what the camera sees. But how can we paint - in green, for example - whatever is inside the FOV and red for what's outside? Maybe through a post process effect?

Something important as well would be to be able to paint exactly what the camera sees, and not the whole object in situations when you can only see a part of that object.

I know this might be complex, but it's something that I think can be pretty cool, and at the moment I'm not very sure how to continue with this. Any ideas?

Thanks for your time to read this!

Product Version: UE 4.15
Tags:
more ▼

asked Feb 16 '17 at 12:30 PM in Blueprint Scripting

avatar image

braisbr1
21 3 5 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
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