Klvnk
@klvnk
New Member
Joined: Feb 14, 2024
Topics: 50 / Replies: 1212
Reply
RE: AngleAxis as Matrix3

looking at the sdk source code, I imagine the angleaxis to quaterion conversion normalizes the input axis first… void AxisAngleQuat(const Point3 &a…

8 years ago
Forum
Reply
RE: AngleAxis as Matrix3

this gives the correct result def_visible_primitive(QuatToMatrix3, “QuatToMatrix3”); Value* QuatToMatrix3_cf(Value **arg_list, int count) { che…

8 years ago
Forum
Reply
RE: AngleAxis as Matrix3

looking in the sdk probably angaxis to quat quat to matrix3 from deflect.cpp axis = axis – Point3(0.5f,0.5f,0.5f); float lsq = LengthSquared(bnor…

8 years ago
Forum
Reply
RE: Reading all the objects in the scene 3ds Max SDK C++

this is how i do it… class INodeEnum { public: virtual BOOL proc(INode *node) = 0; virtual ~INodeEnum() {} }; typedef BOOL (*GetObjectTypeF…

8 years ago
Forum
Reply
RE: MAXScript vs SDK c++, c#, python, dotned libs, wpf, QT graphics

yes when you by “ui” you want it to work in the command panel but in it’s own window it’s just another windows “window”

8 years ago
Forum
Reply
RE: MAXScript vs SDK c++, c#, python, dotned libs, wpf, QT graphics

I ask this question because I saw many image galleries that are heavy in 3dsmax, especially when they open big images, while the exe from the link I g…

8 years ago
Forum
Reply
RE: MAXScript vs SDK c++, c#, python, dotned libs, wpf, QT graphics

depends what your used to yes but it’s not for the faint hearted and btw I hate this new forum interface it’s shit… I led with a quote so it decided …

8 years ago
Forum
Reply
RE: Is setAsBackground broken??

what about viewport.DispBkgImage = true; completeRedraw();

8 years ago
Forum
Reply
8 years ago
Forum
Reply
RE: [MXS] Adding custom item to "Convert To:" quad menu

I was interested to see how this would be done via the sdk, I’m still none the wiser, no examples and rubbish reference and an array of convoluted abs…

8 years ago
Forum
Reply
RE: [MXS] Adding custom item to "Convert To:" quad menu

you can test against the menu item title for all items in the menu but that has the same issues if the user has added his own menu with the same title…

8 years ago
Forum
Reply
RE: [MXS] Adding custom item to "Convert To:" quad menu

this will get the menu unless other things have been added after the “convert to” fn GetConvertToMenu = ( qm = menuMan.findQuadMenu “Default…

8 years ago
Forum
Reply
RE: weird rounding errors

the as Integer64 isn’t needed btw bscrctable3=#(0L 0x77073096L, 0xEE0E612CL, 0x990951BAL,0x076DC419L) should do

8 years ago
Forum
Reply
RE: weird rounding errors

yep I wasn’t really looking though 2567524794L * 2 gives the correct answer 0x990951BA as Integer64 = 2567524864 looks mxs is converting 0x990…

8 years ago
Forum
Reply
RE: weird rounding errors

0x990951BA as Integer64 = 2567524864L which is correct ?/

8 years ago
Forum
Page 32 / 85