Solved

Using *.3ds files with DirectX

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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 tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

746 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

11 Experts available now in Live!

Get 1:1 Help Now