Skip to content

Add visual regression tests for WebGL 3D primitives#8485

Merged
davepagurek merged 3 commits intoprocessing:dev-2.0from
aashu2006:test/webgl-3d-primitives
Feb 7, 2026
Merged

Add visual regression tests for WebGL 3D primitives#8485
davepagurek merged 3 commits intoprocessing:dev-2.0from
aashu2006:test/webgl-3d-primitives

Conversation

@aashu2006
Copy link

Resolves #8484

Changes:

This PR adds visual regression tests for WebGL 3D primitives that were not previously covered:

  • cylinder()
  • cone()
  • ellipsoid()
  • torus()

Each test renders a single primitive using a small, deterministic scene with stable lighting.
The goal is to catch visual regressions in geometry or lighting during future refactors.
No APIs or rendering behavior are changed, this is an additive test-only update.

Screenshots of the change:

Baseline screenshots for each primitive were generated and added under:
test/unit/visual/screenshots/WebGL/3D Primitives/

PR Checklist

  • npm run lint passes
  • Inline reference is included / updated (not applicable)
  • Unit tests are included / updated

@aashu2006
Copy link
Author

All checks are passing locally and on CI. Please let me know if you would like the baselines or test structure adjusted 🙂

@davepagurek davepagurek merged commit af1a881 into processing:dev-2.0 Feb 7, 2026
2 checks passed
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