If the purpose is just to visualize the model then there are easier ways to do so that generating a polygonal representation and rendering that. See these for more info: * http://www.opencsg.org/ * http://www.nigels.com/research/
-Corey O'Connor coreyocon...@gmail.com http://corebotllc.com/ On Sat, Jun 4, 2011 at 12:25 PM, Tom Hawkins <tomahawk...@gmail.com> wrote: > Mecha [1,2,3] is a constructive solid modeling DSL. I haven't worked > on Mecha in awhile, so this release just contains some minor cleanup > and reorganization. > > My next step is to build an OpenGL interactive visualization tool, > something like a basic CAD window to rotate and zoom around 3D models. > > What is the easiest way to generate polygon meshes from constructive > solid geometry? Marching cubes [4] seems pretty involved. > > -Tom > > [1] http://hackage.haskell.org/package/mecha > [2] https://github.com/tomahawkins/mecha > [3] http://tomahawkins.org/ > [4] http://en.wikipedia.org/wiki/Marching_cubes > > _______________________________________________ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe > _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe