Solved

Using *.3ds files with DirectX

Posted on 2000-04-17
3
283 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

895 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now