INodeTab* nodeTab = new INodeTab(); pretty bad style (and as coded it can leak memory), either pass it to the function as a reference or return the…
try this #include <maxscript/maxscript.h> #include <maxscript/macros/define_instantiation_functions.h> def_visible_primitive(TestFuncti…
works for me… plugin helper mDummy name:”mDummy” category:”Standard” classID:#(0x47db14fe, 0x4e9b5f90) extends:dummy ( local lastSize, meshObj…
plugin helper myPlugn name:”myPlugn” … extends:dummy ( … on attachedToNode theNode do setuserprop theNode “x” 1 )
you can get the node using [b]on[/b] [b]attachedToNode[/b] <nodeVar> [b]do….. [/b]
the problem you have is due to the way the model has been made, instead of using say a double sided material/rendering the modeller has cloned the fac…
yeah, if you import the obj with normals from file checked then the normals are correct for a completely “faceted” model (so they are for all intents…
what happens when you convert to editable mesh and select all faces and press unify ? (ok just read the second bit) I don’t think the normals are to …
theres something about dlx that means it can’t be unloaded or loaded while max is running… in max 2010 and before it is possible to load and unload dl…
the 36 is the maximum map verts the box could have assuming none of the map verts are shared ie if you “exploded” the mapping. Yes there is a way I …
Nope 36 6 sides 2 tris per side 3 verts per tri 6 * 2 * 3 = 36
But why array? There is always exactly 1 mapVertex coresponding to vertex and map chanel. no there can be any number of mapping verts associated wit…
v is the vert index you want to find the mapping verts for which are returned by the function in 1D array i was a bit hurried in my coding this shoul…
try this… fn GeoVertToMapVert2 obj v mapCh = ( local verts = #{} local faces = (meshop.getFacesUsingVert obj v) as array; …