LOD Creator
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.
Attachment | Size |
---|---|
LOD_Creator.ms | 4.12 KB |
Comments
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!!
check my comment
I fixed this bug in a comment
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 ;)
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.
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!
This is Great
I love this man
THANKS ALOT