Page 1 of 1

Model animations in Q3

Posted: Sat Jan 26, 2008 11:47 pm
by Hipshot
Does Q3 support animated models through a md3 or maybe a ase? Like if I were to make a tree with moving brances, is it possible?

Re: Model animations in Q3

Posted: Sun Jan 27, 2008 12:37 am
by obsidian
AFAIK, not without modifying the code. From what I've been told, misc_models do not support animated models in Q3. I could be wrong, though.

Re: Model animations in Q3

Posted: Sun Jan 27, 2008 9:01 am
by a13n
Isn't simple animation possible, like deformVertexes or attachment to func_* via model2 key(md3 only)?

Re: Model animations in Q3

Posted: Sun Jan 27, 2008 2:09 pm
by Shallow
a13n wrote:Isn't simple animation possible, like deformVertexes or attachment to func_* via model2 key(md3 only)?
Actually, yes. There was an amazing engine model in one of the QCon mapobject contests that had moving pistons done with deformvertexes shaders. I've played with that function a bit and it's possible to get some interesting effects. It's kind of a waste to just use it for wibbly water, but at the same time frustratingly limiting compared to just using a keyframed animation.

Also, you can attach any model to a func_whatever not just md3. Make your func, and then make a misc model and target it at the func. Q3map2 then bakes the faces from the misc_model into the func, just like any other brush/patch faces. It's better than the model2 key which is really glitchy and won't work unless the md3 is in the same pk3 as the map!

Re: Model animations in Q3

Posted: Sun Jan 27, 2008 6:51 pm
by obsidian
Yeah, but those won't really help if animating moving branches. You can create a texture with a shader and translate or deform it with a shader, but that's about as sophisticated as it gets.

Re: Model animations in Q3

Posted: Mon Jan 28, 2008 7:31 am
by a13n
Shallow wrote:Also, you can attach any model to a func_whatever not just md3.
But it's only md3 that can be lit properly(dynamically) while it moves on.

Re: Model animations in Q3

Posted: Mon Jan 28, 2008 6:05 pm
by obsidian
No, you can make any model use vertex lighting.

Re: Model animations in Q3

Posted: Tue Jan 29, 2008 2:45 am
by a13n
I meant "grid lighting", not "static vertex lighting".
In any case it is vertex that is actually modulated though.

Hipshot, sorry for thread shipwreck.