Issue Loading DirectX (.x) File

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
nullReference
Posts: 17
Joined: Mon Jan 08, 2018 2:45 pm

Re: Issue Loading DirectX (.x) File

Post by nullReference »

mant wrote:Use B3D instead. Both static and animated mesh work.
http://www.rtsoft.com/forums/showthread ... ort-script
Agreed. I'm currently using .obj for static and .b3d for animated, but will probably switch to all .b3d for consistency since I'm not having issues with that format.


CuteAlien wrote:Yeah, B3D probably is better. But I would still be interested in the broken model - as it might be something which is easy to fix in Irrlicht if I just had an example for it.
I'll upload a copy of the .blend and post a link this evening. I'm also curious if this is an irrlicht issue, or blender export issue...or if I just didn't do something correctly...that's also highly probable. :)
nullReference
Posts: 17
Joined: Mon Jan 08, 2018 2:45 pm

Re: Issue Loading DirectX (.x) File

Post by nullReference »

CuteAlien wrote:Yeah, B3D probably is better. But I would still be interested in the broken model - as it might be something which is easy to fix in Irrlicht if I just had an example for it.
PM'd a download link
CuteAlien
Admin
Posts: 9628
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Issue Loading DirectX (.x) File

Post by CuteAlien »

I had to copy textures manually after export, but aside from that looks fine I think:

Image

Close up:
Image

No special export settings:
Image

Note: No special code - I just loaded it in the viewer. Tested with svn trunk and with Irrlicht 1.8 (seems to be no difference).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
nullReference
Posts: 17
Joined: Mon Jan 08, 2018 2:45 pm

Re: Issue Loading DirectX (.x) File

Post by nullReference »

Interesting. I'll triple check all of my settings and have another go at it this evening. If it's working for you, I've gotta be missing something somewhere.
Post Reply