Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 DirectX 8 / 3D / Model

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker

* Forum Code is ON
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an File
Check here to include your profile signature.
Check here to subscribe to this topic.

T O P I C    R E V I E W
Vampire Posted - Aug 10 2005 : 03:09:24 AM
Here is a - i guess, common - problem.
How can be used a model in D3D 8 that changes it's shape by bones (a character) and which format is the best, or at least near enough.
Can someone come up with some ideas, tutorials, examples, source codes or something that could help me take a decision about a model format and make it work?
5   L A T E S T    R E P L I E S    (Newest First)
Eric Coleman Posted - Aug 12 2005 : 09:03:43 AM
X files can be really complicated. You can create your own data types to store in the file, so they're very flexible. As for them being slow, yes, it does take a while to load them compared to something you create yourself. Of course, after you load the file it shouldn't be that slow.

At this point you have two options for file storage:
1. Use .X files. You'll need to learn how to store and retrieve data for your game. If the exported .X file isn't quite what you need for your game, for example if the FVF format is different from what your game uses, then you'll need to write a .X -> .X file converter to make sure the data is in the correct format. You'll also need to learn how to animate the .x file data through DirectX's wrapper. The .X file should contain predefined animations that you create in a 3D drawing program.

2. Write a conversion program to convert data exported from a 3D drawing program into a data format that can be loaded by your game. Writing a data file conversion program can take a long time to create. With this method you'll have to manually animate the bones based on animation data from the exported data from the 3D program. This method can be more difficult because you'll need to learn more math to understand the animation data.
Vampire Posted - Aug 12 2005 : 12:02:40 AM
Yeah... I read it's pretty slow... Maybe, the other formats (like MDL) will be the same in a VB application... I think, I'll let these problems for a little bit later. It has to rest. Maybe it will be solved by itself - or by me, when I'm not thinking that hard...
Eric Coleman Posted - Aug 11 2005 : 10:23:12 AM
Use the DirectX .X file format.
Vampire Posted - Aug 10 2005 : 11:55:10 PM
OK. Let's say, I manage to create my caracter's mesh. The big problem is, how can I transform it with bones?
I wanted to use an existing format that already has loading, rendering and animating procedures. I want to make a game, not an engine, so I think, it's better to use an existing format for the game's development time... Don't know what to do...
Eric Coleman Posted - Aug 10 2005 : 12:08:42 PM
The best approach is to create your own format. It's not easy, but you'll learn a lot.

VBGamer © Go To Top Of Page
This page was generated in 0.06 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.