Spline penetration through mesh
Little tool for marking penetration point of spline through mesh.
--Undo/redo works without crash
--Progress bar with cancel
--for high poly mesh you can specify polygons for faster progress
--works on transformed objects
--works without changing original objects and modifiers
Basic idea is to marking penetration point according to current spline preferences (steps, optimize, adaptive), exactly as you see it in viewport.
Instalation: drag & drop in max viewport ; customize/preferences--> category: dboxx_tool
Attachment | Size |
---|---|
penetration_v02.ms | 14.8 KB |
Comments
...
thanx a lot barigazy, I'll keep in mind next time.
...
One more suggestion for speed up
Never use "polyop" or any other max struct inside for - loop. That can slows down process a lot.
Define local variable for any polyop operation and then use it in loop ei. :
bga
...
You can look also this solution. I not know is this type of Progress Bar works in max versions below 2012 but you can enable it ei.turn on/off after the calculation.(not require any formula to indicate some process)
I forgot to add +1
;)
bga
...
Believe me, bigger problem are complex calculation in iterations. Number of iterations is equal to product of mesh polygons count and line segments (real segments, which number depends of number of knots and spline steps). In case of high-poly mesh and high steps of spline, number of iterations could be extremely high and so calculation time (much more then few minutes). Without progress bar user could be thought that MAX is blocked and kill it from task manager.
As I've explained in video, there is a mode where script calculates only at selected polygons, when time of calculation is much faster (in blink of the eye :) )
...
Cool idea but I think that progress bar slows down whole process a lot.
bga
wow
Hey
Something out of the way but cool thought.... not sure but some places it may be magical tool:)
Big tool i would rather say
Amazing tool, thank you very much for your work Dboxx!