www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: zhangbo8808 on June 30, 2012, 05:08:46 pm

Title: Some question about load 3ds file
Post by: zhangbo8808 on June 30, 2012, 05:08:46 pm
I encountered some troubles when I  loaded a 3ds file.
The file I used has been upload to "https://rapidshare.com/files/3587059474/Chap05_05_Final.max". you can click "download" to down it.(which you must have the 3dmax software)
The file is a animation course, it contains a lot of key frames of a character.
I export one of the frame to a 3ds file use "3dmax".
But when I load the 3ds model. The screen is black, the code I used I think is correct because it displayed correct when I loaded a cube which is 3ds format
Can anyone help me?
(the 3ds file I used is "https://rapidshare.com/files/492188704/walk.3DS", you can click download to get it).
Title: Re: Some question about load 3ds file
Post by: EgonOlsen on June 30, 2012, 09:48:47 pm
Check model size, scaling and position in object space. It's most likely that you are simply not looking at your loaded model or you are standing inside it or something like that.
Title: Re: Some question about load 3ds file
Post by: zhangbo8808 on July 01, 2012, 04:05:44 am
thank you,I will try....
Title: Re: Some question about load 3ds file
Post by: zhangbo8808 on July 01, 2012, 04:34:45 am
Maybe something wrong not like you said...
I moved the camera and changed the scale of my character, but it didn't work.
Besides, I added "Log.e("startLoadModel","startLoadModel");"  and "Log.e("completeLoadModel","completeLoadModel");" around the "thing = LoaderMana.loadModel("walktest.3DS", scale);". but the logcat only show "startLoadModel".
The last sentence of logcat show abou jpct is "Name in hierarchy found $$$DUMMY"which I could't understand.
why?Can anyone help me?
Title: Re: Some question about load 3ds file
Post by: zhangbo8808 on July 05, 2012, 05:36:56 pm
ok,I know, the 3d object I export from 3dx is empty...