Subversion Repositories gelsvn

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
625 4481 d 18 h jerf /trunk/apps/OBJViewer/ Adding a keyboard switch for turning hardware antialiasing on/off in the OBJViewer.  
618 4582 d 4 h jab /trunk/ Some changes to make curvature visualization work  
616 4582 d 4 h jab /trunk/ A few changes to CMakeLists.txt  
614 4583 d 5 h jab /trunk/ Fixed a problem with global variables in harmonics.cpp causing meshedit to crash on exit.  
609 4583 d 9 h jab /trunk/ I have added some patches to make cmake work for Unix Makefiles on Mac.
The old Makefile system has been removed.
Slight change to XCode project
Minor changes
 
607 4585 d 17 h jrf /trunk/ removing Visual Studio warnings and some CMake problems  
602 4590 d 8 h jab /trunk/ Removed the stale app rangescanviewer. Several changes to the XCode project which now compiles a proper framework for GEL and also compiles all test apps.  
600 4594 d 3 h jab / Build system. I have both edited the bespoke Xcode project file, played with a premake4 build generator and our cmake system. Nothing works perfectly, but cmake might end up as the best solution. The cmake file now automatically finds the GEL files, but this entails that cmake is run when a new file is added.

Functions were added to Manifold: remove_face, remove_edge, remove_vertex. These do as advertised. I also added an add_face function (not tested but very simple ... hmmm famous last words)
the cpp/h file pairs close_holes and caps_and_needles were merged into "cleanup". To cleanup I added some functions that stitch meshes together, i.e. edges which share geometric end points are stitched.
 
596 4595 d 9 h jab /trunk/ merging  
555 4992 d 6 h jrf /trunk/ Update of the stb image library used by SOIL such that it can now also write png. I haven't yet extended the SOIL API, so call stbi_write_png(...) to use the new functionality.  
492 5590 d 5 h jrf /trunk/ Repairing and cleaning the OBJ Viewer app:
- load.h and load.cpp were missing in the cmake list of the Geometry package (causing the viewer not to compile in VS).
- It was previously illegal to include draw.h after including gel_glut.h (the problem was inclusion of glew.h in header files included by draw.h. This is undesirable as an application does not necessarily need glew.h when using draw.h).
- A lot of unnecessary header files were included here and there.
 
464 5688 d 5 h jab /trunk/apps/MeshEdit/ Sparse matrix class needed for harmonics analysis  
459 5688 d 5 h jab /trunk/apps/MeshDistance/ Minor changes.  
458 5688 d 5 h jab /trunk/apps/MeshEdit/ Oops. The name of the MeshEdit window was harmonics. Changed to MeshEdit  
457 5688 d 5 h jab /trunk/apps/MeshEdit/ Now Kasia's sparse matrix based Laplace Beltrami operator works. To NOT use itm set USE_SPARSE_MATRIX to 0 in harmonics.h  
456 5688 d 5 h jab /trunk/apps/MeshEdit/ Long overdue commit. Mostly minor changes  
442 5879 d 5 h jab /trunk/apps/OBJViewer/ Loading of textures is now longer part of OBJViewer since image loading has been included in GEL via SOIL  
439 5879 d 5 h jab /trunk/apps/VolumePolygonize/ Minor changes to be able to deal with short I seem to recall  
434 5912 d 8 h jab /trunk/apps/MeshEdit/ Minor changes to incorporate that we can now load off files. Also some experimental facilities  
418 5947 d 7 h jrf /trunk/ gel_rand.cpp now added to CMakeList  
417 5948 d 1 h jrf /trunk/ Introducing gel_rand: a speed-optimized linear congruential pseudo-random number generator. It has been placed in CGLA.h. And all references to rand, srand, and RAND_MAX have been changed to gel_rand, gel_srand and GEL_RAND_MAX.  
416 6004 d 3 h jab /trunk/ Minor changes  
415 6021 d 8 h jab /trunk/ Small changes to MeshEdit to make it compatible withe latest version of GLConsole  
412 6042 d 21 h jab /trunk/apps/MeshEdit/ A numberof changes  
411 6043 d 3 h jrf /trunk/apps/MeshEdit/ Bug: harmonics.partial_reconstruct crash  
409 6044 d 4 h jrf /trunk/ bashing Visual Studio warnings  
407 6044 d 4 h jab /trunk/apps/OBJViewer/ Some files were moved and I have updated CMakeLists.txt  
406 6056 d 8 h jab /trunk/apps/MeshEdit/ A nice corroded copper renderer was added.  
403 6057 d 4 h jab /trunk/apps/MeshEdit/ I added curvature visualization and made the Renderer interface much nicer.  
402 6058 d 7 h mkm /trunk/ CMake files updated after jab's changes.  
401 6060 d 9 h jab /trunk/ Some adjustments to the renderers.  
399 6061 d 19 h jab /trunk/apps/MeshEdit/ VisObj which is responsible for drawing a single mesh in the MeshEdit application is now in its own file.
I have created a class hierarchy of renderers. This leads to a homogeneous way for drawing different appearances.
I have added some renderers: A reflection line renderer, an isophote renderer, a metallic renderer, and also
a gouraud renderer and a wireframe renderer. So far these are just for MeshEdit but could perhaps migrate to
GLGraphics.

The dual function in MeshEdit was made robust, but it will bite off a layer of polygons around any boundary.

Overall, the code is now much cleaner.
 
398 6063 d 3 h jab /trunk/apps/OBJViewer/ Wireframe drawing is now handled in GLGraphics  
397 6063 d 3 h jab /trunk/apps/MeshEdit/ I embedded the two shader programs used for drawing
harmonics and tweaked the code to provide generic
wireframe support.
 
394 6064 d 5 h jab /trunk/ Minor changes to the viewcontroller and the MeshEdit application  
391 6074 d 4 h jab /trunk/apps/MeshEdit/ A number of changes were made, and the MeshEdit application now supports
almost all of the functions that operate on the Manifold objects.
 
388 6078 d 18 h jab /trunk/apps/MeshEdit/ MeshEdit now really works. It contains a simple console interface which
allows you to try out almost any of the functions in HMesh which modify
a Manifold: Smoothing, edge refinement, face refinement, triangulation of
polygons, optimization of triangulations, Garland Heckbert simplification,
and more.

It is not perfect however, the harmonics analysis which started the whole thing
only works for small meshes, and wireframe drawing simply does not work for
non-triangles. Moreover to be really useful it should provide for plugins.
 
387 6080 d 4 h jab /trunk/apps/MeshEdit/ I added a lot of editing functions already in GEL  
386 6081 d 4 h jab /trunk/apps/MeshEdit/ Added MeshEdit. So far it can only do harmonic analysis but more should be
added
 
385 6086 d 2 h jab /trunk/ CMakefiles included.

Note that exceptions were removed from Geometry/Polygonize.cpp since it did not play nice with visual studio 2005. An improved solution is needed so that the program does not just abort.