Graphics Programs Reference
In-Depth Information
Creating and adding an icon
“Daddy,whydoalltheothertoolboxesandcommandshaveniceiconsandoursdoesn't?”
“Why, we can make icons as well, son.”
Really? Can we, please? After all, nothing says “we care” like an icon. Icons in Nuke are
24×24 pixels in size and are saved as either .png or .xpm files in the .nuke directory. Let's
make a couple.
ThefirstonewillbeaniconfortheUsertoolboxitself:simplewhitetextonablackback-
ground. The second will be an icon for the SafeAreas Gizmo: a single safe area box on a
black background.
If you want to design your own icons instead, that's up to you. Just remember to make
them with the requirements mentioned in mind. Otherwise, follow these steps:
1. Create a Constant node from the Image toolbox.
2. Choose New from the Format drop-down menu.
3. Name the new format icon and set the File Size to 24 and 24. Click OK.
4. With Constant1 selected, insert a Text node after it from the Draw toolbox.
5. View Text1 in the Viewer.
6. In Text1's Message property field, type User .
7. At the bottom of the Properties panel, click the black arrow to display the Trans-
form submenu.
8. Change the Box property to: 0, 0, 24, 24.
9. Change the Size property at the top (under Fonts) to 10 ( FIGURE I.5 ) .
Figure I.5. Text1's properties.
The icon for the User menu is ready! Now you will render it ( FIGURE I.6 ) .
Figure I.6. The final icon in all its glory.
 
 
Search WWH ::




Custom Search