this how I would approach it… BOOL compareMods(Modifier* mod1, Modifier* mod2, TimeValue t) { if(mod1->ClassID() != mod2->ClassID()) retu…
isn’t this just a convoluted way of implementing smoothing filter with a cut off frequency ?
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…
can you adjust the fov to match ? if it’s 45 in 16:9 then it’s 45/1.33333 in 4:3 ?
not needed the other notification would cover that.
think you should lose the line (*this) = *ctrl; should look something like this void AnimPivotConst::Copy(Control *from) { Quat fvalRot; if …
but the tmControl is not itself its a subanim of the control !
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 …
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…
sorry but what is ” SubDivs of the Standard lights” when it’s at home ? :shrug:
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…
theres about 15 working starting points in the samples BTW
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…
without the whole code to look at (not having had that exact issue) its tough to diagnose.
[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…