renderman shader assignment
play

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


  1. 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 goals: – For home download: – To learn how to install and use a procedural • From E-RESV (renderman.zip) shading system. • Install three files (server luxo.cs.rit.edu ; None for Remote – To learn how to attach a shader to an object execution server): – Pixar_RAT – To learn to write and/or use particular shaders – Pixar_RenderMan (or Pixar_RenderManIntel) – Pixar_RATdocs • Add c:\Program Files\Pixar\prman-11.3.1\bin to your path RenderMan Shader Assignment RenderMan Shader Assignment • 1. Use: • 2. Attach shaders to objects – Create a directory, e.g. shader , that contains the shader files – Read Renderman for Poets : available from http://www.cs.rit.edu/~ncs/Courses/571/shader • http://www.cs.utexas.edu/users/amenta/eog/poets.pdf – From a command window, cd into the shader directory – Compile shaders: shader xxx.sl – Execute Renderman prman rit.rib OR prman ritwindow.rib 1

  2. RenderMan Shader Assignment RenderMan Shader Assignment • 3. Create / use simple shaders • Image Provided – Three provided: wood • Plastic (Phong) • Brick • Wood – Play around with these, modifying parameters to plastic create different images (Phong) – Download or create three other shaders and apply them to the objects in these images brick Deliverables Borrowing Shaders • Create a new image by modifying the instance • Shaders are like Makefiles variables (parameters) of each of the surface shaders – Easiest to take one that works and modify it used in this scene. • Not only allow but encourage use of others • Create a new image by downloading/creating three shaders other shaders to use with this scene. – Renderman repository • Create a new scene by introducing new geometry, • http://www.renderman.org/RMR/RMRShaders.html using surface shaders and at least one other type of • If you do use other’s shaders, be sure to shader: – Attribute the source – Light source – Allow or show results of changing shader arguments. – Volume – Displacement or transformation shader Bonus Points Best of CGII Shaders ( 2003 2) • 5 bonus points for “best of show” – As voted by you! • Bonus points for significantly changing one or more shaders. 2

  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 Remember Assessment • Due Wednesday, Nov 3 rd • 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! 3

Recommend


More recommend