OpenGL 3D viewer for ImplicitCAD.
Allows quick preview of ImplicitCAD SymbolicObj3 objects by transforming NormedTriangleMesh into format accepted by GPipe.
Based on GPipe-Test
nix-build or nix-shell & cabal afterwards.
Via cabal repl:
import Graphics.Implicit import Graphics.Implicit.Viewer view $ sphere 10 animate $ \t -> unionR 1 [ sphere 5, cylinder2 1 3 (4 + 5 * t) ] Experimental support for animating objects is available - objects can be parametrized by time variable in [0..1] interval and viewed using animate function.
animSample :: Double -> SymbolicObj3 animSample t = sphere (2 + t*2) animate animSampleLeft mouse button controls camera rotation, scroll wheel zooming, holding space increases animation speed.
Two demo executables are included
implicitviewfor testing view functionalityimplicitanimanimated variant
