Apple Shake 4 Tutorials Uživatelský manuál Strana 235

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 260
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 234
Chapter 8 Working With Macros 235
3 Set the xSize parameter to 75.
4 Set the ySize parameter to 40.
The result is an image that is 75 x 40 pixels.
To save the icon file:
1 Attach an Image–FileOut node to the Fit node.
2 In the File Browser, use the Directories pop-up menu to navigate to your $HOME/nreal
directory.
3 Open the icons directory.
You should have created this directory in the first step of the tutorial. If not, use the
Create Directory button to make this directory.
4 Type “Filter.RotateBlur.nri in the File Name field, then click OK.
The new icon is assigned to the Filter tab. (The .nri extension stands for “Nothing Real
Icon.” )
5 Choose Render > Render FileOut Nodes.
6 In the Render Parameters window, set renderFileOuts to All.
7 Click Render.
A 320 x 243 thumbnail appears. (Yes, correct, it is rather bizarre to have a thumbnail
that is larger than the actual image being rendered.)
You now have the two necessary elements: the macro and the icon. You now need to
write the code to place both in the interface.
8 Quit Shake. (You must restart Shake to write UI code.)
9 Launch a text editor.
10 Paste (or type if you are reading the printed version of this tutorial) the following into
the text editor:
nuiPushToolBox("Filter");
nuiToolBoxItem("RotateBlur", RotateBlur(0,0,0));
nuiPopToolBox();
//These set the slider ranges for the blur parameter
//nuiDefSlider("RotateBlur.blur", 0, 400 );
The first line indicates the Tool tab where the macro is placed—the Filter tab in this
case. If the tab does not exist yet (for example, the MySwankFunctions tab), Shake
creates it for you. The second line adds the function into the tab. The first occurrence of
“RotateBlur” calls the icon file that you just created.
Zobrazit stránku 234
1 2 ... 230 231 232 233 234 235 236 237 238 239 240 ... 259 260

Komentáře k této Příručce

Žádné komentáře

Desa VDDVF36STN/STP manuels

Manuels d'utilisation et guides de l'utilisateur pour Foyers Desa VDDVF36STN/STP.
Nous fournissons des manuels en pdf 1 Desa VDDVF36STN/STP à télécharger gratuitement par type de document : Manuel de l'utilisateur






Plus de produits et de manuels pour Foyers Desa

Modèles Type de document
VVDR30 Manuel de l'utilisateur   Desa VVDR30 User's Manual, 28 pages
H Manuel de l'utilisateur   Desa H User's Manual, 28 pages
T Manuel de l'utilisateur   Desa T User's Manual, 48 pages
CDR3924PT Manuel de l'utilisateur   Desa CDR3924PT User's Manual, 28 pages
CHDV36NR Manuel de l'utilisateur   Desa CHDV36NR User's Manual, 44 pages
(V)3612ST Manuel de l'utilisateur   Desa (V)3612ST User's Manual, 16 pages
Ga3750a Manuel de l'utilisateur   Desa Ga3750a User's Manual, 12 pages
V50S Manuel de l'utilisateur   Desa V50S User's Manual, 18 pages
CDCFTP Manuel de l'utilisateur   Desa CDCFTP User's Manual, 42 pages
VTGF33PRA Manuel de l'utilisateur   Desa VTGF33PRA User's Manual, 40 pages
(V)PN36-A Manuel de l'utilisateur   Desa (V)PN36-A User's Manual, 20 pages
CDV41N/P Manuel de l'utilisateur   Desa CDV41N/P User's Manual, 36 pages
CCL3930NR Manuel de l'utilisateur   Desa CCL3930NR User's Manual [en] , 28 pages
CGCFTP Manuel de l'utilisateur   Desa CGCFTP User's Manual, 28 pages
EVDDVF36STN Manuel de l'utilisateur   Desa EVDDVF36STN User's Manual, 28 pages
LDL3924NR Manuel de l'utilisateur   Desa LDL3924NR User's Manual, 28 pages
(V)TC36GPE Series Manuel de l'utilisateur   Desa (V)TC36GPE Series User's Manual, 38 pages
CFS18NR Manuel de l'utilisateur   Desa CFS18NR User's Manual, 26 pages
R Manuel de l'utilisateur   Desa R User's Manual, 40 pages
VMH26TNC Manuel de l'utilisateur   Desa VMH26TNC User's Manual, 32 pages