View Single Post
02-14-14, 11:16 AM   #14
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Texture is irrelevant as long as it is just a string.

I tested SetPortaitTexture. Seems to work as expected. Going to set up a layout now.

*edit*
Ok so the basic stuff is working: http://code.google.com/p/rothui/sour...SquarePortrait

To bad the PTR just went down.

*edit2*

Ok the PTR got up again. Here we go: http://www.wowinterface.com/download...ePortrait.html



So what I'm doing in the layout is. I convert a 3D unit model into a 2D circluar version. After that I use SetTexCoord to get a square version again.

Still some minor issues but the general stuff is in place to grab some ideas. I think the dropshadow function I build is pretty near aswell.

When using preset textures from a media folder stuff gets alot easier though because you can make that texture your statusbar texture.
__________________
| 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-14 at 02:51 PM.
  Reply With Quote