ScriptSpot home

Script

LOD Creator

By LOKO · 2010-05-01

Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.
3ds Max compatibility
Unknown
How compatibility works

Choose the 3ds Max version you use. For example, selecting 2020 puts direct matches for 2020 first, followed by listings that say a supported version or newer.

Scripts that only mention an older version can still appear as “2020 unconfirmed.” Listings that rule out 2020 are excluded. Use “Show scripts with unconfirmed compatibility” to also see listings without a clear match.

Community reports show what worked for members on a specific release. They’re separate from the listing’s compatibility claims and don’t change the filter.

Legacy votes
64

Downloads

Tags: script, skin, utility, 3ds max, lod, level of detail, MAXScript, vertex, creator, free, mesh, loko, abhishek, subba, generate

Description

Here's my version of LOD creation script, it uses multiRes modifier. It works on multiple geometry and retains the geo type. It retains the skin modifier too, so you can run on a skinned character as well. Feel free to use this script and lemme know if you want me to add any feature to it or if it has any bugs.

Comments (6)

Comment policy

ever dark

LOD naming is wrong way around?

Not sure about 3d industry, but in games LOD naming starts with:
LOD0 Highest poly count
LOD1 Lower
LOD2 Even Lower
...
LOD4 Lowest

and this script has:
LOD0 Lowest
LOD1 Higher
...

Is this a bug or I don't know something?
BTW, love the script. Thanks!!

mahmoud

more than one iteration has a bug

the script produces all LODs with the same number of polygons. To fix this do as follows // OR just use the updated version in the attachment

1.open LOD_Creator_1.ms with notepad

2. search for:

for i=1 to lodCount do

(

--LOD function call

--genLOD origGeo vertPer LODCount

genLOD obj vPer i;

LOD_prog.value = 100.*i/lodCount 

)

 

3. replace it with the following:

for i=1 to lodCount do

(

newVPer= vPer * i;

--LOD function call

--genLOD origGeo vertPer LODCount

if(newVPer <=99) then

(

genLOD obj newVPer i;

LOD_prog.value = 100.*i/lodCount 

)

)

4. Save and try the edited script it should work correctly now ;)

Attachments
Kenneth

Awesome!

This is a great tool. Had to create an account just to tell you that. Thanks for the script! I can use this for not only LODs, but geometry reduction as well.

Yoeri

Bug? with LOD creator in max 2014

Hello, I am currently trying to use your script in 3dsmax 2014 and for some reason when I want the script to create 3 LOD's for a mesh it doesnt reduce the polycount of the meshes besides the first lod.

In this case: Base mesh: 887 polygons
Lod1: 703 polygons
lod2: 703 polygons
lod3: 703 polygons.

Any idea what the problem could be?
Cheers and take care!

LineEffect

This is Great

I love this man
THANKS ALOT