Here are a couple of related threads: FYI: IntersectRayScene is completely broken with editable poly 3ds Max SDK and MaxScript …
According to OP, the example mesh changes 28 times in 180 frames. So, average of 6 frames where the mesh doesn’t change, should be enough to compute a…
How fast is the object moving between mesh changes? If it’s not moving that fast, why not compute a predicted location based on velocity, and then do …
I solved a similar problem a while back. This was the rough procedure I used: identify exterior edges add those exterior edges to a new shape weld s…
If you’re not looking for a code solution specifically, there is a modifier called ‘optimize spline’ which may work for you. Alternatively, there are…
Serejah – Your results are very different than mine. If I add/modify the following in your code: teapoly = converttomesh (copy tea) … intersection…
Serejah: intersection = intersectRay tea (ray ray_pos -z_axis) Isn’t this much slower because it has to convert the teapot primitive to a mesh ev…
Very interesting. That’s in line with observations from Max development in general. Slower, more bugs, things that worked great get redone and featur…
Julien_L: It looks like you can also access pngio using Maxscript, and it’s actually a bit easier than in C#: so, e.g.: pngio.setType #true24 …
I have the same issue using render to texture via maxscript. There’s no way to automate it that I’ve found; to specify the exact bitdepth you want. …
Using the inverse transform and resetxform was too unreliable. The solution I came up with is: make a copy of the spline transform it to the XY pla…
I tried this, but I think it’s a dead end. Max will just round the number as soon as it’s cast into the matrix and it ends up being the same.
I actually don’t need extrusion at all. That was just a nice visual way to demonstrate that shape objects don’t convert to polygons correctly unless t…
denisT: as I can see here and in Area you only need to extrude shape in direction of its normal… probably everything can be done cleaner and easier…
This is an isolated example which illustrates the error. This error only pops up about 2% of the time and there isn’t a clear pattern as to why. This…