You are on page 1of 20

Reyes and Shader Pipeline

Shuen-Huei Guan
Digimax Inc.
2007/03/06
The Reyes rendering pipeline
Reyes: generating ribs

Maya -- mtor --> .rib
Reyes: Geometric Primitives

Geometric Primitives
− Parametric

Quadrics
− Polygons &

Polyhedra
− ...
Reyes: Bounding & Dicing

Bounding & Spliting

Dicing
Reyes: Bound-Split

Bounding & Spliting
− viewing volume
− back-face culling

ex, for ambient occlusion
Attribute “cull” “hidden” 0
− to disable bouding of viewing volume/frustrum

Attribute “cull” “backfacing” 0
− to disable back-face culling
Reyes: Dicing

Dicing
− micropolygons
− Shading Rate
− Bucket Size
− Maximum Grid Size
Reyes: Dicing (cont'd)

Dicing
− Dicing Camera
− Raster Oriented

ex, for ambient occlusion
Attribute “dice” “rasterorient” 0
− view-independent dicing
After Bound-Split & Dicing

Reyes
− Vast visual complexity
− Motion blur
− Speed and memory limitations

It seems bound-split & dicing is not enought!!!
− Bucketing
− Occlusion Culling
Reyes: Shading

Shading before Hiding

Parallel Shading

Antialiasing
Reyes: Shading & Bounding(Hiding)

Shading before Hiding
− Displacement Shader
Reyes: Shading Antialising

Antialiasing
− Supersampling
− Filtering
RenderMan shader evaluation pipeline
Shader Example

shader of tb_ch_driver's
face

Slim's Ensemble
− per-node attributes
− surface + displace +
volume + RIBBox + ...
Shader Example: Slim Network
RenderMan shader pipeline (review)
Terms you should know (from satan)


Shading Rate

Quantize/Quantization

AOV ( Arbitrary Output Variable )/pass

Motion Blur

Shutter Angle

Pixel Samples/Pixel Filter/Filter Width

Raster Oriented(or not)

Trace/Shadow Bias

Samples
Reyes VS. OpenGL


Comparing Reyes and OpenGL on
a Stream Architecture

John D. Owens, Brucek Khailany,
Brian Towles, and William J. Dally

2002 Eurographics/SIGGRAPH
Workshop on Graphics Hardware.
References

Advanced RenderMan: Creating CGI for Motion Pictures
− Chapter 4, 6

RenderMan Documentation (on svn machine)

http://en.wikipedia.org/wiki/Reyes_rendering

Antialiasing 的理論 by
hotballhttp://www.csie.ntu.edu.tw/~r89004/hive/aatheory/page
_1.html
Following Reading

Advanced RenderMan
− Chapter 3: Rib Spec
− Chapter 7: Intro to Shading Language
− Chapter 6.5: Rendering Artifacts

The RenderMan Shading Language Guide
− a book by look dev TD at Walt Disney Feature
Animation Studios.
− TBA: ~March 2007