Cutter
|
Introduction
Cutter version 8.0.5 incorporated, for the first time, features specifically designed to
help artists expore the writing of Arnold shaders using the C programming language. Cutter
version 8.3.6 introdced many more features - see
"Whats New - Version 8.3.6".
|
Step 1: Which Version of the Arnold SDK?Launch Maya and from the Arnold menu select the "About" item. Note the version number of the "Arnold Core". In figure 1 it shows, on my computer, "6.0.0.0".
Step 2: Download the Arnold SDK
Go to: Step 3: Installing the Arnold SDK
Once the .zip or .tgz file that is appropriate for your operating system has been unzipped
move the folder to a location that suits you. It does not have to be located in a specific
directory. For example I have my SDK in this path. Step 4: Setting Up MayaOn my computer I have created the following directories. maya/projects/Arnold_shaders/ <-- compiled shaders and .mtd files will go here |_ src_c++/ <-- c++ source code files |_ src_osl/ <-- osl source code files
The users |
Step 5: Installing a C/C++ Compiler - Windows & OSX Users OnlyFollow these instructions C/C++ Compiler Installation. Step 6: Setting Up Cutter
Make sure you are using Cutter version 8.3.6 or higher. From the Edit menu open the
Preferences Tool and go o the
|
Step 7: Using Cutter to Create and Compile a ShaderFrom the Templates menu choose Arnold Shader->mkSampleShader.cpp.
7.1 Save the file as
If compilation has been successful the Step 8: Using the Shader with MayaLaunch Maya and open Hypershade. The mkU2Color node should appear in the Arnold/Utility section of the create panel.
If the node does not appear it will because of one of the following reasons: |
© 2002- Malcolm Kesson. All rights reserved.