Klvnk
@klvnk
New Member
Joined: Feb 14, 2024
Topics: 50 / Replies: 1212
Reply
RE: C++ Pass objects as argument

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…

7 years ago
Forum
Reply
RE: C++ Pass objects as argument

try this #include <maxscript/maxscript.h> #include <maxscript/macros/define_instantiation_functions.h> def_visible_primitive(TestFuncti…

7 years ago
Forum
Reply
RE: setUserProp not worcking for scripted plugin

works for me… plugin helper mDummy name:”mDummy” category:”Standard” classID:#(0x47db14fe, 0x4e9b5f90) extends:dummy ( local lastSize, meshObj…

7 years ago
Forum
Reply
RE: setUserProp not worcking for scripted plugin

plugin helper myPlugn name:”myPlugn” … extends:dummy ( … on attachedToNode theNode do setuserprop theNode “x” 1 )

7 years ago
Forum
Reply
RE: setUserProp not worcking for scripted plugin

you can get the node using [b]on[/b] [b]attachedToNode[/b] <nodeVar> [b]do….. [/b]

7 years ago
Forum
Reply
RE: Select Alternating Polygons?

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…

8 years ago
Forum
Reply
RE: Select Alternating Polygons?

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…

8 years ago
Forum
Reply
RE: Select Alternating Polygons?

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 …

8 years ago
Forum
Reply
RE: Install a .dlx plugin without restart 3dsmax,possible?

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…

8 years ago
Forum
Reply
RE: how to get the mapVertex coresponding to a vertex?

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 …

8 years ago
Forum
Reply
RE: how to get the mapVertex coresponding to a vertex?

Nope 36 6 sides 2 tris per side 3 verts per tri 6 * 2 * 3 = 36

8 years ago
Forum
Reply
RE: how to get the mapVertex coresponding to a vertex?

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…

8 years ago
Forum
Reply
RE: how to get the mapVertex coresponding to a vertex?

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…

8 years ago
Forum
Reply
RE: how to get the mapVertex coresponding to a vertex?

try this… fn GeoVertToMapVert2 obj v mapCh = ( local verts = #{} local faces = (meshop.getFacesUsingVert obj v) as array; …

8 years ago
Forum
Page 30 / 85