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"

[Feature Request] PN Triangles tessellation for UProceduralMeshComponent

As of 4.11, assigning a material with "PN Triangles" tessellation to a UProceduralMeshComponent produces garbage results. The mesh starts glitching as shown in this picture: alt text

The shape itself changes at every frame, probably because some random memory is read every time during processing. The easiest way to reproduce this is to use the blueprint function "Generate Box Mesh" and assigning a material with tessellation enabled.

As far as I understand from reading the Engine source code, PN Triangles requires adjacency information, but there is no way to generate/provide that information for a UProceduralMeshComponent. This feature would be a really nice addition to procedural meshes and other people are interested in making it work as well (see https://answers.unrealengine.com/questions/404566/tessellation-to-procedural-mesh-component.html for an example).

Is there any chance to see this feature in the near future?

Product Version: UE 4.11
Tags:
more ▼

asked Apr 25 '16 at 04:00 PM in Everything Else

avatar image

francesco.cat
21 2 5 8

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

1 answer: sort voted first

I've made a custom procedural mesh component supporting that. It's an horrible hack, but it works ;)

ProceduralMeshComponent.h

ProceduralMeshComponent.cpp

Build.cs

The main idea is to do Mesh.Type = PT_12_ControlPointPatchList with FMeshBatch& Mesh.

Tested on 4.17

more ▼

answered Nov 09 '17 at 09:46 PM

avatar image

Phyronnaz
6 4 2

(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