-
Notifications
You must be signed in to change notification settings - Fork 417
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
WIP unit test for generateBVHModel from primitives #311
base: master
Are you sure you want to change the base?
WIP unit test for generateBVHModel from primitives #311
Commits on Jul 5, 2018
-
Add GenerateBVHSubModel variants
Identical to the GenerateBVHModel, but without ending the model, such that more geometric primitives can be added. This is useful if you want to create a BVHModel containing multiple geometric primitives.
Nico van Duijn committedJul 5, 2018 Configuration menu - View commit details
-
Copy full SHA for d9cf0be - Browse repository at this point
Copy the full SHA d9cf0beView commit details -
Refactor to use boolean to choose submodel
This commit refactors the generateBVHModel() functions to use an additional boolean argument to chose whether the geometric primitive should be added to an existing model. This seems a bit cleaner than the previously added "generateBVHSubModel" variants.
Nico van Duijn committedJul 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 4753f47 - Browse repository at this point
Copy the full SHA 4753f47View commit details -
Add doxygen group comments and change boolean name
In response to Michael Sherman's comments. Should be more clear now
Nico van Duijn committedJul 5, 2018 Configuration menu - View commit details
-
Copy full SHA for cd683c2 - Browse repository at this point
Copy the full SHA cd683c2View commit details -
Use enum class instead of boolean
This is needed to avoid implicit casts from unsigned int that would render the overload resolution impossible.
Nico van Duijn committedJul 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 65aa330 - Browse repository at this point
Copy the full SHA 65aa330View commit details -
Clearer naming of total triangle variable
In generateBVHModel for a cylinder and cone, total actually represents the total number of triangles of the bottom or top plate, not the total triangles of the entire primitive (as opposed to the other generateBVHModel variants)
Nico van Duijn committedJul 5, 2018 Configuration menu - View commit details
-
Copy full SHA for de29f8f - Browse repository at this point
Copy the full SHA de29f8fView commit details -
Add unit tests for generateBVHModel
Nico van Duijn committedJul 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 5184591 - Browse repository at this point
Copy the full SHA 5184591View commit details -
Remove some hardcoding in unit test
Nico van Duijn committedJul 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 72a7dd6 - Browse repository at this point
Copy the full SHA 72a7dd6View commit details -
Remove hardcoding in testEllipsoid
Nico van Duijn committedJul 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 0ba7815 - Browse repository at this point
Copy the full SHA 0ba7815View commit details -
Remove hardcoding in testSphere
Nico van Duijn committedJul 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 5f407e9 - Browse repository at this point
Copy the full SHA 5f407e9View commit details -
Nico van Duijn committed
Jul 5, 2018 Configuration menu - View commit details
-
Copy full SHA for e15642f - Browse repository at this point
Copy the full SHA e15642fView commit details -
Change loop ordering in for performance
So we can pull out a loop invariant
Nico van Duijn committedJul 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 685b917 - Browse repository at this point
Copy the full SHA 685b917View commit details -
Add casts to remove compiler warnings
Nico van Duijn committedJul 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 2a34839 - Browse repository at this point
Copy the full SHA 2a34839View commit details -
Nico van Duijn committed
Jul 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 72131a9 - Browse repository at this point
Copy the full SHA 72131a9View commit details
Commits on Jul 6, 2018
-
Nico van Duijn committed
Jul 6, 2018 Configuration menu - View commit details
-
Copy full SHA for eeab6b8 - Browse repository at this point
Copy the full SHA eeab6b8View commit details
Commits on Jul 9, 2018
-
Better comments and addTriangles() function
Nico van Duijn committedJul 9, 2018 Configuration menu - View commit details
-
Copy full SHA for 7361dfa - Browse repository at this point
Copy the full SHA 7361dfaView commit details -
Refactor test to use checkNumVerticesAndTris
Nico van Duijn committedJul 9, 2018 Configuration menu - View commit details
-
Copy full SHA for 45647be - Browse repository at this point
Copy the full SHA 45647beView commit details -
Add error handling to generateBVHModel
Nico van Duijn committedJul 9, 2018 Configuration menu - View commit details
-
Copy full SHA for beb1009 - Browse repository at this point
Copy the full SHA beb1009View commit details -
Add test for adding to closed models
Nico van Duijn committedJul 9, 2018 Configuration menu - View commit details
-
Copy full SHA for 77a119b - Browse repository at this point
Copy the full SHA 77a119bView commit details -
Range based for loops in testBVHModel
Nico van Duijn committedJul 9, 2018 Configuration menu - View commit details
-
Copy full SHA for 3dcafd8 - Browse repository at this point
Copy the full SHA 3dcafd8View commit details -
Nico van Duijn committed
Jul 9, 2018 Configuration menu - View commit details
-
Copy full SHA for 7c11d0d - Browse repository at this point
Copy the full SHA 7c11d0dView commit details
Commits on Jul 10, 2018
-
Refactor unit tests for generateBVHModel
Includes response to PR review, with minor comment fixes as well as a major refactor in the unit test function.
Nico van Duijn committedJul 10, 2018 Configuration menu - View commit details
-
Copy full SHA for e54d832 - Browse repository at this point
Copy the full SHA e54d832View commit details
Commits on Jul 11, 2018
-
Add hard-coding in unit test for box
Nico van Duijn committedJul 11, 2018 Configuration menu - View commit details
-
Copy full SHA for 943b65e - Browse repository at this point
Copy the full SHA 943b65eView commit details -
Remove unit test for primitive generation
Nico van Duijn committedJul 11, 2018 Configuration menu - View commit details
-
Copy full SHA for 3a480ac - Browse repository at this point
Copy the full SHA 3a480acView commit details -
WIP add unit test for primitive generation
WIP This reverts commit 3a480ac. Essentially adding the bare bones for a unit test that ensures proper BVHModel generation from geometric primitives. So far this test only checks the number of vertices and triangles, which is insufficient to assert proper functionality of the generateBVHModel() functions.
Nico van Duijn committedJul 11, 2018 Configuration menu - View commit details
-
Copy full SHA for e2ce071 - Browse repository at this point
Copy the full SHA e2ce071View commit details