Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Samples are starting at the boundaries of the global AABB #217

Merged
merged 1 commit into from
Dec 2, 2015

Conversation

chevtche
Copy link
Contributor

@chevtche chevtche commented Dec 2, 2015

No description provided.

@chevtche
Copy link
Contributor Author

chevtche commented Dec 2, 2015

retest this please

@@ -164,6 +164,14 @@ struct RayCastRenderer::Impl
tParamNameGL = glGetUniformLocation( program, "invModelViewMatrix" );
glUniformMatrix4fv( tParamNameGL, 1, false, frustum.getInvModelViewMatrix( ).array );

tParamNameGL = glGetUniformLocation( program, "globalAabbMin" );
Copy link
Contributor

Choose a reason for hiding this comment

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

globalAABBMin

Copy link
Contributor

Choose a reason for hiding this comment

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

Add a note while you are dividing by two.

@bilgili
Copy link
Contributor

bilgili commented Dec 2, 2015

add a changelog to notify which fix number you have fixed. I did not do that before myself on the previous 3 fixes, but you can do it :)

@chevtche
Copy link
Contributor Author

chevtche commented Dec 2, 2015

I am a bit lost... There is no issue opened for this one and also this issue was not existing in the previous release because it was introduced by this recent nyquist limit computation

Should I write in the changeog something like: "Imporvment: Samples start from the boundaries of the global AABB"

???

@chevtche
Copy link
Contributor Author

chevtche commented Dec 2, 2015

Ready to merge ?? :)

@@ -164,6 +164,16 @@ struct RayCastRenderer::Impl
tParamNameGL = glGetUniformLocation( program, "invModelViewMatrix" );
glUniformMatrix4fv( tParamNameGL, 1, false, frustum.getInvModelViewMatrix( ).array );

// Because the volume is centered to the origin we can compute the volume AABB by using
// the volume total size.
Vector3f halfWorldSize = _volInfo.worldSize / 2.0;
Copy link
Contributor

Choose a reason for hiding this comment

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

const

@chevtche
Copy link
Contributor Author

chevtche commented Dec 2, 2015

Updated

@bilgili
Copy link
Contributor

bilgili commented Dec 2, 2015

+1

bilgili pushed a commit that referenced this pull request Dec 2, 2015
Samples are starting at the boundaries of the global AABB
@bilgili bilgili merged commit 5ca40f2 into BlueBrain:master Dec 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants