5 Replies - 899 Views - Last Post: 30 October 2011 - 11:57 AM Rate Topic: -----

#1 RUAg4mer  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 33
  • Joined: 30-July 11

3DS Max to DirectX

Posted 29 October 2011 - 01:14 PM

I'm having trouble getting my 3DS max character mesh into DirectX.
I've been through the SDK and found the source code for the tiger mesh they included and I've gotten that to show up on screen. However I can't get my own mesh to show up on the screen.
This leads me to believe I'm not exporting the .x file properly. (I'm using the PandaX plug-in.)

Are there any 3DS/DirectX tutorials. Mainly 3DS max exporting tutorials. I believe that's where I'm going wrong, cuz I can get the SDK mesh to load, but not mine.

Is This A Good Question/Topic? 0
  • +

Replies To: 3DS Max to DirectX

#2 bonyjoe  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 173
  • View blog
  • Posts: 548
  • Joined: 08-September 10

Re: 3DS Max to DirectX

Posted 29 October 2011 - 01:46 PM

I have used PandaX and it worked fine, what is wrong with it? Does it not show up at all?
Was This Post Helpful? 0
  • +
  • -

#3 RUAg4mer  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 33
  • Joined: 30-July 11

Re: 3DS Max to DirectX

Posted 29 October 2011 - 01:53 PM

View Postbonyjoe, on 29 October 2011 - 01:46 PM, said:

I have used PandaX and it worked fine, what is wrong with it? Does it not show up at all?

Nope. Not at all.

I know it's not the code (C++ btw), because I ripped it from the DirectX SDK. I exported the 3ds max character mesh using the .X filetype. Dragged the .X file into the games subfolder. Changed the line of code from "tiger.X" to "soldier.X" and he doesn't show up. But if I change back to "tiger.X" a tiger shows up. (the tiger that was provided witht the sample code).

Am I exporting the wrong way? (obviously cuz they're tiger pops right up, but not my soldier).
Was This Post Helpful? 0
  • +
  • -

#4 ButchDean  Icon User is offline

  • Ex-Pro Games Programmer
  • member icon


Reputation: 876
  • View blog
  • Posts: 3,343
  • Joined: 26-November 10

Re: 3DS Max to DirectX

Posted 30 October 2011 - 04:00 AM

Does your soldier have more polys and/or vertices than the tiger model? If you haven't successfully allocated the memory to load the model it could be failing - hence not showing up on screen. You need to check that.

Also, there are no warnings when you export, right?
Was This Post Helpful? 0
  • +
  • -

#5 RUAg4mer  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 33
  • Joined: 30-July 11

Re: 3DS Max to DirectX

Posted 30 October 2011 - 11:39 AM

That could very well be it. I'll look into it. Even if it doesn't work I still find that comment helpful. I was not aware of that. Thanks.

EDIT: Well that wasn't it. It's the settings in 3DS Max I'm fairly positive. I see something on screen but it's nothing close to my mesh. It looks like ripped apart polygons sitting on the screen.

This post has been edited by RUAg4mer: 30 October 2011 - 11:50 AM

Was This Post Helpful? 0
  • +
  • -

#6 RUAg4mer  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 33
  • Joined: 30-July 11

Re: 3DS Max to DirectX

Posted 30 October 2011 - 11:57 AM

question: Could it be because I put the mesh in footstep mode then exported him? When I put the character in that mode he changes his pose, (vertices move), is that affecting my export?

Or does it even make a difference?
It took weeks to envelop the mesh properly, and he animates just fine? So where's the corruption coming from?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1