Thread Tools Display Modes
02-13-13, 03:10 PM   #1
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
DiscoKugel 2

Today I found out that ScrollFrames actually crop frames. Any frame. Any. Any? YES ANY!!!

I wrote a test mod around that finding.

Testcases are:
- Split orb (health and mana combined each in half-orb with seperated model animations and statusbars)
- health orb with model animation
- health orb with model animation and texture animationgroups (rotating galaxies) combined

Worked out perfectly.

Preview:


Mod:
http://www.wowinterface.com/download...o.php?id=22123

SVN:
http://code.google.com/p/rothui/sour....0/DiscoKugel2

Now all you need is an open mind and some free time to play with.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
  Reply With Quote
02-13-13, 05:00 PM   #2
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Added a spark texture test.



So the visual seperation is not that harsh.

DIFF:
http://code.google.com/p/rothui/source/detail?r=1048

Thus I'm now very close to the original which is:
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 02-13-13 at 05:04 PM.
  Reply With Quote
02-13-13, 06:14 PM   #3
humfras
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Oct 2009
Posts: 131
>>> THIS! <<<

Looks wonderfull.
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
  Reply With Quote
02-14-13, 11:21 AM   #4
Coote
A Scalebane Royal Guard
 
Coote's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 440
Keep up with the awesome work, Zork! You continually blow my mind with some of this stuff.
__________________

"This is the fifteen-thousandth four hundredth and ninety-eighth occurence".
  Reply With Quote
02-14-13, 11:31 AM   #5
Clamsoda
A Frostmaul Preserver
Join Date: Nov 2011
Posts: 269
Originally Posted by Coote View Post
Keep up with the awesome work, Zork! You continually blow my mind with some of this stuff.
Agreed! I was smiling when I saw how excited you were in the ScrollFrame thread. I was also following your configuration element thread, and I was nearly motivated to try some of it myself.

Can you explain why this method is so much better than the old method you were using (alpha fading I believe?)
  Reply With Quote
02-14-13, 11:48 AM   #6
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Sure.

This is the current state with alpha fading in oUF_Diablo


Since I did not know about cropping of frames, to actually see the filling texture (that depletes on value change) I had to reduce the animation opacity on value change aswell. Otherwise you will always see the animation and not recognize that you are about to die or the like.

This is the new orb with the new technique:


No more alpha blending needed since I can crop an animation while keeping 100% opacity.

Additionally as another plus I can crop animated textures on the same run. Thus I can combine galaxy animations and animation models.
Another plus is that I can now add a spark texture (which I did) without it being ontop of the animation (that only fades out/in) and looking awkward.

Of course the background and overlay textures are just that. Textures. You can replace them with any other texture giving the orb a completly different look which is what I did with the Torchlight1 look-alike.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 02-14-13 at 11:54 AM.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Released AddOns » DiscoKugel 2

Thread Tools
Display Modes

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