Klvnk
@klvnk
New Member
Joined: Feb 14, 2024
Topics: 50 / Replies: 1212
Reply
RE: weird rounding errors

from mxs help (as an explanation) which,by the way, is valid range of any signed 32 bit integer value

8 years ago
Forum
Reply
RE: Travel trought 4 position

you can script both solutions, the spline solution can be done in a similar way to op original script ( fn GenerateSplineShape p1 p2 p3 p4 = …

8 years ago
Forum
Reply
RE: Travel trought 4 position

or a path constraint to a linear path with 4 knots

8 years ago
Forum
Reply
RE: setFaceMatID of modifiers[#edit_mesh]

more elegant solution if it’s all the same ID fn set_line_mesh_materialID spline_shape spline matID = ( spline_shape.render_useViewportSetti…

8 years ago
Forum
Reply
RE: setFaceMatID of modifiers[#edit_mesh]

it’s not very elegant but you could do it something like this… fn set_material_id mobj faces matid = if mobj.modifiers[#Edit_Mesh] != undefined do (…

8 years ago
Forum
Reply
RE: ExtrudeFaces, custom border

dunno, I always find creating mesh is easier than cleaning up after a built in max routine (especially when comes to correcting the usual mapping ball…

8 years ago
Forum
Reply
RE: ExtrudeFaces, custom border

are those faces “known” in code or a user selection ? If they are known I would delete them and build the replacements from “scratch” as it were, user…

8 years ago
Forum
Reply
RE: SDK: modyfing vertex normals

is the spinner set to Animatable in the param block definition ?

8 years ago
Forum
Reply
RE: SDK: modyfing vertex normals

another edit it has to be said it’s not the way that EditNormals handles it in. You should really copy the way they do it in EditNormals e.g maint…

8 years ago
Forum
Reply
RE: SDK: modyfing vertex normals

added an edit to the example for when you need to create the normals

8 years ago
Forum
Reply
RE: SDK: modyfing vertex normals

try this MeshNormalSpec* nspec = mesh->GetSpecifiedNormals(); if(nspec && !nspec->GetFlag(MESH_NORMAL_NORMALS_BUILT)) { mesh-…

8 years ago
Forum
Reply
RE: SDK: modyfing vertex normals

are you trying to setting them to [0,0,1] by any chance ? that will leave them unchanged because they’ll be in local object coordinates and they are …

8 years ago
Forum
Reply
RE: SDK: modyfing vertex normals

\maxsdk\samples\mesh\editablepoly\EditNormals.cpp

8 years ago
Forum
Reply
RE: AddRollout in modify panel

thats cool, i asked about interfaceserver as it’s one of the best features of the sdk when you need one plugin class to interact with another. If you …

8 years ago
Forum
Reply
RE: AddRollout in modify panel

Edit: works great (the only unexpected thing is the order the rollouts are added seems kinda random but that doesn’t really matter in my case anyway)….

8 years ago
Forum
Page 33 / 85