-
Notifications
You must be signed in to change notification settings - Fork 165
Proposed changes for V5.0
Lindsay Kay edited this page Feb 1, 2016
·
8 revisions
SceneJS V5.0 will contain some API changes that will break backwards compatibility, along with a bunch of optimizations that worked out well for xeoEngine.
Use arrays for node attributes such as positions and colors, instead of objects. Eg instead of
{x:1, y:2, z:3}
we would have
[1,2,3]
- Use numeric state IDs within the renderer core for faster state tracking.
- Asynch tasks, eg. geometry generation, node creation etc, will be pushed as tasks to a global queue which will be pumped on each frame, to try to keep the FPS stable.
- Node attribute accessors will be properties that fire correspondingly-named change events when updated, similar to xeoEngine component attributes.