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 volume rendering in OSPRay module #190

Merged
merged 1 commit into from
Jul 28, 2017
Merged

Conversation

favreau
Copy link
Member

@favreau favreau commented Jul 26, 2017

No description provided.

@favreau favreau requested a review from tribal-tec July 26, 2017 11:47
intersectionWeights[depth] = 1.f;
intersectionColors[depth] = make_vec3f(0.f);
// intersectionWeights[depth] = 1.f;
// intersectionColors[depth] = make_vec3f(0.f);
Copy link
Contributor

Choose a reason for hiding this comment

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

?

}
}
t += self->volumeEpsilon;
}
if (self->shadows != 0.f && iteration > 0)
pathColor = pathColor * VOLUME_DEFAULT_ALPHA;
// if (self->shadows != 0.f && iteration > 0)
Copy link
Contributor

Choose a reason for hiding this comment

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

?

@favreau favreau force-pushed the master branch 2 times, most recently from f1855ef to f4eb50b Compare July 28, 2017 15:09
@@ -240,7 +244,8 @@ inline float shadedLightIntensity(const uniform AbstractRenderer* uniform self,
return intensity;
}

// AABB-Ray intersection ( http://prideout.net/blog/?p=64 ).
// AABB-Ray intersection ( http://prideot +=
// self->volumeEpsilon;ut.net/blog/?p=64 ).
Copy link
Contributor

Choose a reason for hiding this comment

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

looks strange here

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks... bad copy paste. Fixed

@favreau favreau merged commit 0190f10 into BlueBrain:master Jul 28, 2017
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