Skip to content

TextureWireframe

TextureWireframe#

(Wireframe)

Go to User page.

Description#

Show wireframes of objects. This works only for objects seen by primary rays (from a camera).

Public Attributes#

Type Name Visual Hint Description
double[3] face_color VISUAL_HINT_RGB Color of faces.
double[3] edge_color VISUAL_HINT_RGB Color of edges.
double[3] sub_edge_color VISUAL_HINT_RGB Color of sub edges.
double edge_size VISUAL_HINT_SUBPIXEL Set the size of edges in pixels.
double sub_edge_size VISUAL_HINT_SUBPIXEL Set the size of sub edges in pixels.
bool enable_anti_aliasing VISUAL_HINT_DEFAULT When enabled, edges are anti-aliased.

Inherited Public Attributes#

Type Name Visual Hint Description
bool pass_through VISUAL_HINT_DEFAULT If checked, the current texture is not evaluated and the value of the attribute selected in Pass Through Attribute is directly forwarded.
string master_input VISUAL_HINT_TAG Name of the attribute that will be used as output if Pass Through is enabled.
bool invert VISUAL_HINT_DEFAULT If checked, the texture is inverted.
double opacity VISUAL_HINT_PERCENTAGE Set the opacity of the texture.

CID#

class "TextureWireframe" "Texture" {
    #version 0.9
    icon "../icons/object_icons/texture_wireframe.iconrc"
    category "/Texture/Utility"
    doc "Show wireframes of objects. This works only for objects seen by primary rays (from a camera)."
    attribute_group "input" {
        rgb "face_color" {
            doc "Color of faces."
            texturable yes
            animatable yes
            value 0.0 0.0 0.0
        }
        rgb "edge_color" {
            doc "Color of edges."
            texturable yes
            animatable yes
            value 1 1 1
        }
        rgb "sub_edge_color" {
            doc "Color of sub edges."
            texturable yes
            animatable yes
            value 0.5 0.5 0.5
        }
    }
    attribute_group "wireframe" {
        subpixel "edge_size" {
            doc "Set the size of edges in pixels."
            texturable yes
            animatable yes
            numeric_range yes 0.0 1000000
            ui_range yes 0.0 10
            value 1
        }
        subpixel "sub_edge_size" {
            doc "Set the size of sub edges in pixels."
            texturable yes
            animatable yes
            numeric_range yes 0.0 1000000
            ui_range yes 0.0 10
            value 0.8
        }
        bool "enable_anti_aliasing" {
            doc "When enabled, edges are anti-aliased."
            animatable yes
            value yes
        }
    }
    set "master_input" {
        private no
        hidden no
        saveable yes
        texturable no
        animatable no
        slider no
        numeric_range no 0.0 1
        ui_range no 0.0 1
        dg_active yes
        dg_cyclic no
        dirtiness_pass_through no
        read_only no
        shading_variable no
        experimental no
        advanced no
        overriden no
        promote_attribute no
        allow_expression yes
        localizable yes
        value "face_color"
    }
}