Solved

Using *.3ds files with DirectX

Posted on 2000-04-17
3
293 Views
Last Modified: 2013-12-04
I know that *.3ds can be converted into *.x files but i don't know that how to use *.x files in my program. I am using DirectX APIs. please give me any expert any material, tutorial, notes or code.
0
Comment
Question by:Ik_Khan_Pk
3 Comments
 
LVL 2

Expert Comment

by:kamarey
ID: 2737518
Hi,
it doesn't matter, which file format you will use. Look here for some of them:
www.wotsit.org
The files *.x are of ascii format, so you can open it with notepad and you will understend its structure,
And look here:
http://www.xdsoft.com/explorer/
this is program, which converts some very big amount of different formats.
0
 
LVL 5

Expert Comment

by:Jan Louwerens
ID: 2738286
I don't have a reference to check against, so I'm just pulling this from memory.

I beleive you can create a MeshBuilder object, and from that object you can call a function called Load() with a couple of the parameters being the filename ("scene.x") and a flag saying that the Mesh is being loaded from a file (something like D3DMESH_FROMFILE). Sorry I can't be more helpful or provide source code, but that's all I can remember right now.
0
 
LVL 4

Accepted Solution

by:
rickson earned 25 total points
ID: 2780007
You can get the tutorial through the Direct X SDK Documentation + examples and through MSDN Library
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
game engine recommendation 3 719
AGK (App Game Kit) to work with Window's Visual Studio 2013 (Community, C++) 4 343
Fibonacci challenge 11 123
triangle challenge 4 156
Artificial Intelligence comes in many forms, and for game developers, Path-Finding is an important ability for making an NPC (Non-Playable Character) maneuver through terrain.  A* is a particularly easy way to approach it.  I’ll start with the algor…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question