#include <hps.h>
Classes | |
| class | File |
| class | ImportOptionsKit |
The Shader class contains objects for importing shader source files and enumerations used when defining shaders in Visualize.
|
strong |
Enumeration of the parameterization sources for shaders, i.e., how to map the shader to geometry.
| Enumerator | |
|---|---|
| Cylinder |
Use a cylindrical mapping for the shader. |
| PhysicalReflection |
Shader Parameterization. |
| Object |
Use the (x,y,z) coordinates for the object before transforms have been applied for the shader. |
| NaturalUV |
Use the natural mapping for meshes, NURBS surfaces and shells for the shader. For meshes, shaders will be stretched in the range [0,1]. For NURBS surfaces, shaders will be mapped in the range [0,(control point count - degree)]. For shells, shaders will be mapped such that u=x+z and v=x+y where (x,y,z) is in object space. |
| ReflectionVector |
Shader Parameterization. |
| SurfaceNormal |
Shader Parameterization. |
| Sphere |
Use a spherical mapping for the shader. |
| UV |
Use the mapping explicitly defined on the geometry for the shader. |
| World |
Use the (x, y, z) coordinates for the object after transforms have been applied for the shader. |