Jump to content

  • Log In with Google      Sign In   
  • Create Account


Can import models into direct3d immediate mode?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 meganova75   Members   -  Reputation: 134

Like
Likes
Like

Posted 29 October 1999 - 01:42 AM

Thanks for all your replies to my last question. I am going to jump into direct3d
immediate mode and leave RM alone. One thing
though, Direct3dRM allows you to import .x files and use animation sets with just a few
method calls. Since RM is built on top of IM,
it must be possible to import x files with IM......right????

Sponsor:

#2 simon_brown75   Members   -  Reputation: 123

Like
Likes
Like

Posted 27 October 1999 - 10:17 PM

When you say possible, you can load .x files, but you have to do it yourself. IM and D3DX don't support any 3d file formats. There is a demo in the DX7 SDK specifically about loading .x files though, so have a look at that first.

#3 D   Members   -  Reputation: 122

Like
Likes
Like

Posted 28 October 1999 - 05:21 AM

What I do is when I create my Direct3D IM object I create an RM object too. Now when you want to load an .x file create a Direct3dRMMeshBuilder and use its load function. Then you can use the meshbuilders functions to get the vertices or any other information you need.

#4 Cruxis   Members   -  Reputation: 122

Like
Likes
Like

Posted 29 October 1999 - 01:42 AM

Well,

The simpliest would be to use:

D3DFILE

That handles the load of .x files.
Look it up, its in the .h file under
samples\d3dim\include I think.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS