On Mar 16, 2006, at 8:43 AM, Joseph J. Strout wrote:

I've done this via method b), and it's really not that much of a pain. One session of sitting down with the rotate tool in Photoshop and automating the
export process, and you're done.

I've done it with POV-Ray (a freeware ray tracer) -- the advantage there is that you can have a shaded/shadowed control knob, and the shadows don't rotate along with the knob. Makes for a very convincing UI.

GarageBand has a knob similar to this... so I looked into the resources to see how it was created. It turns out that there are three (four if you count the indicator mask) separate images:

    dial01-face.tiff
    dial02-line.tiff
    dial03-line-glow.tiff
    dial04-body.tiff

The knob is assembled first with the "dial04-body.tiff" on the bottom. Then the "dial03-line-glow.tiff" and "dial02-line.tiff" are rotated and combined on top of the body -- Cocoa has very nice picture rotate functions. Finally the "dial01-face.tiff" tops it all off.

So basically you could do the same as GarageBand if you are able to rotate the line; or you could draw the line with the Graphics object and a thicker pen weight.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to