RenderMan Interface Specification
From Wikipedia, the free encyclopedia
RenderMan Interface Specification[1], or RISpec in short, is an API developed by Pixar Animation Studios to describe three dimensional scenes and turn them into digital photorealistic images. It includes the RenderMan Shading Language.
As Pixar's technical specification for a standard communications protocol (or interface) between modeling programs and rendering programs capable of producing photorealistic-quality images, RISpec is a similar concept to PostScript but for describing 3D scenes rather than 2D page layouts. Thus, modelling programs which understand the RenderMan Interface protocol can send data to rendering software which implements the RenderMan Interface, without caring what rendering algorithms are utilized by the latter. The interface was first published in 1988 and was designed to be sufficiently future proof to encompass advances in technology for a significant number of years.
RenderMan is often used in creating digital visual effects for the Hollywood blockbuster movies of today such as Star Wars and The Lord of the Rings.
Contents |
[edit] RenderMan Interface Specification
What set the RISpec apart from other standards of the time was that it allowed using high-level geometric primitives, like quadrics or bicubic patches, to specify geometric primitives implicitly, rather than relying on a modeling application to generate polygons approximating these shapes explicitly beforehand. Another novelty introducting by the RISpec at the time was the specification of a shading language (SL).
The RenderMan shading language allows material definitions of surfaces to be described not only by adjusting a small set of parameters, but in an arbitrarily complex fashion by using a C-like programming language to write shading procedures commonly known as procedural textures and shaders. Lighting, and displacements on the surface are also programmable using the SL language. The shading language allows, though does not insist, that each statement can be executed in a SIMD manner. Another thing that sets the renderers based on the RISpec apart from many other renderers, is the ability to output arbitrary variables as an image—surface normals, separate lighting passes and pretty much anything else can be output from the renderer in one pass.
RenderMan has much in common with OpenGL, despite the two APIs being targeted to different sets of users (OpenGL to real-time hardware-assisted rendering and RenderMan to photorealistic off-line rendering). Both APIs take the form of a stack-based state machine with (conceptually) immediate rendering of geometric primitives. It is possible to implement either API in terms of the other.
[edit] Required capabilities
For a renderer, in order to call itself "RenderMan-compliant", it must implement at least the following capabilities:
- A complete hierarchical graphics state, including the attribute and transformation stacks and the active light list.
- Orthographic and perspective viewing transformations.
- Depth-based hidden-surface elimination.
- Pixel filtering and anti-aliasing.
- Gamma correction and dithering before quantization.
- Output of images containing any combination of RGB, A, and Z. The resolutions of these files must be as specified by the user.
- All of the geometric primitives described in the specification, and provide all of the standard primitive variables applicable to each primitive.
- The ability to perform shading calculations through user-programmable shading
- The ability to index texture maps, environment maps, and shadow depth maps
- The fifteen standard light source, surface, volume, displacement, and imager shaders required by the specification. Any additional shaders, and any deviations from the standard shaders presented in this specification, must be documented by providing the equivalent shader expressed in the RenderMan shading language.
[edit] Optional advanced capabilities
Additionally, the renderer may implement any of the following optional capabilities:
- Area light sources
- Bump mapping
- Deformations
- Depth of field
- Displacement mapping
- Environment mapping
- Global illumination
- Level of detail
- Motion blur
- Programmable shading
- Special camera projections
- Spectral colors
- Ray tracing
- Shadow depth mapping
- Solid modeling
- Texture mapping
- Volume shading
[edit] Further reading
- Steve Upstill: The RenderMan Companion: A Programmer's Guide to Realistic Computer Graphics, Addison-Wesley, ISBN 0-201-50868-0
- Anthony A. Apodaca, Larry Gritz: Advanced RenderMan: Creating CGI for Motion Pictures, Morgan Kaufmann Publishers, ISBN 1-55860-618-1
- Ian Stephenson: Essential RenderMan Fast, Springer, ISBN 1-85233-608-0
- Saty Raghavachary: Rendering for Beginners: Image synthesis using RenderMan, Focal Press, ISBN 0-240-51935-3
- David S. Elbert, et al: Texturing and modeling: a procedural approach, AP Professional, ISBN 0-12-228730-4
- ^ RenderMan - Developers Corner - RI Spec. Retrieved on 2005-12-18.
[edit] See also
[edit] RenderMan compliant renderers
[edit] Miscellaneous
[edit] External links
- RenderMan Repository
- RenderMan Academy
- RenderMan-compliant renderers:
- RenderMan exporters:
- Affogato (open source, connects several of the above renderers to Softimage XSI)
- Tim Dapper's LightMan (connects several of the above renderers to Lightwave)
- Felipe Esquivel's Light-R (free, connects several of the above renderers to Lightwave)
- Liquid (open source, connects several of the above renderers to Maya)
- AnimalLogic's MayaMan (connects several of the above renderers to Maya)
- Archonus' PaxRendus (discontinued, connected several of the above renderers to 3D Studio Max)
- Graphic Primitives' XSIMan (connects several of the above renderers to Softimage XSI)
- RenderMan tools:
- Python Computer Graphics Kit (open source, contains Python bindings for the RI)
- ShaderMan (free shader building tool)
- RIBKit (open source, various RenderMan tools, e.g. a visual shader building tool called 'SLer')
- RIBShrink and RIBDepends (tools that come with 3Delight. Shrink RIBs to take less diskspace and move RIBs with dependencies to a new location or localize dependencies)
- RenderMan knowledge:
- Death Fall Tutorials
- Zhang Jian
- CG References & Tutorials by Prof. Malcolm Kesson
- RenderMan Notes (notes on shader writing)
- RenderMan Shader Language - Introduction by Dominik Susmel
- Rendering for Beginners RIB files and shaders from the book