Author Archives: sitexgraphics

A dictionary function for the shading language

For the Air 11 release we’ve added new shaders that compute a physical sky environment and sun position based on geographical location and date/time.  We thought it would be nice to be able to enter a location using a simple … Continue reading

Posted in Shaders | Tagged , | Comments Off on A dictionary function for the shading language

How to render a normal map

A poster to the Rhino newsgroup recently asked for an easy way to render a normal map based on a model in Rhino.  This simple surface shader can be used to render such a tangent-space normal map with Air: surface … Continue reading

Posted in Shaders | Tagged , , | Comments Off on How to render a normal map

Viewing the rendering mesh

Air renders most geometric primitives as meshes of polygons.  Viewing the rendering mesh can sometimes help diagnose errors or optimize rendering, whether the mesh is a polygon mesh provided as input or the result of tessellating a smooth surface primitive. … Continue reading

Posted in Outlines | Tagged , | Comments Off on Viewing the rendering mesh