There are some problems with the max exporter that ships with the 1.9 sdk.
I had to swap the cg.dll that ships with 3ds max 2012 for the one that’s in the panda/bin directory, else 3ds wouldn’t start with the maxegg2012.dlo (sorry I didn’t write down the error given, something about a missing procedure entry point in libpandaexpress, cg was somewhere in there). Anyway, with the cg from panda it starts.
The main problem is when trying to export, an error message pops up with this text:
Assertion failed!
Program: C:\Program Files\Autodesk\3ds Max 2012\3dsmax.exe
File: c:\thirdparty\win-libs-vc10\.../DenseStorage.h
Line 86
Expression: (reinterpret_cast<size_t>(array) _0xf) == 0 & "this assertion is
explained here: "
"http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html
"****READ THIS WEB PAGE !!! ****"
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts
(Press Retry to debug the application - JIT must be enabled)
There are Abort Ignore and Retry buttons but all lead to a crash and no file is exported.
It’s a bit weird that the error is Eigen related, I was thinking eigen was disabled for the official 1.9 sdk. I’m also almostsure that the problem didn’t happen in a build from late March (buildbot.panda3d.org/downloads/b … d0380ce17/ )
Could you share the dtool_config.h file in the include directory of the SDK?
For what it’s worth, I think we may make the buildbot builds without eigen, but the public builds with. Not 100% sure though.
Without a stack trace I can only guess about the location of the error, but I have a suspicion that editing maxEggLoader.cxx and making MaxEggJoint inherit from MemoryBase might be sufficient, ie.: