Klvnk
@klvnk
New Member
Joined: Feb 14, 2024
Topics: 50 / Replies: 1212
Reply
RE: SDK Comparing Modifier Settings

this how I would approach it… BOOL compareMods(Modifier* mod1, Modifier* mod2, TimeValue t) { if(mod1->ClassID() != mod2->ClassID()) retu…

10 years ago
Forum
Reply
RE: Rate Limiting Controller

isn’t this just a convoluted way of implementing smoothing filter with a cut off frequency ?

10 years ago
Forum
Reply
RE: UVWMap ParamBlock SDK

looking at the source it’s an original Paramblock id = 1, but you can also include mapping.h from the mods project in the samples then use MappingM…

10 years ago
Forum
Reply
RE: Tricky viepwort aspect ratio switching problem

can you adjust the fov to match ? if it’s 45 in 16:9 then it’s 45/1.33333 in 4:3 ?

10 years ago
Forum
Reply
RE: My First Controller Plug-in… Questions:

not needed the other notification would cover that.

10 years ago
Forum
Reply
RE: My First Controller Plug-in… Questions:

think you should lose the line (*this) = *ctrl; should look something like this void AnimPivotConst::Copy(Control *from) { Quat fvalRot; if …

10 years ago
Forum
Reply
RE: My First Controller Plug-in… Questions:

but the tmControl is not itself its a subanim of the control !

10 years ago
Forum
Reply
RE: My First Controller Plug-in… Questions:

you just pick an unsigned short (16 bit) value as the id, which in hexadecimal is in the style 0x0000 but could very well be 1,2, 3 , 5 just as long …

10 years ago
Forum
Reply
RE: My First Controller Plug-in… Questions:

the assertion ref (0) == the tm controller itself is wrong the system gets the number of refs from int NumRefs() then iterates through expection a re…

10 years ago
Forum
Reply
RE: SDK Light ParamBlock ??

sorry but what is ” SubDivs of the Standard lights” when it’s at home ? :shrug:

10 years ago
Forum
Reply
RE: SDK GetParamBlock for Nodes

thats cos nodes don’t have pblocks, though the objects they reference do. you can use Object* obj = node->EvalWorldState(t).obj; or Object* o…

10 years ago
Forum
Reply
RE: A couple of controller plugin questions

theres about 15 working starting points in the samples BTW

10 years ago
Forum
Reply
RE: A couple of controller plugin questions

theres a whole host of missing methods, which mean max will call the base class version try implementing these 2 Class_ID ClassID(); void GetClassN…

10 years ago
Forum
Reply
RE: A couple of controller plugin questions

without the whole code to look at (not having had that exact issue) its tough to diagnose.

10 years ago
Forum
Reply
RE: Getting vertices' position and uv – no correlation?

[b] Is there a way to combine them somehow? Without the loop through faces (expensive search for duplicates)? [/b]yes if you only ever need positi…

10 years ago
Forum
Page 42 / 85