Re: [Haskell-cafe] ANN: mecha-0.0.5

2011-06-05 Thread John Lask
On 6/06/2011 3:58 AM, Tom Hawkins wrote: Another goal of the project is to generate 2D prints from 3D models. Any idea how hard is this going to be? Basically it needs to identify features (holes, edges, etc), then project these features to an orthographic plane, alone with associated dimension

Re: [Haskell-cafe] ANN: mecha-0.0.5

2011-06-05 Thread Andrew Coppin
As I understand it, this is a Very Hard Problem. This is (one of the reasons) why there are so few converters from POV-Ray to mesh-based formats; it's highly non-trivial to tesselate CSG. POV-Ray is pretty fast. I had contemplated just rendering a bunch of POV-Ray images to emulate a realtime 3

Re: [Haskell-cafe] ANN: mecha-0.0.5

2011-06-05 Thread Stephen Tetley
On 5 June 2011 20:20, Vo Minh Thu wrote: > One thing that would be neat for you, but I have no idea if it exists, > would be to turn directly the CSG models to 2d vector graphics. > I don't know if it is CSG, but in the TeX world there is Gene Ressler's 3D modelling program Sketch that generates

Re: [Haskell-cafe] ANN: mecha-0.0.5

2011-06-05 Thread Vo Minh Thu
2011/6/5 Tom Hawkins : > On Sun, Jun 5, 2011 at 10:41 AM, Andrew Coppin > wrote: >> On 04/06/2011 08:25 PM, Tom Hawkins wrote: >> >>> What is the easiest way to generate polygon meshes from constructive >>> solid geometry?  Marching cubes [4] seems pretty involved. >> >> As I understand it, this i

Re: [Haskell-cafe] ANN: mecha-0.0.5

2011-06-05 Thread Tom Hawkins
On Sun, Jun 5, 2011 at 10:41 AM, Andrew Coppin wrote: > On 04/06/2011 08:25 PM, Tom Hawkins wrote: > >> What is the easiest way to generate polygon meshes from constructive >> solid geometry?  Marching cubes [4] seems pretty involved. > > As I understand it, this is a Very Hard Problem. This is (o

Re: [Haskell-cafe] ANN: mecha-0.0.5

2011-06-05 Thread Carter Schonwald
the algorithms in the CGAL library might be a good starting point in terms of looking into other algorithmic approaches http://www.cgal.org/ it has a excellent set of references for its component parts On Sun, Jun 5, 2011 at 11:41 AM, Andrew Coppin wrote: > On 04/06/2011 08:25 PM, Tom Hawkins wro

Re: [Haskell-cafe] ANN: mecha-0.0.5

2011-06-05 Thread Andrew Coppin
On 04/06/2011 08:25 PM, Tom Hawkins wrote: What is the easiest way to generate polygon meshes from constructive solid geometry? Marching cubes [4] seems pretty involved. As I understand it, this is a Very Hard Problem. This is (one of the reasons) why there are so few converters from POV-Ray

Re: [Haskell-cafe] ANN: mecha-0.0.5

2011-06-04 Thread Corey O'Connor
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

[Haskell-cafe] ANN: mecha-0.0.5

2011-06-04 Thread Tom Hawkins
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.