Weapon Model

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.
Post Reply
MetaMapper
Posts: 18
Joined: Mon Aug 27, 2007 5:40 am
Location: Vienna, Austria

Weapon Model

Post by MetaMapper »

Hi dudes...
i wanna load a weapon... what format should it be? i tried to load .mdl and .3ds but it didnt work correct... what format should a model be and how can i change it?

greetz
Nope.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Well, mdl is not supported, so no wonder that it does not work. But 3ds works, what's the problem? There's a feature list with supported mesh formats in the Irrlicht website.
MetaMapper
Posts: 18
Joined: Mon Aug 27, 2007 5:40 am
Location: Vienna, Austria

Post by MetaMapper »

my mistake... 3ds works... but i cant see anything (it loaded the mesh successfuly)
i tried this model:

http://www.rocky3d.com/free3d/weapons/9mm.zip

when u unpack u ll find a 9mm.3ds file... is this file compatible?

if yeah its just a camera scale or position mistake...

thx, greetz
Nope.
MetaMapper
Posts: 18
Joined: Mon Aug 27, 2007 5:40 am
Location: Vienna, Austria

Post by MetaMapper »

got it... it was just a camera problem... thx anyways...

another question... the weapon (node) is lookin like its lyin on the ground u know:
______
| _____|
| |O
| |
---

how can i rotate the camera to get it look like its in someones hand (from behind)?
Nope.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

You should rotate the weapon, not the camera. Seems like 180 around x and 90 around z, but you should try until it looks right.
Post Reply