Skip to content

Toggling Mesh Visibility #427

Closed Answered by rcoreilly
dmogilevsky asked this question in Q&A
Discussion options

You must be logged in to vote

There is a gi.Node flag Invisible which when set will make that Node (either a gi3d.Group or gi3d.Solid) invisible. You can do this interactively in gi3dviewer by loading an obj, clicking on Edit Scene button, editing the Children of the scene, and then selecting GoGiEditor on the first child -- this brings up a tree view of the whole loaded object structure -- then scroll the Flag field until you get to Invisible, toggle it, and then click Update on the scene dialog.

Programmatically, you can just call SetInvisible() or ClearInvisible() on any node.

Hope that helps.

  • Randy

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dmogilevsky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants