Lights: capsule extents and distant capsule intensity #275
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!275
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/275/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-25 13:55 UTC · original
holdmysocks:six-192-capsule-intensity→master· +50 −15 · 3 files · 1 commits · merged 2026-11-25 14:17 UTCFollow-up to #264: the capsule rule for distant light intensity, plus the last LOD field.
extents(2d3f79c0). It is an inline array of three floats, which the scalar-field reader skipped. For capsules, x is the length.684c08c5is set, a capsule's distant intensity is the placed intensity / (1 + length)². Otherwise it is unchanged. This holds for 99.95 % of capsules that are either scaled or unscaled, and for 93.4 % of all sampled capsules.distant_intensityfor every light.world.jsonlnow writes it for points, spots and capsules, through the newlights::distant_intensity.0e852fda. Two u16, the second one more than the first: a per-file id shared by the lights of one object. Those lights are nearby and of one type, and 95 % of them come from one source entity. 0 / 0 on 47 %.A full
sixng lights levelsrun gives the same counts as #264: 778,985 placed, 492,298 distant and 4,950 modifier regions.cargo check --workspace --all-targetsandcargo test -p sixng-core -p sixng-gui --releasepass.