Skip to content

Conversation

@mrdoob
Copy link
Owner

@mrdoob mrdoob commented Nov 7, 2025

Description

Implements z-depth sorting between geometric elements (faces, lines), Sprites, and custom SVGObjects in SVGRenderer.

Changes:

  • Added unified render list that merges and sorts all renderable items (elements, sprites, and SVGObjects) by render order and z-depth
  • Implemented GC-free stable sort for both Projector and SVGRenderer to avoid garbage collection during rendering
  • Optimized object pooling pattern for zero-allocation rendering
  • Added OrbitControls to svg_sandbox example for interactive testing
Screen.Recording.2025-11-07.at.6.02.03.PM.mov

@mrdoob mrdoob added this to the r182 milestone Nov 7, 2025
@mrdoob mrdoob merged commit 43324e6 into dev Nov 7, 2025
9 checks passed
@mrdoob mrdoob deleted the svg-sorting branch November 7, 2025 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants