Try: addModifier obj mod_optimizer mod_optimizer.Calculate = on [b]completeredraw() /* or redrawviews()[/b] */ mod_optimizer.VertexCount = (ami…
Yes, you could do that or have a little function like: ( fn RemoveFolderLeaf folder amount = ( for j = 1 to amount do folder = pathc…
( folder1 = @”C:\User01\Jobs\Revolution\MaxProgramming” folder2 = pathconfig.removepathleaf folder1 print folder1 print folder2 )
It’s been there at least since Max 2014.
miauu: Object $Solid_003(red color) is not detected as cylinder, while other objects with the same topology are detected as cylinders. Objects $Soli…
miauu: The object on the left is one single mesh object(one cap is missing, tha half of the side faces are missing). On the right there are bunch of…
Please note that the function has 2 threshold values, one for angles and the other for distances. I set the angle threshold to0.0001 (89.9943 degrees…
miauu: Thank you to all. All methods works fine and I use all of them. Aandres, your first method finds 62 cylinders(300 ms). The Polytools method…
As every algorithm based on threshold values, it is very susceptible to them, but this seems to trap small changes in geometry. ( fn GetVer…
It’s a hard to answer question as it depends on what you will use it for, but in general cases, if you are normalizing a vector, you would most probab…
I know I was not comparing searching methods but showing that even an empty loop is 20 times slower than findIten(), so anything you do beyond that …
gtafan: I just wondering how that findItem is faster than my solution if it makes “==” comparison, like I do. You can call me dumb, but I am not und…
Perhaps you should put your search algorithm here so we can compare with other methods. Don’t forget to also put a good test example. PD: Even if wha…
You don’t have to copy an object to have two objects usingthe same material, it was just an example.
( /* Delete all objects */ delete objects /* Create a multimaterial with 4 submaterials */ mat = multimaterial numsubs:4 mat[…