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"

Breaking Instancing

Hi,

So I'm currently trying to create a fully dynamic environment system that allows trees to grow, have different "states" (dry, wet, burned etc.)

Let's say I have painted my landscape with instanced static meshes and wanted to add these features, when does instancing actually "break" ? Can I scale them however I want ? Can I change the specularity of the trees in a specific area (where it rains) and still have the benefits of instancing ?

For things like trampling over bushes I just replace the affected foliage types temporarily with blueprints, play the animation and then replace them again with instanced "trampled" versions to save performance. I'm not sure how I would do all that with growing plants since they would change scale every few minutes (Let's say they grow every 5 minutes by 0.1)

I could just replace a tree with a bigger instances but I was wondering if I can just scale the already created one and still have the instancing benefit (since in the foliage painting tool there is a random scale feature as well)

I'm a bit lost here so maybe someone has some more experience with that ? Thanks a lot in advance! :)

Product Version: UE 4.14
Tags:
more ▼

asked Feb 14 '17 at 01:25 PM in Everything Else

avatar image

IceDealer
1 1 2 2

avatar image IceDealer Feb 14 '17 at 02:54 PM

So far I've figured out that I can't change the world scale of an instance directly but remove and spawn a new one with a new transform, thus making it slightly bigger. Also the procedural foliage spawner supports "growth", but I have to look into it a bit further. So since all instances share the same material I'd have to create a "wet" version of each foliage type to simuate rain ?

(comments are locked)
10|2000 characters needed characters left

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