Subversion Repositories gelsvn

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
596 4604 d 16 h jab /trunk/ merging  
555 5001 d 13 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 5599 d 12 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 5697 d 12 h jab /trunk/apps/MeshEdit/ Sparse matrix class needed for harmonics analysis  
459 5697 d 12 h jab /trunk/apps/MeshDistance/ Minor changes.  
458 5697 d 12 h jab /trunk/apps/MeshEdit/ Oops. The name of the MeshEdit window was harmonics. Changed to MeshEdit  
457 5697 d 12 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 5697 d 12 h jab /trunk/apps/MeshEdit/ Long overdue commit. Mostly minor changes  
442 5888 d 12 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 5888 d 12 h jab /trunk/apps/VolumePolygonize/ Minor changes to be able to deal with short I seem to recall  
434 5921 d 15 h jab /trunk/apps/MeshEdit/ Minor changes to incorporate that we can now load off files. Also some experimental facilities  
418 5956 d 14 h jrf /trunk/ gel_rand.cpp now added to CMakeList  
417 5957 d 9 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 6013 d 10 h jab /trunk/ Minor changes  
415 6030 d 15 h jab /trunk/ Small changes to MeshEdit to make it compatible withe latest version of GLConsole  
412 6052 d 4 h jab /trunk/apps/MeshEdit/ A numberof changes  
411 6052 d 10 h jrf /trunk/apps/MeshEdit/ Bug: harmonics.partial_reconstruct crash  
409 6053 d 11 h jrf /trunk/ bashing Visual Studio warnings  
407 6053 d 11 h jab /trunk/apps/OBJViewer/ Some files were moved and I have updated CMakeLists.txt  
406 6065 d 15 h jab /trunk/apps/MeshEdit/ A nice corroded copper renderer was added.  
403 6066 d 11 h jab /trunk/apps/MeshEdit/ I added curvature visualization and made the Renderer interface much nicer.  
402 6067 d 14 h mkm /trunk/ CMake files updated after jab's changes.  
401 6069 d 17 h jab /trunk/ Some adjustments to the renderers.  
399 6071 d 2 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 6072 d 10 h jab /trunk/apps/OBJViewer/ Wireframe drawing is now handled in GLGraphics  
397 6072 d 10 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 6073 d 12 h jab /trunk/ Minor changes to the viewcontroller and the MeshEdit application  
391 6083 d 12 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 6088 d 1 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 6089 d 11 h jab /trunk/apps/MeshEdit/ I added a lot of editing functions already in GEL  
386 6090 d 12 h jab /trunk/apps/MeshEdit/ Added MeshEdit. So far it can only do harmonic analysis but more should be
added
 
385 6095 d 9 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.
 
382 6101 d 14 h jab /trunk/ a number of fixes  
374 6114 d 11 h jrf /trunk/apps/OBJViewer/ reinserting texture toggle on/off  
373 6114 d 12 h jrf /trunk/ eliminating errors and warnings in VS 2005 compile  
370 6114 d 15 h jab /trunk/apps/OBJViewer/ First of all the wireframe drawing has been put in its own file. It is a shader
based feature (SM 4.0) and the shaders are inside the file as strings.

glsl_shader.cpp and glsl_shader.h were removed from this application and added
to GLGraphics in the GEL library. I wanted to do that for some time but it means that GEL becomes directly dependent on Glew. That is not a big issue though: GEL already depends on GL and GLEW is very easy to install.

I have added another ply loader (rply.c and rply.h) while ply.c and ply.h
were removed. The new one has the benefit of also loading binary ply files, but that is now all in the Geometry directory.

objview.cpp has been changed slightly. It now loads OBJ, PLY and X3D
 
368 6116 d 10 h jrf /trunk/ Bruteforce wireframe rendering introduced in draw framework and OBJViewer. Texture toggle on/off introduced in OBJViewer.  
367 6144 d 12 h jab /trunk/ Slight changes to quadric simplification. I made the interface a little saner.  
365 6206 d 14 h jab /trunk/ minor changes.  
363 6252 d 9 h jab /trunk/ A few changes to make quadric simplification better. In particular, boundaries
are now handled well.