Skip to content

Change step and start position to spawn probes inside the volume instead of its borders#2

Open
michelchafouin wants to merge 1 commit into
SpockBauru:mainfrom
michelchafouin:patch-1
Open

Change step and start position to spawn probes inside the volume instead of its borders#2
michelchafouin wants to merge 1 commit into
SpockBauru:mainfrom
michelchafouin:patch-1

Conversation

@michelchafouin
Copy link
Copy Markdown

I would usually place the edges of the Lightmap Probe Grid volume according to my geometry in the level.
When precisely adjusting the volume face to my wall, the probe would get generated too close to the wall surface, sometimes inside the wall.

image

This change makes sure that probes are distributed inside the volume and not on the volume borders.

image

Feel free to make it optional for legacy reasons, but from my experience with other engines, this is how I would expect it to work.

I would usually place the edges on the volume according to my geometry in the level.
When precisely adjusting the volume face to my wall, the probe would get generated too close to the wall surface, sometimes inside my wall.
This change makes sure that probes are distributed inside the volume and not on the volume borders.
@SpockBauru
Copy link
Copy Markdown
Owner

Sorry, but the initial probe placement is made this way because you are supposed to use the cut operations. If a probe is inside walls, it should be cut with "Cut Obstructed Probes" or "Cut Inside Objects".

The probes on edge also benefits placement on irregular and organic environments, because you know exactly where the initial placement is, even when partially obstructed in complex scenes.

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