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.

COLLADA Import - automatically insert bounding volumes

#3

Have COLLADA parser automatically wrap generated SceneJS.geometry nodes in SceneJS.boundingBox nodes for visibility culling.

This involves having the parser find the extents of geometry vertices. It might even transform them by the modelling transforms specified in the COLLADA, then wrap the SceneJS transform nodes with the boundingBox, or even just transform the vertices there and then and throw out the transforms.

Reported by lindsay.kay (at xeolabs) · April 17th, 2010 @ 02:04 AM

State: resolved
Milestone: V0.7.3

Activity

  1. lindsay.kay (at xeolabs)
    lindsay.kay (at xeolabs)
    • State changed from new to resolved

    Solution

    • For this milestone, only one level of boxing is provided per COLLADA file. Each geometry gets a bounding box, regardless of its complexity. To naively generate a hierarchy based on document structure makes risky assumptions about spatial locality. The entire COLLADA file does not get an uber-box because it may contain scattered elements, eg. some geometry that's close to the origin, but distant light sources, or maybe a skybox. Perhaps a top-down algorithm (eg. subdivision) could be implemented for future versions.
    • There was no advantage to be gained in pre-instancing geometry during parsing and pulling bounding boxes up to enclose their instancing transformations - SceneJS is optimised to handle handle static transforms by memoising matrices, where there is no matrix computation to be avoided with the bounding box there anyway.

    April 20th, 2010 @ 02:17 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.