Solved

Using *.3ds files with DirectX

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

734 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