Today I found out that ScrollFrames actually crop frames. Any frame. Any. Any? YES ANY!!!
I wrote a test mod around that finding.
- 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.
Now all you need is an open mind and some free time to play with. :)
Added a spark texture test.
So the visual seperation is not that harsh.
Thus I'm now very close to the original which is:
>>> THIS! <<<
Keep up with the awesome work, Zork! You continually blow my mind with some of this stuff.
Can you explain why this method is so much better than the old method you were using (alpha fading I believe?)
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.
|All times are GMT -6. The time now is 08:00 PM.|
vBulletin © 2014, Jelsoft Enterprises Ltd
©2012 ZAM Network LLC