Use Irrlicht for a non-interactive, machinima-like 3d app?

Discussion about Irrlicht's Java wrapper
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: Use Irrlicht for a non-interactive, machinima-like 3d ap

Post by hendu »

Certainly, if you code it.
yannischris
Posts: 10
Joined: Mon Jan 02, 2012 10:26 pm

Re: Use Irrlicht for a non-interactive, machinima-like 3d ap

Post by yannischris »

Ok, thanks for the useful advice!#I will surely give it a try, and see how it goes! :-)
mongoose7
Posts: 1227
Joined: Wed Apr 06, 2011 12:13 pm

Re: Use Irrlicht for a non-interactive, machinima-like 3d ap

Post by mongoose7 »

Yes. Either create an animation in a modeller which contains a walk cycle of, say, one second duration, followed by turning to the left (one second) and waving (one second). Then you can
1. Load the model and turn animation off.
2. After 10 seconds, loop the walk animation while moving the node (update the position each time through the render loop).
3. After a further five seconds, execute the head turning animation.
4. After a further one second, loop the hand waving animation.

You can also set this up in code, though, especially for the walk animation, it would be very difficult to do without the feedback from a modelling program (the legs may twist, the feet slide or lose contact with the floor, etc). So it is best to create animations in a modelling program and just cue them in Irrlicht.
yannischris
Posts: 10
Joined: Mon Jan 02, 2012 10:26 pm

Re: Use Irrlicht for a non-interactive, machinima-like 3d ap

Post by yannischris »

Yes I see what you mean. The thing is that I don't want to create the whole animation in a modeller because in that way, I don't need Irrlicht at all. What I need is to create atomic animations in the modeller (e.g. a walking cycle animation, a waving hand animation etc) and then being able to combine them in many ways through code in Irrlicht.
mongoose7
Posts: 1227
Joined: Wed Apr 06, 2011 12:13 pm

Re: Use Irrlicht for a non-interactive, machinima-like 3d ap

Post by mongoose7 »

Well, it's possible. For example, http://irrlicht.sourceforge.net/forum/v ... on#p249310. However, you'd be better off starting from an entirely different place. For example, (I haven't tried it but) OGRE has animation separate from meshes. And what's that other renderer, Hive3d, Huge3d, Hulk3d, hmmm, I think I've forgotten.
yannischris
Posts: 10
Joined: Mon Jan 02, 2012 10:26 pm

Re: Use Irrlicht for a non-interactive, machinima-like 3d ap

Post by yannischris »

So, mongoose7, if I understand correct, you suggest that OGRE will do it better (talking about the simultaneous downloads)?
Hendu said that I can code such functionality in Irrlicht..
CuteAlien
Admin
Posts: 9628
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Use Irrlicht for a non-interactive, machinima-like 3d ap

Post by CuteAlien »

I don't know about OGRE support for this, but mixing and playing different animations for the same skeleton at the same time is indeed not supported so far in Irrlicht. Could be possible with some tricks maybe, not sure about that - but there's at least no easy way to do that for now. Sorry, 'bout that.
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
yannischris
Posts: 10
Joined: Mon Jan 02, 2012 10:26 pm

Re: Use Irrlicht for a non-interactive, machinima-like 3d ap

Post by yannischris »

Ok, thanks for the info!
Post Reply