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
555 5004 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 5602 d 6 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 5700 d 5 h jab /trunk/apps/MeshEdit/ Sparse matrix class needed for harmonics analysis  
459 5700 d 5 h jab /trunk/apps/MeshDistance/ Minor changes.  
458 5700 d 5 h jab /trunk/apps/MeshEdit/ Oops. The name of the MeshEdit window was harmonics. Changed to MeshEdit  
457 5700 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 5700 d 5 h jab /trunk/apps/MeshEdit/ Long overdue commit. Mostly minor changes  
442 5891 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 5891 d 5 h jab /trunk/apps/VolumePolygonize/ Minor changes to be able to deal with short I seem to recall  
434 5924 d 8 h jab /trunk/apps/MeshEdit/ Minor changes to incorporate that we can now load off files. Also some experimental facilities  
418 5959 d 8 h jrf /trunk/ gel_rand.cpp now added to CMakeList  
417 5960 d 2 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 6016 d 4 h jab /trunk/ Minor changes  
415 6033 d 8 h jab /trunk/ Small changes to MeshEdit to make it compatible withe latest version of GLConsole  
412 6054 d 21 h jab /trunk/apps/MeshEdit/ A numberof changes  
411 6055 d 3 h jrf /trunk/apps/MeshEdit/ Bug: harmonics.partial_reconstruct crash  
409 6056 d 4 h jrf /trunk/ bashing Visual Studio warnings  
407 6056 d 5 h jab /trunk/apps/OBJViewer/ Some files were moved and I have updated CMakeLists.txt  
406 6068 d 8 h jab /trunk/apps/MeshEdit/ A nice corroded copper renderer was added.  
403 6069 d 4 h jab /trunk/apps/MeshEdit/ I added curvature visualization and made the Renderer interface much nicer.  
402 6070 d 8 h mkm /trunk/ CMake files updated after jab's changes.  
401 6072 d 10 h jab /trunk/ Some adjustments to the renderers.  
399 6073 d 20 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 6075 d 4 h jab /trunk/apps/OBJViewer/ Wireframe drawing is now handled in GLGraphics  
397 6075 d 4 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 6076 d 5 h jab /trunk/ Minor changes to the viewcontroller and the MeshEdit application  
391 6086 d 5 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 6090 d 19 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 6092 d 4 h jab /trunk/apps/MeshEdit/ I added a lot of editing functions already in GEL  
386 6093 d 5 h jab /trunk/apps/MeshEdit/ Added MeshEdit. So far it can only do harmonic analysis but more should be
added
 
385 6098 d 3 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 6104 d 8 h jab /trunk/ a number of fixes  
374 6117 d 5 h jrf /trunk/apps/OBJViewer/ reinserting texture toggle on/off  
373 6117 d 6 h jrf /trunk/ eliminating errors and warnings in VS 2005 compile  
370 6117 d 9 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 6119 d 3 h jrf /trunk/ Bruteforce wireframe rendering introduced in draw framework and OBJViewer. Texture toggle on/off introduced in OBJViewer.  
367 6147 d 5 h jab /trunk/ Slight changes to quadric simplification. I made the interface a little saner.  
365 6209 d 8 h jab /trunk/ minor changes.  
363 6255 d 3 h jab /trunk/ A few changes to make quadric simplification better. In particular, boundaries
are now handled well.
 
361 6373 d 20 h jab /trunk/apps/OBJViewer/ Added my shader loader functions to the GEL OBJViewer applications