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"

How to automate setting of Screen Size (LOD) for hundreds static meshes via ini file ?

Hey guys,

what should I do if I don't want to use Auto Compute LOD distances and for LOD groups I need to put my own values for Screen Size ? For one mesh this is not a big deal, but I've hundreds of models and I want to put there the same values and automatize it a bit, or at least I will be happy to create some meta data per fille or something like that.

I know It's possible to create a new LOD Groups and assign to a static mesh via static mesh editor via .ini file ( definedin DefaultEngine.ini like

 [StaticMeshLODSettings]
 CH_LevelArchitecture=(NumLODs=4,LightMapResolution=32,LODPercentTriangles=50,PixelError=12,SilhouetteImportance=4,Name=LOCTEXT("CH_LevelArchitectureLOD","CH Level Architecture"))

Thanks in advance for help....

Product Version: UE 4.18
Tags:
more ▼

asked Dec 06 '17 at 01:53 PM in Using UE4

avatar image

alex-unrealUGSK
11 1 3 6

avatar image ghwlanglois Dec 27 '17 at 05:28 AM

I also would like to know if this is possible. Perhaps a C++ change to the source code?

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

1 answer: sort voted first

What I noticed latersis that you can actually override this values while importing NEW assets...I still can't change in batch for already imported assets...But like a workaround it's working quite good :/

more ▼

answered Dec 27 '17 at 09:03 AM

avatar image

alex-unrealUGSK
11 1 3 6

avatar image Haoris Jan 28 '18 at 12:59 AM
  • Right clic

  • Asset Action

  • Bulk edit via property matrix

  • Type the name of the LOD group in "LodSettings"

  • Save

avatar image alex-unrealUGSK Jan 28 '18 at 11:44 AM

Unfortunately, this is not what was I asking for. I want to edit Screen Size distances for each ( user created ) LOD group. You mentioned steps I need to do afterwards...

(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