how to programically remove part of 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
koto
Posts: 7
Joined: Sun Aug 24, 2008 3:06 pm

how to programically remove part of model

Post by koto »

Hi,

I've a node loaded into my scene. The node is created by loading dwarf.x
http://www.psionic3d.co.uk/gallery/albu ... /dwarf.zip

I'd like to programically remove (or hide) the axe (joint called "weapon") from his hand.

Is it possible with the engine?

Koto
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

It doesn't look like there are any methods to do that. On the bright side, Irrlicht is relatively easy to modify. Do you fancy having a pop at it?
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

A better way could be to remove the weapon completely in a 3d modelling tool and use a separate weapon node. That one can be attached to the joint and animated as before. Exchanging the weapon would happen using the usual scene node interface.
koto
Posts: 7
Joined: Sun Aug 24, 2008 3:06 pm

Post by koto »

Hi,
hybrid wrote:A better way could be to remove the weapon completely in a 3d modelling tool and use a separate weapon node. That one can be attached to the joint and animated as before. Exchanging the weapon would happen using the usual scene node interface.
Yes I also came to this idea, unfortunately Blender refused to open this model and I do not know any other free app capable of opening x files.

Eventually I could try to edit x file using text editor, maybe that is not so hard in this case...
pera
Posts: 460
Joined: Wed May 14, 2008 1:05 pm
Location: Novi Sad, Serbia
Contact:

Post by pera »

dwarf model is made by psionic3d, there is model in different formats on his site:
http://www.psionic3d.co.uk/gallery/thum ... hp?album=2
Post Reply