QuestionQ45

VerifiedCustomizing USD

Given the following scene, which prims need their visibility opinions updated so that only the sphere is visible?

#usda 1.0  
def Xform "World"  
\{  
    token visibility = "invisible"  
    def Xform "Xform"  
    \{  
        def Scope "Scope"  
        \{  
            token visibility = "invisible"  
            def Sphere "Sphere"  
            \{  
            \}  
            def Cube "Cube"  
            \{  
            \}  
        \}  
    \}  
\}  
Choose three
Explanation

Set the visibility of World and Scope to inherited to remove the invisible opinions that hide Sphere. Set Cube to invisible so it remains hidden. Sphere and Xform can retain their default inherited visibility. An invisible ancestor hides all its descendants, and a child cannot override that invisibility. (openusd.org)

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!