scene-graph icon indicating copy to clipboard operation
scene-graph copied to clipboard

Add features helping transform/visibility propagation

Open tville opened this issue 7 months ago • 2 comments

Hi! No expectations here since I'm opening a completely unsolicited PR.

Anyway, I have been using the library in a rendering engine experiment, I like the quite simple to-the-point design and would primarily like to add a couple of things to more easily add transform & visibility propagation when working with dirty flags for these, i.e. one wants to mark sub-trees as dirty so that attributes are propagated selectively, while unchanged parts of the graph are skipped.

Also added a mutable version of iter_out_of_order.

BR Jerker

tville avatar Sep 15 '25 20:09 tville

Hey! I'm on vacation and will take a look when I am back. Thank you for the work!

sanbox-irl avatar Oct 12 '25 16:10 sanbox-irl

Hey! I'm on vacation and will take a look when I am back. Thank you for the work!

Great, no rush! I have zero ego here and just want/need these kind of features, I do not care much about the attribution or so if you'd feel like implementing things in a different way. But am also available to modify based on feedback.

I also drafted some ability to iterate from node with access to node index - the below is just a PR to my fork ATM to not clutter this one even more, since this current PR is from my master branch. https://github.com/tville/scene-graph/pull/4/files

tville avatar Oct 29 '25 22:10 tville