Resource icon

LOD generator 1.4

Login or Register an account to download this content
-for Simplygon v9.x - changed "SimplygonBatch.exe" to use json files as input, i just used converter from Simplygon's 3dSMax plugin to convert spl files to new json format
-no need to run as admin like before
-you may get more wrong placed objects :(
-it still does not significantly reduce object count
-be aware that every unpacked fbx will be uploaded to Simplygon servers first! So actually this will be done three times when using "_DragnDropGenerator.cmd"
-if you have your AC in default steam-folder, then this will not work, this batch file FAILS on folders with SPACES
1619260729856.png

if you have this ^ - copy the car folder somewhere else, into a folder WITHOUT spaces!
-could not get down object count/draw calls ;(
-faster now, no material calculations
-fixed "\data\lods_new.ini" creation, no edit needed
-creates \data\ dir if not there already
-remade .spl files, only difference between them is line 27:
--> "OnScreenSize": 32,
value: 50 > 40k tris (shown in CM custom showroom for example)
value: 10 > 20k tris
value: 4 > 4k tris
-uses another tool by x4fab: "LodMaterialAssignmentor\LodMaterialAssignmentor.exe <lodxfile.kn5>"
--throw a "carX_lod_b.kn5" at it, in original folder along with its LOD A "carX.kn5",
--and it will assign the right materials to "carX_lod_b.kn5"
-because LodMaterialAssignmentor.exe needs a keypress after finish to terminate,
there is some trickery with extra batch file "_LODMatAsgKill.cmd" and "taskkill.exe"
-if the original kn5 is missing textures, conversion with "ksEditorAt.exe" .fbx -> .kn5 will fail,
however the result is in
\kn5in\your_car\your_car*lod_*.fbx
and 3DsimEditor can open and save it as lod...after that you have to use "LodMaterialAssignmentor.exe" on it
-opens explorer with "*_lod_b.kn5" selected afterwards

-both batch and dragndrop now full folder independent, copy anywhere you want
LODB.jpg

LODC.jpg

LODD.jpg

Back
Top