Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / 3d model is invisible (or I just can't see it)

Author
Message
Sinani201
18
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 2nd Apr 2008 05:22
I've been working on a 3D project, and I am trying to load in an animated .X file.
I don't get any errors and the program runs fine. The only problem is... the object isn't showing up! I tried pointing the camera to the object, and still, nothing happens. There really isn't any code, just loading the object and using the "PLAY ANIMATION" command.

Seriously, how do you make the little blue text come up below your message?
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 2nd Apr 2008 05:52
Did you try scaling it up? Does the object show up if you don't use any animation commands? Sometimes the problem is in the animation itself. Does it use a texture? May there is a problem with the texture. Try loading the texture into a paint program and resaving it making sure to save it as a 24 bit DIB.

Can you post the x file?

Enjoy your day.
Sinani201
18
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 2nd Apr 2008 06:42 Edited at: 2nd Apr 2008 06:46
Quote: "Does it use a texture?"

Well, not really, but I used the COLOR OBJECT command to see if I could color it if the texture was invisible.
I'll post the .x file. I know the animation isn't that great, but I'm learning to animate in Milkshape 3D and I'm working on a walking animation.
Quote: "Does the object show up if you don't use any animation commands?"

Actually, it does! does that mean that there is something wrong with the animation?

Seriously, how do you make the little blue text come up below your message?

Attachments

Login to view attachments
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 2nd Apr 2008 10:39 Edited at: 2nd Apr 2008 10:45
Checked out the file - it is definately the animation. If you look at your file in a text editor, near the bottom you will see several template titles that have something about animation in them. These lines in particular are the clue:



This is an animation key that DBC can't understand. It is a matrix transform key that tells direct x to move the animation according to a skeleton and skin weights (which vertices and in what percentage "bend" as a joint moves). There is also only 1 mesh and then frame references (limbs) without any mesh information. This won't work for DBC either. DBS needs each frame to be a mesh or a reference to a mesh or it will act as a grouping header.

Maybe there is an output format that you can choose. It may read parent-child setup, or articulated structure animation.

Enjoy your day.
Sinani201
18
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 3rd Apr 2008 02:51 Edited at: 3rd Apr 2008 02:52
Are you saying I should change the .X export settings?
Here are the options I am given:

By the way, I double-checked to make sure I didn't save in animation mode.

Seriously, how do you make the little blue text come up below your message?
KISTech
17
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 3rd Apr 2008 18:43
I had problems with the JT exporter relating to animations.

You might try the DirectX 8.0 exporter. (I'm assuming this is a screenshot from MilkShape.)

There was one model that I had a hell of a time with. I finally had to buy a copy of FragMotion to get things to come out right.

It would be lovely if all of these graphics companies could agree on a frakin' STANDARD and then stick to it.

Sinani201
18
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 4th Apr 2008 04:17 Edited at: 4th Apr 2008 04:25
Quote: "I had problems with the JT exporter"

Ummmm... that's not the JT exporter. I was using the 8.0 exporter, I think you might have got them mixed up.
I was thinking that the JT exported might work. Here's a screenshot:

Here's what happenes when I use those settings:
- If I don't play the animation, the object just doesn't show up.
- If I do play the animation, I get an error saying that the object doesn't animate.

Seriously, how do you make the little blue text come up below your message?
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 4th Apr 2008 07:34
Try checking:

under Geometry
Add Root Frame

under Animation
Add Interpolations

maybe uncheck
Spline Position and/or Rotation

That will be trial and error.

Also try Directx Retained Mode
not skin and bones

And checkmark Templates

Enjoy your day.

Login to post a reply

Server time is: 2025-06-07 12:48:50
Your offset time is: 2025-06-07 12:48:50