Results 1 to 2 of 2

Thread: instance_node question

  1. #1

    instance_node question

    I am curious why an instance_node element isn't allowed to appear directly insode a visual_scene element. I'd expect to be able to use an instance_node wherever a node is usable; this seems to be an unnecessary exception.

    It appears the only way for a visual_scene to use nodes from a library that is to create a node specifically to nest them into. Which isn't that serious a limitation, but still.

  2. #2
    Senior Member
    Join Date
    Aug 2004

    Re: instance_node question

    Good question! Only the <node> element can contain <instance_node> elements. The schema is designed that way for a few of reasons.

    1. A <node> is a place that defines a local coordinate system.[/*:m:36tb6ajm]
    2. <instance_node> is an instantiation of a place within a place.[/*:m:36tb6ajm]
    3. <visual_scene> is not a <node> and therefore not a place.[/*:m:36tb6ajm]
    4. The visual scene contains one or more distinct places (<node> hierarchies) to visualize.[/*:m:36tb6ajm]

    The <instance_node> and <library_node> elements encourage modular content representing hierarchical coordinate systems without adding other semantics that you find in traditional run-time scene graphs.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts