Klvnk
@klvnk
New Member
Joined: Feb 14, 2024
Topics: 50 / Replies: 1212
Reply
RE: Useful mxs sdk extension functions

random function of the week

10 years ago
Forum
Reply
RE: SDK SimpleObject2 Display No Mesh ?

surely that’s all handled for you in simpleobject2, considering most primitives don’t implement their own display code letting their parent class do…

10 years ago
Forum
Reply
RE: Rotate Object Around line

something like this ? doing it this way the object is rotated as a whole if need just the position of the object rotated and it’s orientation unchang…

10 years ago
Forum
Reply
RE: What's your preference ?

it’s lucky cgsoc forumites don’t make up the voting population 73 views and only 2 have a preference !

10 years ago
Forum
Reply
RE: What's your preference ?

I wonder why you ask i was implementing some custom subobject edit move/rotate/scale stuff, and it’s “normal” practice in max for subobject editing …

10 years ago
Forum
Topic
Forum
Replies: 8
Views: 34
Reply
Reply
RE: [SDK] Exporting Explicit Normals (EditNormals Modifier)…

I imagine theres no difference, and no it doesn’t access specified normals (my function that is), but when you create a “new” specified normals on a m…

10 years ago
Forum
Reply
RE: [SDK] Exporting Explicit Normals (EditNormals Modifier)…

there is nothing wrong in using the appdata facility for this, just probably not what it was designed for. off the top of my head stl::map node handle…

10 years ago
Forum
Reply
RE: [SDK] Exporting Explicit Normals (EditNormals Modifier)…

I don’t think app data is considered as “temporary” as it’s not particularly transient in fact it’s quite persistent.

10 years ago
Forum
Reply
RE: [SDK] Exporting Explicit Normals (EditNormals Modifier)…

@Klvnk – the method you posted (GetFaceRNormals) gets the face normals, or the vertex normals? yeah a slight misnomer there, face as in the 3 vert n…

10 years ago
Forum
Reply
RE: [SDK] Exporting Explicit Normals (EditNormals Modifier)…

this is how you compute face normals (takes into account smoothing groups but if you call for mnmesh it will build specified normals from the mesh a…

10 years ago
Forum
Reply
RE: [SDK] Exporting Explicit Normals (EditNormals Modifier)…

pretty simple, no need to worry about modifiers, if you’ve specified the normals they can be accessed like so… from a mesh…. from an MNMesh …

10 years ago
Forum
Reply
RE: SDK: Maxscript Custom Attributes Question

it probably is possible, most things are, they, MSCustAttrib that is, are stored in same place (ICustAttribContainer) as CustAttrib and inherit from t…

10 years ago
Forum
Reply
RE: A set of questions…

what about something like… setappdata n 1234 ((GetHandleByAnim n as integer) as string)

10 years ago
Forum
Page 40 / 85