COLLADA import - proper instancing of geometry
Reported by lindsay.kay (at xeolabs) | April 17th, 2010 @ 02:09 AM
At the moment a separate SceneJS.geometry is created for each <instance_geometry> - not reusing geometry.
SceneJS.geometry nodes have a "type" property to allow underlying reuse of VBOs buffered in shader. Parser generates a fresh random type for each <instance_geometry>, defeating this.
Fix by having parser generate a type ID from url attribute of <instance_geometry>.
Comments and changes to this ticket
-
lindsay.kay (at xeolabs) April 17th, 2010 @ 04:26 AM
- Milestone cleared.
- State changed from new to resolved
Fixed - "type" now concatenation of COLLADA URL and <instance_geometry> url.
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.