Commit Graph

29 Commits

Author SHA1 Message Date
David Allemang
01043e9bce Replace ComboIterator with std::set<std::vector<int>> via combinations.hpp
Since the number of generators never exceeds 6, the maximum number of combinations is (6, 3) = 20, so the space optimizations of using an iterator is mute.

Doing this way also allows to use set_difference and set_union to deal with collections of subgroups. This is not easily possible otherwise.
2020-10-24 23:06:52 -04:00
6ff09dc375 Introduce perspective projection matrix.
Also correct a bug where the view matrix was not being used.
2020-10-13 10:57:30 -04:00
David Allemang
6b34694784 Replace Primitive vector with Eigen matrices.
template<unsigned N>
Prims<N> = Eigen::Matrix<unsigned, N, Eigen::Dynamic>

Replaces std::vector<Primitive<N>>
2020-10-12 21:57:18 -04:00
David Allemang
0534c4322c Refactor Slice / SliceRenderer to be less general; get away from "prop" overhead. 2020-10-11 18:55:43 -04:00
David Allemang
c164c319fc Cleanup and tweaks for nanogui
- clean up main-gui.cpp
- Add Primitive constructor from vector
- move ubo bindbufferbase to correct location
2020-10-11 18:00:38 -04:00
ec09506a74 remove glm dependency; split solver and geometry classes 2020-06-28 15:23:27 -04:00
dfea554289 remove broken flipping mechanics 2020-06-28 15:08:46 -04:00
350ee5652f move scene info to renderer 2020-05-22 20:37:16 -04:00
33501650b2 load wireframes from files 2020-03-18 17:29:12 -04:00
2c2b6ef96b random holes 2020-03-11 20:11:03 -04:00
9120b385c4 remove old "Mesh" class 2020-03-10 22:45:58 -04:00
edfe8947a6 tweaking program pipeline construction 2020-03-09 01:06:42 -04:00
e069088437 add some notes and static assertions about template sizes 2020-01-30 19:14:59 -05:00
b5a868c424 remove old code and add docstrings 2020-01-30 19:06:38 -05:00
295c588b40 remove memo todos since templates are faster anyway 2020-01-30 15:54:54 -05:00
f8e55db892 remove old geometry code 2020-01-30 15:31:49 -05:00
3c6949c9c6 fix segfault error from tile gens 2020-01-30 15:31:30 -05:00
3e15fa48da cleanup 2020-01-28 23:39:49 -05:00
cbedab2cb8 some results, but holey, not sure why 2020-01-28 23:26:01 -05:00
31fa8e86a9 generics don't crash, but don't work either 2020-01-28 23:18:16 -05:00
1acff9426b soft-remove "dim" from Mesh 2020-01-28 21:34:58 -05:00
f78ace2aa5 remove SimplexesList, simplify tile 2020-01-28 21:27:21 -05:00
3c629d6423 separate vao for each kind of slice 2020-01-28 16:23:14 -05:00
53aa778446 fix orientation 2020-01-27 18:16:21 -05:00
Jacob
6b03b7d9be Implement triangulate (like 95% sure it's right) - memoized
Modify recontext to reorient in special cases
Move reorient as Simplexes method
Changes in geomtest and memotest to test triangulate and memoization for triangulate
2020-01-25 21:32:17 -05:00
Jacob
12b8191987 Add dynamic rotations (in 4d)
Make simplexes argument to geometry generation functions const
Setup really cool looking parameters
2020-01-22 02:09:45 -05:00
Jacob
58700b5ea3 Added explicit to Simplexes constructor 2020-01-20 18:07:38 -05:00
Jacob
e2295687bf Fixed memoization module
Implement "raise" (called recontext)
Implement tile
2020-01-20 17:47:39 -05:00
fb33a78718 working on memoization 2020-01-08 22:03:35 -05:00