Klvnk
@klvnk
New Member
Joined: Feb 14, 2024
Topics: 50 / Replies: 1212
Reply
RE: SDK plugin bug

don’t use the wizard.

7 years ago
Forum
Reply
RE: Why ArrowHelper extending Helper and not mesh?

always red arrow plugin Helper arrow_helper name:”arrow_helper” classID:#(0x45c33d08, 0x16e70cb1) category:”Standard” extends:dummy replaceUI:tr…

7 years ago
Forum
Reply
RE: Why ArrowHelper extending Helper and not mesh?

also another difference between hanging the mesh off a dummy , forcing it to be a helper, and not a simpleObject is that it can only ever be displayed…

7 years ago
Forum
Reply
RE: Why ArrowHelper extending Helper and not mesh?

plugin Helper arrow_helper name:”arrow_helper” classID:#(0x45c33d08, 0x16e70cb1) category:”Standard” extends:dummy replaceUI:true; ( local la…

7 years ago
Forum
Reply
RE: Why ArrowHelper extending Helper and not mesh?

so it doesn’t have to rebuild the mesh unless the size changes. this how i do it fif i’m prototyping for the sdk… plugin Helper arrow_helper name:”…

7 years ago
Forum
Reply
RE: Why ArrowHelper extending Helper and not mesh?

to max it’s a helper, so doesn’t appear in any renders and if it has a deforming modifier applied it remains unchanged.

7 years ago
Forum
Reply
RE: Why ArrowHelper extending Helper and not mesh?

probably keeps it “classified” as a helper to the rest of max

7 years ago
Forum
Reply
RE: Sdk basic modifier

collect your edges tag all the faces using the edges(MNEdge::f1 & MNEdge::f2) with MNFace::SetFlag(flag_to_tag); delete faces with MNMesh::Delet…

7 years ago
Forum
Reply
RE: Sdk basic modifier

it’s the standard plane equation, so the plane is defined by a direction normal and the dot of the normal and any point on that plane. so the offset i…

7 years ago
Forum
Reply
RE: (SDK) check if the object can be used as an Object for INode

or inline BOOL isObject(ReferenceTarget* ref) { return ref->GetInterface(I_OBJECT) ? TRUE : FALSE; }

7 years ago
Forum
Reply
RE: (SDK) check if the object can be used as an Object for INode

that’s easy then Object* obj = dynamic_cast<Object*>(input); if(obj != NULL)….. with RTTI set in the compile

7 years ago
Forum
Reply
RE: (SDK) check if the object can be used as an Object for INode

how are you creating the object that makes you think it’s not valid ?

7 years ago
Forum
Reply
RE: Sdk basic modifier

where mxs gets it from… bbox.Min(); bbox.Max(); I’m a total newb sorry not to worry, the best advice I can give is use visual studios find …

7 years ago
Forum
Reply
RE: Sdk basic modifier

what happened to this bit ? if(polyobj != os->obj) // new object push it into the pipe { os->obj = polyobj; os->obj->UnlockObject();…

7 years ago
Forum
Reply
RE: Sdk basic modifier

make sure you have the following set ChannelMask ChannelsUsed() { return GEOM_CHANNEL|TOPO_CHANNEL|TEXMAP_CHANNEL|SELECT_CHANNEL|SUBSEL_TYPE_CHANNEL…

7 years ago
Forum
Page 26 / 85