Community
Arnold General Rendering Forum
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

c++ shader writing - transition from RenderMan to Arnold

4 ANTWORTEN 4
Antworten
Nachricht 1 von 5
Anonymous
507 Aufrufe, 4 Antworten

c++ shader writing - transition from RenderMan to Arnold

I am transitioning from writing Pattern plugins for RenderMan to writing shaders for Arnold. I have made some progress but I badly need to find example c++ code to help me development my skills. Is there a download site where I can get sample shader code, examples of how to write procedural plugins etc?

4 ANTWORTEN 4
Nachricht 2 von 5
Anonymous
als Antwort auf: Anonymous

Nachricht 3 von 5
Stephen.Blair
als Antwort auf: Anonymous

Those are ancient. Instead, check out the SItoA source on https://github.com/Autodesk/sitoa



// Stephen Blair
// Arnold Renderer Support
Nachricht 4 von 5
Anonymous
als Antwort auf: Anonymous

Thanks Stephen. A very good resource.

Nachricht 5 von 5
Anonymous
als Antwort auf: Anonymous

Thank you Stephen. When a shader is built and loaded by Hypershade it has Out Color and Out Transparency as its outputs. I think I am correct in saying that only one of the AtParamValue members can be assigned a value. For example,

sg->out.RGB() = AtRGB_value;

or

sg->out.FLT() = float_value;

My question is how does a shader assign RGB values to BOTH Out Color and Out Transparency? Finally, have any detailed docs been published that explains the nitty gritty of shader writing?

Many thanks for you help.

Malcolm

Savannah College of Art and Design

Savannah

Georgia

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report