Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

LoadCollada to create subgraph structure corresponding to Collada schema

#101

When loading a .DAE, the SceneJS.LoadCollada node currently creates an ad-hoc subgraph that bears no structural resemblance to the Collada format.

Now that we have SceneJS.Symbol and SceneJS.Instance nodes, we can actually structure the subgraph very closely to the Collada schema, where elements such as materials and geometry are held within Symbols in "library" subgraphs to be refered to in "scene" subgraphs using Instances. This would support inspection of the subgraph by client code that knows the Collada model and schema, and therefore what nodes to look for. This would also greatly simplify the parser design - it could just scoop up nodes blindly instead of following their instance relationships.

Refer to this example for how SceneJS.Symbol and SceneJS.Instance nodes work:
http://www.scenejs.org/ide.html?url=http://scenejs.org/library/v0.7...

More Info

The wiki has more info:
http://scenejs.wikispaces.com/Instancing+COLLADA

Reported by lindsay.kay (at xeolabs) · June 2nd, 2010 @ 01:56 AM

State: resolved
Milestone: V0.7.6

Activity

  1. lindsay.kay (at xeolabs)
    lindsay.kay (at xeolabs)
    • Milestone set to V0.7.6
    • Tag set to scenejs.instance
    • State changed from new to resolved

    June 23rd, 2010 @ 08:41 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.