Solved

Using *.3ds files with DirectX

Posted on 2000-04-17
3
328 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
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.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

691 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