Skip to content

feat(lights): complete Slice I extras — groups, solo, IES, area lights (#491)#842

Merged
fernandotonon merged 3 commits into
masterfrom
feat/lights-slice-i-remaining-491
Jul 11, 2026
Merged

feat(lights): complete Slice I extras — groups, solo, IES, area lights (#491)#842
fernandotonon merged 3 commits into
masterfrom
feat/lights-slice-i-remaining-491

Conversation

@fernandotonon

Copy link
Copy Markdown
Owner

Summary

  • Adds user light collections (group/dissolve/enable, JSON round-trip via groupKind: "collection")
  • Adds per-viewport solo-light visibility toggles during render passes
  • Adds IES LM-63 profile import with spotlight cone approximation and polar gizmo plot
  • Adds optional area lights (ENABLE_AREA_LIGHTS, default ON) using multi-point proxy lights + gizmos

Closes remaining #491 acceptance criteria after light linking (#828).

Test plan

  • UnitTests --gtest_filter="IesProfileTest.*:LightGroupLibraryOgreTest.*:LightLinkingOgreTest.*" (11/11 pass on Linux/Xvfb)
  • QtMeshEditor builds on Linux
  • Manual: create light collection from 2+ selected lights, dissolve, enable/disable group
  • Manual: solo one light per viewport; verify other viewports unaffected
  • Manual: browse .ies on spotlight; confirm cone + gizmo polar plot
  • Manual: set area light rectangle/disk/line; confirm proxy lights + gizmo

Made with Cursor

Adds user light collections, per-viewport solo visibility, LM-63 IES profile
import with gizmo polar plot, and optional area-light proxies for #491.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Jul 11, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@fernandotonon, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 56 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: bc2e9622-9390-4f69-baff-a5207c8c7886

📥 Commits

Reviewing files that changed from the base of the PR and between 2e314a1 and 2010285.

📒 Files selected for processing (28)
  • CLAUDE.md
  • CMakeLists.txt
  • qml/PropertiesPanel.qml
  • src/AreaLight.cpp
  • src/AreaLight.h
  • src/CMakeLists.txt
  • src/IesProfile.cpp
  • src/IesProfile.h
  • src/IesProfile_test.cpp
  • src/LightGroupController.cpp
  • src/LightGroupController.h
  • src/LightGroupLibrary.cpp
  • src/LightGroupLibrary.h
  • src/LightGroupLibrary_test.cpp
  • src/LightManager.cpp
  • src/LightManager.h
  • src/LightPropertiesController.cpp
  • src/LightPropertiesController.h
  • src/LightVisualizer.cpp
  • src/OgreWidget.cpp
  • src/SceneLightsIO.cpp
  • src/SceneLightsIO.h
  • src/ViewportLightSoloController.cpp
  • src/ViewportLightSoloController.h
  • src/commands/LightCommands.cpp
  • src/commands/LightCommands.h
  • src/mainwindow.cpp
  • tests/CMakeLists.txt
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/lights-slice-i-remaining-491

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Resolve CMakeLists.txt conflict: keep 3.20.0 base and retain
ENABLE_AREA_LIGHTS from Slice I.

Co-authored-by: Cursor <cursoragent@cursor.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d7be828f5e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/ViewportLightSoloController.cpp Outdated
Comment thread src/LightManager.cpp
Comment thread src/AreaLight.cpp
Comment thread src/IesProfile.cpp Outdated
Save pre-solo visibility instead of re-reading fromHandle during render
pass; persist user enabled in light_user_enabled binding for area lights;
apply IES power from snapshot base (idempotent); index candela horizontal-major.

Co-authored-by: Cursor <cursoragent@cursor.com>
@sonarqubecloud

Copy link
Copy Markdown

@fernandotonon
fernandotonon merged commit 0aeb3ed into master Jul 11, 2026
21 checks passed
@fernandotonon
fernandotonon deleted the feat/lights-slice-i-remaining-491 branch July 11, 2026 02:56
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.

1 participant