Animated textures

You think of something which could be added to TA3D post here! /
Vous pensez à quelque chose que l'on pourrait ajouter à TA3D, postez ici!
Post Reply
User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Animated textures

Post by Balthazar » Thu Dec 20, 2007 1:27 pm

Zuzuf, have you find the way to implement in TA3D animated textures, that used in TA for many models? (like metal makers, moho metal makers, energy storage, Penetrator tank, Krogoth and others) ?

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Thu Dec 20, 2007 3:03 pm

we need to modify the way units are drawn before it's possible, otherwise it would require to use lots of texture memory to do that.

Currently I don't know what is the most efficient way of drawing the units, so we'll see that at optimization time or maybe during holidays :).
=>;-D Penguin Powered

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Post by Balthazar » Thu Dec 20, 2007 3:38 pm

But you do know how it was implemented in TA?

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Thu Dec 20, 2007 3:57 pm

yes I know how it's done in TA, but TA uses 2D acceleration not 3D acceleration, in OpenGL you must chose the texture you want to use for rendering, then you draw your stuffs, if we have to change texture for every polygon on a model it'll be slower (ok it would require less memory and loading 3DO objects would be faster) but rendering calls can be optimized by OpenGL itself using Display Lists (very fast compared to other methods because it optimizes texture changes, geometry, etc...). But doing this would require lots of display lists (takes less memory than textures so it's still doable). Currently I've tried other solutions, when I'll have a satisfying one I'll implement it.
=>;-D Penguin Powered

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Post by Balthazar » Thu Dec 20, 2007 4:52 pm

Good, since units with animated textures must be very interesting for modders. 8)

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Post by Balthazar » Thu Dec 27, 2007 6:21 pm

Any progress with this one?

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Thu Dec 27, 2007 6:35 pm

no, I'll look at this when I'll optimize unit rendering (rendering a FatShrew is awfully slow)
=>;-D Penguin Powered

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests