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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

[Closed] Procedural Procedural Foliage Volumes and Foliage Instances peformance

Hello again,

Are there any performance issues to be considered when employing Procedural Foliage Volumes instead of the Foliage Paint tool? Say an identical number of trees were to be distributed over the same amount of space? Likewise, do the Landscape Grass Tools offer any peformance gains or drawbacks?

Cheers,

Paul

Product Version: Not Selected
Tags:
more ▼

asked Feb 18 '16 at 10:32 PM in Rendering

avatar image

Answers.Archive STAFF
1.9k 202 311 683

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

The question has been closed Feb 18 '16 at 10:33 PM by AndrewHurley for the following reason:

The question is answered, right answer was accepted


1 answer: sort voted first

Hi Paul,

Sorry for the late reply.

The Procedural Foliage Volumes and the Foliage Paint tool are identical at runtime. The Procedural Foliage Volumes just place foliage instances as if it had been placed by the foliage tool, and you can even add or remove instances with the foliage tool after the simulation has been run. The instances are rendered using a HierarchicalInstancedStaticMeshComponent for each foliage type. The instance buffer is always around while the levels are loaded so the instance data contributes to runtime memory, size on disk and load time. Each instance has 48 bytes of GPU data and 80 bytes of system memory. Unlike Landscape Grass, the Foliage Paint and Procedural Foliage types can have collision.

The Landscape Grass feature renders instances the same way as the Foliage Paint tool (by populating instances in HierarchicalInstancedStaticMeshComponents) but the instance data is generated at runtime and only around the camera. This generation has some minor cost, but it done in a background thread, and it allows you to have what would be many millions of instances placed by the foliage tool and only have the 100,000 or so near the player in memory. Landscape grass does have its own memory cost, which the density map that is generated in the editor for areas with grass that the runtime system uses to know where to place instances. The cost is 2 bytes per landscape vertex for components which have grass (to store the height data) plus 1 byte per vertex for each grass type. This cost is typically much lower than it would be if they were painted or procedural instances.

Cheers Jack

more ▼

answered Feb 18 '16 at 10:32 PM

avatar image

Answers.Archive STAFF
1.9k 202 311 683

avatar image Answers.Archive STAFF Feb 18 '16 at 10:32 PM

Excellent. Thanks for your knowledge Jack.

avatar image unit23 Mar 01 '17 at 01:10 AM

Is it better to use the Foliage Tool or a Foliage Volume to add grass to my landscape, since as mentioned above the Landscape Material Grass feature comes with extra cost?

Can 1 Foliage Volume be considered to be 1 Foliage Cluster?

Thanks

Related https://docs.unrealengine.com/latest/INT/Engine/OpenWorldTools/Grass/QuickStart/3/

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

Follow this question

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

Answers to this question