Skip to content

wireframe and stateset bug #117

@carlsonp

Description

@carlsonp

Found by @chiefkikio:

Here is the code that I tried unsuccessfully
wireframeMode = osg.PolygonMode:setMode(osg.PolygonMode.Mode.FRONT_AND_BACK,osg.PolygonMode.Mode.FILL)
mystate:setAttributeAndModes(wireframeMode)

This code runs without errors but draws a filled polygon regardless of the numeric enums put in:
wireframeMode = osg.PolygonMode()
wireframeMode:setMode(0, 1)
mystate:setAttributeAndModes(wireframeMode)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions