Swordslayer: It’s the same as multiplying the quat by the matrix, go with that. So instead of transform xsiAngles2Quat tmX90 use xsiAngles2Quat * tm…
Your file format sounds like it uses the exact same coordinate system as my dotXSI file importer (Maxscript based). You need to do a proper coordinat…
So here is what I came up with… after some hours playing with it. At least it won’t crash your memory anymore… What do you think? Credit for the or…
I fixed the memory leak… still working on improving the script.
DrDecipher: Often garbage collection is suspended if you are in a loop. A timer could cause this. try using the command GC() –Th…
That’s a pretty neat script! I changed the timer clock interval to 100 and it’s pretty much matching the animation playback. However, it seems to ha…
Please carefully read Kevin Vandecar’s blog here: 3ds Max C++ SDK Training and fixed 3ds Max 2013 Plugin Wizard Follow his instructions for installi…
Here’s my snippet for setting the shader type: switch ( l_XSIShadeModel ) { case 0: //Constant l_iShadingModel = SHADE_CONST; stdMtl-&g…
Thanks for the clarification… I’ve added the enums, removed the extraneous headers and everything compiles perfectly. One more question… Where do I f…
Thanks, I’ll add the enums as you suggested. But adding the stdmtl2.h also requires including: mtlres.h mtlhdr.h …to eliminate the error not findin…
Do I really need to set all of the ONB parameters using these enums? Or can’t I just use the methods of StdMat2 (diffuse, ambient, specular color, et…
Thanks… I’ve added the stdmtl2.h and stdmtl2.cpp to my project but I must still be missing an #include because I’m getting a single error about it not…
What version of the SDK are you referencing?