Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » Blogs

Me blogging about random interface topics.
Old

How to handle SetBackdrop and do 1px stuff in just one call

Posted 10/26/10 at 1:40 AM by zork
Updated 10/26/10 at 1:49 AM by zork
Made a tutorial addon to let you experiment with settings.

rSetBackdrop : WoWInterface Downloads : Graphic UI Mods

SetBackdrop allows
- glows/shadow
- inner glow/inner shadow
- border
- background

If you trick with the texture color and alpha layer you can even combine three effect at once.

Example

Flat texture:


The...
zork's Avatar
Don Flamenco
Posted in Uncategorized
Comments 0 zork is offline
Old
Rating: 2 votes, 5.00 average.

Bringing the WOW to your interface

Posted 09/21/10 at 4:35 AM by zork
Updated 09/23/10 at 4:14 PM by zork
Blizzard finally released an API function to display models in CATACLYSM that do not have to be in your cache. This is just plain awesome for the reason that an ingame model viewer is now possible. So I made one: rIngameModelViewer : Cataclysm Beta : WoWInterface Downloads. The benefit of this is quite major. Assume you want to add some art to your interface that should be cool but on the same side use very low CPU.

Doing animations in LUA is pretty costy since you need onUpdate scripts...
zork's Avatar
Don Flamenco
Comments 0 zork is offline
Old

oUF_Simple - oUF 1.4 tutorial layout

Posted 06/29/10 at 3:54 AM by zork
The following is a tutorial on how to create an oUF layout for oUF 1.4.

I'm showing how to do gradient backdrop shadows via using SetBackDrop and how to spawn units and apply functions.

CODE
trunk - rothui - Project Hosting on Google Code

DOWNLOAD
oUF_Simple.zip - rothui - oUF 1.4 tutorial layout - Project Hosting on Google Code

MAJOR FILES
- config
- lib (functions)
- core (layout)

FEATURES
- how to do outer glow
...
zork's Avatar
Don Flamenco
Comments 1 zork is offline
Old

How to create an outer glow by using SetBackdrop

Posted 12/09/09 at 7:12 AM by zork
Updated 12/09/09 at 7:18 AM by zork
What I'm going to describe here is a technique that is used by Neal and Garry to create outer glows of any color for any frame in any size with the need of only one texture.

This is done by making full use of the SetBackdrop Widget.

Before we start we need two textures.
- one for the background
- one for the outer glow

Both textures will be of white color. The alpha layer of the background texture will be filled with full white aswell....
zork's Avatar
Don Flamenco
Posted in Interface Design
Comments 0 zork is offline
Old

Make textures rotate without the need of onUpdate

Posted 10/26/09 at 5:08 AM by zork
Updated 10/26/09 at 9:08 AM by zork
I recently learned a bit more about the animation system from Blizzard that is imo way to underused by most addon authors.

Maybe it's just because the have no clue that it exists or maybe they are not capable of doing (which I doubt). I think its laziness. In my opinion the reward of getting into it will be worth it.

I'm using the new animation system from Blizzard at the minimap and for the orbs. You can create really cool stuff without major texture spam. Some basic...
zork's Avatar
Don Flamenco
Posted in Interface Design
Comments 0 zork is offline