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"

Convert foliage to static meshes

Hi,

I'm looking for a way to convert my drawn foliage meshes to separate static meshes. So I can use the foliage system to initially draw meshes, but afterwards can address separately.

Is there an easy way to do this? Or should I be looking at a Blueprint/C++ script to parse all actors in the foliage and replace them with their static mesh on the same position?

Product Version: Not Selected
Tags:
more ▼

asked Nov 06 '14 at 12:05 PM in Using UE4

avatar image

MrMastermindNL
161 12 21 30

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

1 answer: sort voted first

Hi,

There is no option to do this in the engine currently. If this is a feature you need the latter options your suggested would be a better solution.

Thank you!

Tim

more ▼

answered Nov 06 '14 at 07:20 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 888 103 879

avatar image [PB]Aphexx Jun 16 '15 at 11:16 PM

hi, i have the same need currently. did you get this working? i have no clue how to parse all actors and replace them. thx sascha

avatar image Tim Hobson ♦♦ STAFF Jun 17 '15 at 01:22 PM

Actually this was recently added to our internal build of what will eventually be 4.9.

I just tested this to confirm, so if you use the latest promoted branch from GitHub you can test this out if you need, otherwise it'll be included with the release of 4.9.

avatar image Vaelek Jan 15 '16 at 09:18 PM

Did this get lost? 4.10 now and I can't seem to figure out how to accomplish this.

avatar image Tim Hobson ♦♦ STAFF Jan 16 '16 at 04:13 AM

@Vaelek

You can click on the Foliage in your level, then go to File > Export selected or something to that effect and choose then in the window that opens you can use the filetype drop-down to select FBX if it's not by default.

I would be a little bit more specific, but I don't have the editor opened in front of me right now.

avatar image Vaelek Jan 16 '16 at 03:07 PM

Oh I see. I was hoping for an in-place conversion similar to making BSP a mesh. Exporting the whole lot removes the ability to individually adjust and interact with the foliage so that's no good. My hope was to be able to paint in the vegetation, transpose it all for individual static meshes, and then in groups turn it back into instanced using Rama's editor plugin. From there I can turn them back into static as needed from BP to interact (eg pick, cut down..)

Thought it's not what I'm looking for, your method also does not work. When any foliage is selected, be it one or many, "Export Selected" is disabled and only "Export All" is an option.

avatar image JohnADaniels Jan 17 '19 at 01:52 AM

Thank you, worked like a charm!

avatar image MrMastermindNL Jun 17 '15 at 01:43 PM

Thanks Tim! For me it can wait until 4.9.

avatar image [PB]Aphexx Jun 17 '15 at 02:17 PM

thx tim, these are good news! i'll ask our programmer to look into it!

avatar image Tim Hobson ♦♦ STAFF Jun 17 '15 at 03:16 PM

I've gone ahead and found the commit on GitHub for this CL-2568627

https://github.com/EpicGames/UnrealEngine/commit/5510995a66cd25e41b372b864d9ee1912258bee3

(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