RenderMan Shader Assignment So You Want to Write RenderMan shaders - - PDF document

renderman shader assignment
SMART_READER_LITE
LIVE PREVIEW

RenderMan Shader Assignment So You Want to Write RenderMan shaders - - PDF document

RenderMan Shader Assignment So You Want to Write RenderMan shaders Due: Monday, May 3 rd RenderMan Shader Assignment RenderMan Shader Assignment 1. Installation: Experimentation with procedural shaders Loaded in ICL6 Three


slide-1
SLIDE 1

1

So You Want to Write RenderMan shaders

RenderMan Shader Assignment

Due: Monday, May 3rd

RenderMan Shader Assignment

  • Experimentation with procedural shaders
  • Three goals:

– To learn how to install and use a procedural shading system. – To learn how to attach a shader to an object – To learn to write and/or use particular shaders

RenderMan Shader Assignment

  • 1. Installation:

– Loaded in ICL6 – For home download:

  • From E-RESV (renderman.zip)
  • Install three files (server luxo.cs.rit.edu; None for Remote

execution server):

– Pixar_RAT – Pixar_RenderMan (or Pixar_RenderManIntel) – Pixar_RATdocs

  • Add c:\Program Files\Pixar\prman-11.3.1\bin to your

path

RenderMan Shader Assignment

  • 1. Use:

– Create a directory, e.g. shader, that contains the shader files available from http://www.cs.rit.edu/~ncs/Courses/571/shader – From a command window, cd into the shader directory – Compile shaders: shader xxx.sl – Execute Renderman prman rit.rib OR prman ritwindow.rib

RenderMan Shader Assignment

  • 2. Attach shaders to objects

– Read Renderman for Poets:

  • http://www.cs.utexas.edu/users/amenta/eog/poets.pdf
slide-2
SLIDE 2

2

RenderMan Shader Assignment

  • 3. Create / use simple shaders

– Three provided:

  • Plastic (Phong)
  • Brick
  • Wood

– Play around with these, modifying parameters to create different images – Download or create three other shaders and apply them to the objects in these images

RenderMan Shader Assignment

  • Image Provided

plastic (Phong) brick wood

Borrowing Shaders

  • Shaders are like Makefiles

– Easiest to take one that works and modify it

  • Not only allow but encourage use of others

shaders

– Renderman repository

  • http://www.renderman.org/RMR/RMRShaders.html
  • If you do use other’s shaders, be sure to

– Attribute the source – Allow or show results of changing shader arguments.

Deliverables

  • Create a new image by modifying the instance

variables (parameters) of each of the surface shaders used in this scene.

  • Create a new image by downloading/creating three
  • ther shaders to use with this scene.
  • Create a new scene by introducing new geometry,

using surface shaders and at least one other type of shader:

– Light source – Volume – Displacement or transformation shader

Bonus Points

  • 5 bonus points for “best of show”

– As voted by you!

  • Bonus points for significantly changing one
  • r more shaders.

Best of CGII Shaders ( 2003 2)

slide-3
SLIDE 3

3

Best of CGII Shaders (2003 3)

RenderMan Shader Assignment

  • Deliverables
  • Shader code that you used
  • Pertinent rib and .h files
  • A minimum of three images (see previous slide)
  • Readme file describing

– Who worked on project – A list of images and the shaders and parameters used to create them – Entry into competition! – Request for bonus points and why

Assessment

  • 7 points

– Produce at least one image modifying at least a single parameter in each of the wood2, brick, and plastic shaders that produces an identifiable change.

  • 7 points

– Produce at least one image by changing shading argument values for three other shaders, either downloaded or written

  • 7 points

– Produce at least one image with new geometry and including at least one non- surface shader

  • 4 points

– Readme file with specified items included

  • Points premised on readable and documented code!

Remember

  • Due Wednesday, Nov 3rd