Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wireframe and stateset bug #117

Open
carlsonp opened this issue Jul 12, 2013 · 0 comments
Open

wireframe and stateset bug #117

carlsonp opened this issue Jul 12, 2013 · 0 comments

Comments

@carlsonp
Copy link
Member

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant