Author Topic: Some question about load 3ds file  (Read 1218 times)

Offline zhangbo8808

  • byte
  • *
  • Posts: 11
    • View Profile
Some question about load 3ds file
« 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).
« Last Edit: June 30, 2012, 05:17:26 pm by zhangbo8808 »

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11777
    • View Profile
    • http://www.jpct.net
Re: Some question about load 3ds file
« Reply #1 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.

Offline zhangbo8808

  • byte
  • *
  • Posts: 11
    • View Profile
Re: Some question about load 3ds file
« Reply #2 on: July 01, 2012, 04:05:44 am »
thank you,I will try....

Offline zhangbo8808

  • byte
  • *
  • Posts: 11
    • View Profile
Re: Some question about load 3ds file
« Reply #3 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?

Offline zhangbo8808

  • byte
  • *
  • Posts: 11
    • View Profile
Re: Some question about load 3ds file
« Reply #4 on: July 05, 2012, 05:36:56 pm »
ok,I know, the 3d object I export from 3dx is empty...