Has anyone imported rigged 3ds Max models?

1 view
Skip to first unread message

cellis

unread,
Oct 27, 2008, 9:21:15 AM10/27/08
to away3d.dev
Hello,

I am trying to get my 3ds max model into away3d. This is what i got as
an error.

TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at away3d.loaders::Max3DS/::buildMeshes()
at away3d.loaders::Max3DS$iinit()
at away3d.loaders::Object3DLoader/::startParsingGeometry()
at away3d.loaders::Object3DLoader/
away3d.loaders:Object3DLoader::onGeometryComplete()
at flash.events::EventDispatcher/
flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()
at away3d.loaders::Object3DLoader/::update()


I know the stack trace isn't enough, but i'm curious to find if anyone
has run into this problem or has any examples of 3ds models being used
and what variables i need to change in my 3ds exporter.

Thanks!

Rob Bateman

unread,
Oct 27, 2008, 11:47:06 AM10/27/08
to away3...@googlegroups.com
Hey Cellis

compatibility is a priority of our importers, so if you could supply a sample of the 3ds file causing the error we can attempt to fix whatever the problem is in the parser.

atb


Rob
--
Rob Bateman
Flash Development & Consultancy

rob.b...@gmail.com
www.infiniteturtles.co.uk
www.away3d.com

zhil

unread,
Dec 13, 2008, 4:49:17 AM12/13/08
to away3d.dev

Rob Bateman

unread,
Dec 13, 2008, 10:23:11 PM12/13/08
to away3...@googlegroups.com
Hey Guys

problem now fixed and in trunk. Thanx for the report!

btw, if you ever need to center a model in the scene once loaded in, heres a little trick (works nicely for your teapot Zhil)

model.movePivot((model.maxX + model.minX)/2, (model.maxY + model.minY)/2, (model.maxZ + model.minZ)/2);

this requires centerMeshes to be set to true in the initialising object for the loader, so that all child meshes in a model are centered around their geometry. This gives no visual difference, but is useful when using the max/min calculations in this manner.

please let us know if the fix works for you!

atb

Rob




On Sat, Dec 13, 2008 at 9:49 AM, zhil <and...@privatehost.info> wrote:

I have the same problem - described here
http://groups.google.com/group/away3d-dev/browse_thread/thread/fe00f19211c14aef#



Reply all
Reply to author
Forward
0 new messages