Klvnk
@klvnk
New Member
Joined: Feb 14, 2024
Topics: 50 / Replies: 1212
Reply
RE: Sdk basic modifier

some types don’t convert directly to poly so you need an interim step i guess. It’s copied directly from tessmod.cpp

7 years ago
Forum
Reply
RE: Sdk basic modifier

if you want to use the “superior” poly cut for all object types then you handle it like this… static PolyObject* GetPipeAsPoly(TimeValue t, Object *p…

7 years ago
Forum
Reply
RE: Sdk basic modifier

this is how i would lay it out (it’s not tested) void TimberBoarding_mod::ModifyObject(TimeValue t, ModContext &mc, ObjectState *os, INode *node)…

7 years ago
Forum
Reply
RE: Sdk basic modifier

post the code and we can comment otherwize it’s a wild guess, I’m going with “it’s witches”

7 years ago
Forum
Reply
RE: Importing .3ds files and settings

S_Ilario: Also I noticed many users left to the official Autodesk forums. lol the max bug forum, another pointless exercise

7 years ago
Forum
Reply
RE: SDK how return struct to maxscript?

have a look at the source for the function you are using in the script in the file C:\Program Files\Autodesk\3ds Max **** SDK\maxsdk\samples\maxscrip…

7 years ago
Forum
Reply
RE: SDK how return struct to maxscript?

yep mxs at the source can be extremely arcane and obscure

7 years ago
Forum
Reply
RE: SDK how return struct to maxscript?

have a look at Value* get_max_file_asset_metadata_cf(Value** arg_list, int count) in avg_DLX.cpp looks like it returns an array of structs

7 years ago
Forum
Reply
RE: SDK how return struct to maxscript?

you could probably create and return one but I don’t think mxs would “understand” what it was getting. the generally accepted method is to return an a…

7 years ago
Forum
Reply
RE: MXS unexplained problem… memory leaking

not even with 10000000 time:6733 heap:68L

7 years ago
Forum
Reply
RE: MXS unexplained problem… memory leaking

it must be recent as the leak doesn’t exist in 2010 time:62 heap:68L with the count set to 100000

7 years ago
Forum
Reply
RE: Is there a way to detect if a rotation was CCW or CW?

If you assign a linear rotation or TCB rotation contoller to the teapot then $Teapot02.rotation.controller.value $Teapot03.rotation.controller.value …

7 years ago
Forum
Reply
RE: C++ ReplaceVertexWeight

^^^^^ just means up there you know the code you posted up there ^^^^^ is useless to anyone else as it’s non compilable nonsense.

7 years ago
Forum
Reply
RE: C++ ReplaceVertexWeight

you do realize that ^^^ is nonsense to anyone else, you may as well post maxscript that uses custom functions great if you want to have a conversation…

7 years ago
Forum
Reply
RE: Look at to viewport camera

another option is you can create an object thats constrained to the viewport and then use that as the target… plugin Helper ViewportPoint name:”Viewp…

7 years ago
Forum
Page 27 / 85