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"

Render only silhouette of mesh

Hello, i was wondering how could one render a dynamic mesh where it shows only it's silhouette/borders/edges? something like this

alt text

you can see the mesh has only it's borders with no fill, how could i achieve that?. I need to achieve this for mobile and only basic polygonal meshes ( no more than 6 sides )

PS: I'm using 4.7.2

Product Version: Not Selected
Tags:
cb.png (3.0 kB)
more ▼

asked Mar 11 '15 at 04:54 AM in Rendering

avatar image

DylanVelez
198 38 36 43

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

1 answer: sort voted first

This would be called wireframe rendering. Unfortunately, you can't just take a regular mesh in UE4 and render it in wireframe to achieve the result you want -- it will look like this:

alt text

Instead, you'll have to do something else. The easiest (but not truly wireframe) method would be to create a texture with a white border around the edges, and transparent in the middle. Another but more difficult way would be load custom point data into UE4 and then render connected lines between the points. You'll have to write some code for that.

more ▼

answered Mar 11 '15 at 05:03 AM

avatar image

cancel
2.4k 101 72 124

avatar image cancel Mar 11 '15 at 05:04 AM

Oh, I should add one more thing: if you don't need to render it in the scene with proper sorting, you could just draw a wireframe cube using the HUD canvas drawing primitives, either in Blueprint or C++. You'll have to draw it yourself (there's no cube drawing helper) but it's not that hard.

avatar image DylanVelez Mar 11 '15 at 07:47 PM

Thank you, i guess i'll go for the texture method as the domain of my project doesn't require it to be that complicated, can you post this as an answer so i can close the question?

(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