NURBS Texture Mapping
The following classes are those involved in texture mapping NURBS surfaces. There may be 99 texture channels assigned to each surface.
NURBSSurface
- This class (also described above) has aNURBSTextureChannelSet
which is a table of pointers to all the mapping channels used by this surface. This class also has methods to return a reference to theNURBSTextureSurface
associated with a specific channel.NURBSTextureChannelSet
- This class holds a table of pointers to all theNURBSTextureChannel
data for a surface. There are methods to returns the table data by channel or by index and a method to add a new texture channelNURBSTextureChannel
- This class holds and provides access to a single texture channel. It holds theNURBSTextureSurface
instance associated with the channel. It also holds the channel number (a number in the range 0 to 98), the tiling, offset, and angle parameters as well as the Generate UV flag.NURBSTextureSurface
- A texture surface is a surface associated with the surface sub-object. 3ds Max uses the texture surface to control how materials are mapped. In effect, changing the texture surface stretches or otherwise changes the UV coordinates for the surface, altering the mapping. This class maintains a mapper type which controls how the texture surface generates the mapping. This class also provides access to the individual UV mapping coordinates. These coordinates areNURBSTexturePoint
objects.NURBSTexturePoint
- This class holds and provides access to a single UV mapping coordinate.