LoadCollada to create subgraph structure corresponding to Collada schema
Reported by lindsay.kay (at xeolabs) | June 2nd, 2010 @ 01:56 AM | in V0.7.6
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
Comments and changes to this ticket
-
lindsay.kay (at xeolabs) June 23rd, 2010 @ 08:41 AM
- Milestone set to V0.7.6
- Tag set to scenejs.instance
- State changed from new to resolved
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
SceneJS provides easy access to WebGL through a simple and declarative JavaScript API. The SceneJS API is functional, which enables its scene definitions to be really compact and expressive, while hooking into other JavaScript code just that little bit more smoothly.