Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed shadows on simulation data #508

Merged
merged 2 commits into from
Aug 13, 2018
Merged

Fixed shadows on simulation data #508

merged 2 commits into from
Aug 13, 2018

Conversation

favreau
Copy link
Member

@favreau favreau commented Aug 10, 2018

No description provided.

Copy link
Contributor

@tribal-tec tribal-tec left a comment

Choose a reason for hiding this comment

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

Commit message 'managememt' typo. Maybe just say 'Fixed shadows on simulation data'? Not much management here :p

{
const uniform Light* uniform light =
attributes.self->abstract.lights[i];
const vec2f s = make_vec2f(0.5f);
Copy link
Contributor

Choose a reason for hiding this comment

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

what's the purpose of this value? comment or better name.

Copy link
Member Author

Choose a reason for hiding this comment

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

replaced by samplingLocation

}

if (attributes.shadowIntensity > 0.f)
// Remove specular color is surface is in the shades
Copy link
Contributor

Choose a reason for hiding this comment

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

'is surface' -> 'if surface'

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@favreau
Copy link
Member Author

favreau commented Aug 13, 2018

Retest this please

@favreau favreau changed the title Fixed shadow managememt on simulation data Fixed shadows on simulation data Aug 13, 2018
@favreau
Copy link
Member Author

favreau commented Aug 13, 2018

Ping

Copy link
Contributor

@karjonas karjonas left a comment

Choose a reason for hiding this comment

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

I have to trust that this works but I would appreciate a unit test with voxels so we can actually see the change graphically :)

@favreau favreau merged commit 10381fe into BlueBrain:master Aug 13, 2018
@tribal-tec tribal-tec added the bug label Sep 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants