Polygons group of attributes in the The Geometry Attribute Node
Use Current UVset
When this attribute is on, the current UV set is exported as the ‘s' and `t’ primitive variables; no other UV set will be exported. When it is off, the default UV set will be exported as ‘s, t’ primitive variables; extra UV sets are exported as an array of ‘u’ values named ‘uvsets_u’ and ‘v’ values named ‘uvsets_v’; the set names are exported in a ‘uvsets_name’ string array. This attribute is off by default, and is ignored when "Output All UVsets" is turned on.
Output All UVsets
When this attribute is turned on, the UV sets are outputted as follows:
- The default UV set is output as ‘s, t’ primitive variables.
- Each other UV set is output as a float array bearing the same name as the UV set being exported.
When this attribute is off, the behaviour defined by the "Use Current UVset" attribute prevails. This attribute is off by default.
Output Vertex Color
When this attribute is checked and the attached object is a polygon mesh, any color sets it contains that defines per-vertex color will be exported to rendering. Each color set will be exported as a color array bearing the same name as the color set. Additionally, a float array is also exported; its name consists of the color set name with ‘ alpha’ appended to it. It contains ‘0’s for vertices where the color set is not defined, and ‘1’s were it is defined. This attribute is off by default. See Exporting Per-Vertex Attributes on Polygon Meshes for an example on how to use this.
Poly As Subd
When this attribute is checked, 3Delight for Maya will consider this polygonal geometry as being a smooth subdivision surface. If this attribute is off, the polygon mesh will be considered as just that, a polygon mesh. This attribute is ignored when the attached object is not a polygonal geometry, and it is off by default.
Smooth UVs
High quality rendering of textured subdivision surfaces cannot be accomplished without properly interpolated texture coordinates. This control enables precisely that. The options are:
No | No smoothing is performed. This will not lead to high quality results but has the advantage of not stretching texture coordinates over face boundaries. |
Partial | Will ask 3Delight to perform some work to minimize UV distortion on the surface. Seams are left untouched. This is the default. |
Full | Will use more advanced algorithms to minimize distortion of UV coordinates at texture seams. This will usually yield better results but might cause some textures to look misplaced. It is best to try it to see what it does. Note: This also controls the interpolation of vertex colors and other quantities that are attached to geometry’s vertices. |
Export Hard Edges (for Poly as Subd)
If the attached object is made of polygonal geometry that contains hard edges, setting this attribute to on will export the hard edges. The effect of this attribute is similar to the "Keep Hard Edges" attribute of a "Maya Subdiv Proxy" node. This attribute is ignored if the "Poly As Subd" attribute is turned off (it is off by default).
Export Creases (for Poly As Subd)
If the attached object is made of polygonal geometry and is connected to a sub-division proxy containing creases, turning this attribute on will export creases (creases on edges and vertices are exported). This attribute is ignored if the "Poly As Subd" is turned off (it is off by default).
Interpolate Boundary
When this attribute is on, boundary edges and vertices are infinitely sharp. This attribute is on by default.
Wireframe
The Wireframe attributes can be used to generate a wireframe on polygon mesh objects.
Alternately, the Layers Outlining feature (from Output: Image Layers (AOVs)) can be used to render unshaded wireframes.
Output Wireframe
When this attribute is on, curve primitives that follow the polygon edges are output along with the mesh. These new primitives are shaded like the polygon mesh. This attribute is off by default.
Raster Space Wireframe
This attribute determines how the "Wireframe Width" attribute is interpreted. When "Raster Space Wireframe" is on, the width is expressed in pixels. When it is off, the width is expressed in object space. In other words, turning on this attribute means that the wireframe width will remain constant even when the object or the camera is moving. This attribute is on by default.
Wireframe Width
This attribute defines the width or the wireframe. Its value is interpreted in pixels or in object space units depending on what the "Raster Space Wireframe" attribute is set to. This attribute is set to ‘1.0’ by default.