I've tried some of the normal thief scripts with 3ds max 2018 but some don't work and others cause crashes. Has anybody got a script that works with 3ds max 2018 that i can use to transfer normals from a sphere to my tree branches ?
It works fine on simpler modifier stacks (albeit with script errors) yeah, but has been regularly crapping out on me when confronted with more "unorthodox" usecases. For instance, I'm playing around with the "Mesh Mixer" MCG included herein , which can combine several existing meshes in order to make them appear as a…
@cptSwing Not that i'm taking offence, but i'm not a developper, and i've made this script 5 years ago, for a specific case. And true, it's barely protected against crashes. Would you mind to share a simple scene with your mcg setup ? With the source object and the target object.
Hey, absolutely no offense meant. My programming skill is at least a couple of notches below yours and I'm grateful for the script either way! Will update this post with a link in a bit, hang on EDIT: here it is (wetransfer) - max 2018, and the MCG Mesh Mixer from the sample pack I linked above is needed, obv
So i basically rewrote it. The script project normals only on selected faces. Or all faces if none selected. I use the closest whatever point normal on the source object, and not the closest vertex normal anymore, which gives as expected a much better result. It's fast and compatible with mesh and poly.Yes edit normals is…
It worked like a charm - you are a star! And yeah, having it work on select geometry only would be the logical next step I guess. The script on mixescript[...] uses subobjectLevel = 1
vertarray = #{}
vertarray = polyop.getVertSelection obj
if vertarray.numberSet == 0 then -- no selection, select all
(…
i feel ashamed to script when i see an algo by denisT, Polytools,Klvnk... :# i'd use snapshot function. It creates a snapshot of the top level mesh, and preserve the highest level selection. I can perform operations on those without messing with original objects/stack.By then i was only replicating normal thief behaviour,…
Ok thanks !Weird things going on. I've made a temporary ugly fix linked below, looks like it's working. Atleast it shouldnt crash the viewport :p but i should retake that script entirely, or see if there are smarter solution than maxscript now (maxplus). I can't believe it's still not included. AD nonsense once more. I…