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.
KillerXX7
Posts: 22 Joined: Sat Oct 07, 2006 4:50 pm
Location: Russian Federation
Contact:
Post
by KillerXX7 » Wed Feb 14, 2007 8:57 pm
Hello everybody!
I have one problem:
I have a model of a weapon, this model made for "Left-Hand", but i need it to Right-Hand.
How can switch this model to right hand? Like in HL (Counter-Strike).
Think Fast, Act Right... OR Be Dead
sio2
Competition winner
Posts: 1003 Joined: Thu Sep 21, 2006 5:33 pm
Location: UK
Post
by sio2 » Wed Feb 14, 2007 10:50 pm
Scale by -1 in X. You'll need to reverse the backface culling mode, though, which I'm not sure Irrlicht lets you do.
KillerXX7
Posts: 22 Joined: Sat Oct 07, 2006 4:50 pm
Location: Russian Federation
Contact:
Post
by KillerXX7 » Thu Feb 15, 2007 12:43 pm
Thanks,
sio2 !
I have set EMF_BACK_FACE_CULLING to False, it help to sove problem with culling backfaces.
All looks cool, but this made scene some slowly (i'm using hi-poly models)
Is there a way to reverse backface culling?
Think Fast, Act Right... OR Be Dead
hybrid
Admin
Posts: 14143 Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:
Post
by hybrid » Thu Feb 15, 2007 11:21 pm
Not yet. mandrav submitted a patch, but I have not yet commited it.