-
Notifications
You must be signed in to change notification settings - Fork 46
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
Conversation
intersectionWeights[depth] = 1.f; | ||
intersectionColors[depth] = make_vec3f(0.f); | ||
// intersectionWeights[depth] = 1.f; | ||
// intersectionColors[depth] = make_vec3f(0.f); |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
f1855ef
to
f4eb50b
Compare
@@ -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 ). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks strange here
There was a problem hiding this comment.
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
No description provided.