?
Solved

interfacing 3ds max with directx

Posted on 2003-10-27
7
Medium Priority
?
16,178 Views
Last Modified: 2013-12-26
hello i am new to game programming.
ofcource i am okay with directx API  and windows API.
i would like to design a  city (buildings,roads,parks,
trees,vehicles etc, ) and animate my game charecters
along with them.i would like to create them with 3ds max (the entire scene) and later  load  them  using direct x .could somebody tell me how to attach a 3d scene built in 3ds max  with  directx.also what is 3ds max script?
and is it possible to control the 3dmax script using
directx and windows api.

thank you very much

 srinivasa raju
0
Comment
Question by:n_srinivasaraju
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 1

Expert Comment

by:Peonic
ID: 9646404
There's two ways you could go about this really, firstly 3d studio can Export directly to ".x" files which direct X can load (there's lots of direct3d tutorials in the sdk regarding this). Secondly would be to parse the 3d studio files yourself - a quick search on google will no doubt uncover lots of 3d studio file loader C++ apps/source code.
0
 
LVL 1

Accepted Solution

by:
Peonic earned 1000 total points
ID: 9646423
Oh and max script is a scripting language within 3d studio which allows coders to make their own plugins, for example, you could make a max script which exports 3d models directly into the quake model format, or one which generates texture co-ordinates on meshes - basically it's just there to save time on behalf of the artist, it's no use for what you're doing.
0
 

Expert Comment

by:catchmanpreet
ID: 12718659
The XSkinExp.dle plugin for Max 5.0 or later is useful for this purpose. Note that this plugin exports the models as the are oriented in MAX. The coordinate system is not rotated to correspond with that of Direct3D. check it up...
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Expert Comment

by:sunilsi
ID: 13222659
u can also do by converting u  r 3d max models into .3ds or mdl .there is lot of information aviailiable on net how to open this format like this one http://members.fortunecity.com/shadowgl/Pages/index.html which show how to open .mdl files this is with sourcecode.
0
 

Expert Comment

by:chanedward
ID: 13255390
How come the link on the"sdk" direct us to something that has nothing to do with the question. Is it some kind of trick to get advertising money?
0
 

Expert Comment

by:sunilsi
ID: 13598387
we can export the 3dmax models into x file and use the directx APIs to load the mode. i m also facing this problem to export inio x files there are many plugins aviliable on net ,
0
 

Expert Comment

by:catchmanpreet
ID: 13624312
I made a plugin for Max that exports the game data from max to the format my engine likes it. Camera , lights, sounds and model hierarchy can be exported. But believe me, max sdk is so poorly documented and also the OOP design of max... my god. But still one can get through by using the IGameExport API of MAX after experimenting a bit with it.

At last the physique.h of character studio is very difficult to use with IGame so one has to again go for max sdk. finally, x file format itself is a little bit complication.

so the essence is start making your x files using hand written codes first. When u understand how it can be extended for ur use, go for implementing ur own plugin for exporting the models, lights, cutscenes, etc.

otherwise if only models are to be exported the use XSkinexp.dle or conv3ds utilities.
enjoy gaming
chao
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
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…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

807 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