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 wont display properly

Author
Message
FROGGIE!
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: in front of my computer
Posted: 14th Jun 2004 15:20
Ive made a 3d model in milkshape and its fine as long as its static, but when i try to play it it dissapears into(what appears to be) a single polygon.

Ive made sure that: object is selected when exporting, im not in animation mode when exporting, exporting as directx 8.0 file, exporting meshes/materials/animations, root bone is locked, frame offset is set to 1

has ne1 else had this problem? if so how did you get round it.

the code ive used to see the model is:



i would be grateful for any help.

I should have changed my signature when asked
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 15th Jun 2004 10:34
I don't know why your model's getting messed up, but your code has some unnecessary elements. Try this:



DB automatically positions the object at 0,0,0 and also automatically positions and points the camera appropriately to see the object correctly.

Another thing with .x files, you don't need to use the TEXTURE OBJECT command. For some convenient reason DB automatically textures .x objects.

Crazy Donut Productions, Current Project: KillZone
Web Site Button Does Not Work, Visit Here: http://www.geocities.com/crazydonutproductions/index.html

Login to post a reply

Server time is: 2025-05-28 22:30:30
Your offset time is: 2025-05-28 22:30:30