livecodelab icon indicating copy to clipboard operation
livecodelab copied to clipboard

think about whether doing a tree(s) matching mechanism for the graph scene would be better than the current way to reuse objects...

Open davidedc opened this issue 12 years ago • 1 comments

as in: the graphic commands build a mock scenegraph. The scenegraph is compared to the existing scenegraph, and only the parts of the scenegraph that are changes are changed.

Note that now we don't build a scenegraph, we calculate the matrix and slap it into every single object, and objects are cached.

The two ways of doing things might be very similar, maybe avoiding the matrix calculations every frame of the current way could be better though...

davidedc avatar Oct 26 '13 11:10 davidedc

note: check whether this is an actual bottleneck at the moment, because usually shrinking the window gets sketches to run at 60fps. Sending an elaborate scenegraph and updating the deltas between frames wouldn't necessarily make any difference at the moment, something so be checked before embarking on this...

davidedc avatar Nov 23 '14 12:11 davidedc