random function of the week
surely that’s all handled for you in simpleobject2, considering most primitives don’t implement their own display code letting their parent class do…
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…
it’s lucky cgsoc forumites don’t make up the voting population 73 views and only 2 have a 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 …
yes you can
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…
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…
I don’t think app data is considered as “temporary” as it’s not particularly transient in fact it’s quite persistent.
@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…
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…
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 …
it probably is possible, most things are, they, MSCustAttrib that is, are stored in same place (ICustAttribContainer) as CustAttrib and inherit from t…
what about something like… setappdata n 1234 ((GetHandleByAnim n as integer) as string)