Solved

interfacing 3ds max with directx

Posted on 2003-10-27
7
16,128 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 250 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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

Title # Comments Views Activity
python UDP how do I specify an IP destination? 3 472
nearTen java challenge 8 102
bunnyEars challenge 6 139
does Jupiter 80 keyboard do chord recognition? 1 9
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

860 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