Thread Tools Display Modes
11-03-13, 07:58 PM   #1
morpheusxeno
A Flamescale Wyrmkin
 
morpheusxeno's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 126
Animated texture for KGPanels?

I have seen animated textures in UI's for minimaps they rotate in a circle, I am looking for an animated texture for the bottom that looks like black smoke.

Any suggestions?
__________________
My mother-in-law fell down a wishing well. I was amazed; I never knew they worked...
  Reply With Quote
11-03-13, 09:26 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
The "animated texture" you've seen on a rotating minimap isn't actually a single "animated image" like a GIF. WoW doesn't support GIF or any other animated image format. There are three ways to "animate" a texture in WoW:

1. Use a single texture, and rotate/scale/move it by a small amount every fraction of a second, so it appears to be spinning/shrinking/growing/moving/etc. An example of this in the default UI are the activation glows on the eclipse bar for druids -- the glow texture doesn't just appear, but is faded in smoothly, by changing its opacity many times in quick succession.

2. Use a sprite, and switch which "frame" is shown every fraction of a second. An example of this in the default UI is the animated eye on the LFG minimap button; you can see the sprite texture here: http://wowprogramming.com/utils/artb...ME/LFG-Eye.png

3. Use a series of separate textures, and switch which texture is shown every fraction of a second. This is really just a less efficient version of #2, and I'm not aware of any examples of this method in the default UI. However, #2 wouldn't work for very large images (dimension-wise, not filesize-wise) as there is an upper limit on the dimensions for images in WoW, so you would need to use #3 for such images.

So, in order to get a smoke-like animation, you would need to create each frame of the animation as a separate image, and switch between them rapidly using #2 or #3. To get a quality effect, you would probably need to use a 3D modeling program to model and animate smoke, and then render each frame of the animation out as a separate image, and then write code to animate them in WoW.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
11-03-13, 10:44 PM   #3
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
An additional option is to find an in-game model for smoke and display that instead of a static texture object. (You may check out my older AmbientAura addon for an idea of this.)
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
11-04-13, 02:39 AM   #4
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
The animated circles you saw is propably SexyMap, however there is an addon that you can configure to show animated textures and 3D models on any layer on your screen, even recolor, rotate, mirror, animate them:

http://www.curse.com/addons/wow/power-auras-classic-v4

http://www.youtube.com/watch?v=SRP6_MidlYY

http://www.youtube.com/watch?v=UpagQ8XOOkk

http://www.youtube.com/watch?v=3lrO-ua6yEo
  Reply With Quote
11-05-13, 03:11 PM   #5
morpheusxeno
A Flamescale Wyrmkin
 
morpheusxeno's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 126
Originally Posted by Seerah View Post
An additional option is to find an in-game model for smoke and display that instead of a static texture object. (You may check out my older AmbientAura addon for an idea of this.)
I like this idea, However I am also trying another.

I cannot seem to find a high quality smoke gif image online that I would like to use. This is mainly used for streaming I have tried exporting animations from wow with WMV but the quality of the gif is garbage.

Has anyone any idea where I can find a really nice smoke effect that I can use with transparent background?
__________________
My mother-in-law fell down a wishing well. I was amazed; I never knew they worked...
  Reply With Quote
11-05-13, 05:18 PM   #6
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
Originally Posted by morpheusxeno View Post
I like this idea, However I am also trying another.

I cannot seem to find a high quality smoke gif image online that I would like to use. This is mainly used for streaming I have tried exporting animations from wow with WMV but the quality of the gif is garbage.

Has anyone any idea where I can find a really nice smoke effect that I can use with transparent background?
WoW does not support GIF files.
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
  Reply With Quote
11-05-13, 05:42 PM   #7
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Yep, as I explained in my first post in this thread, you cannot use a GIF file or other animated image file in WoW. You would need to split each frame of the GIF animation out to a separate image, and write code to rapidly switch which image was displayed in WoW to make it look like a "real" animation.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Animated texture for KGPanels?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off