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"

Filling gaps in mesh after applying opacity mask

Hello guys, I want to slice a mesh object dynamically. I got location based opacity (with this tutorial) and now I need to make more complex feature: fill holes (gaps) after masking. I'm stuck with it and need your help.

I tried to show what exactly I want on screenshots below (red lines show area which I want to fill with material):

alt textalt textalt text

I would be grateful for any advice.

Product Version: UE 4.8
Tags:
more ▼

asked Aug 30 '15 at 10:02 PM in Rendering

avatar image

Acrossfy
422 14 32 164

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

2 answers: sort voted first

Trouble with what you are trying to do is that there isn't any actual geometry to fill in with material information. What you could try doing is, instead of passing the mask to opacity, pass it to world position offset and offset those vertices by a vector. This wont work for slicing but if your just shortening or lengthening.

A much more complex solution would involve some kind of parallax occlusion "like" mapping but I wouldn't have any clue how to implement that.

Though I just saw in the 4.9 release notes an experimental "Volume Decal" that would work but epic says is very GPU expensive.

Otherwise a geometric solution would be to modify the underlying mesh at runtime using the custom mesh component: https://docs.unrealengine.com/latest/INT/BlueprintAPI/Components/CustomMesh/index.html

or procedural mesh component: https://docs.unrealengine.com/latest/INT/BlueprintAPI/Components/ProceduralMesh/index.html

more ▼

answered Aug 31 '15 at 01:49 AM

avatar image

ImmortalEmperor
115 5 5 8

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

I need an input on this as well. However my application of the mask is slightly different. I am slicing two planes that are parallel to each other and has a gap so it practically is a wall. After applying the opacity mask, I can see the gap.

more ▼

answered Aug 18 '16 at 08:04 PM

avatar image

Naocan
26 2 6 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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