Skip to content

multi-parenting ? #12

Open
Open
@andreasplesch

Description

@andreasplesch

As far as I can see, the scene graph allows for exactly one parent for each node, as most do. Is that correct ?

I was looking at how litescene.js could work with X3D (VRML) for import/export or as a player. X3D (and SVG) have a concept of (DEF) nodes with can be reused as USE nodes elsewhere in the graph. They are placed not as copies or clones but just exist in multiple places, and therefore can have multiple parents.

Could such multi-parenting be simulated with components or prefabs ?

Instancing is similar but in X3D the DEF/USE concept applies to any node.

For importing and playing one could just make clones, I suppose. Do the clones keep a relationship with their originals ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions