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
601 4598 d 18 h jab /trunk/ The include statements for header files have been changed. Instead of including, like say

#include <CGLA/Vec3f.h>

we now use

#include "../CGLA/Vec3f.h"

for all files in the GEL library source tree (i.e. apps and test are not altered).

The point is that if GEL is used as an OSX framework and I include a GEL header, I have to do it like this:

#include <GEL/HMesh/myheader.h>

Now, inside myheader.h I may include CGLA/Vec3f.h, but how should this file be found? If I just add the GEL
framework as a framework, the path to the GEL headers is not added to the header search path because the
framework name (in this case GEL) is part of the header path. If all headers had been in one directory that
would not have mattered, since Vec3f.h would be in the same directory as myheader.h. But it is not. So, I
have made things more relative and it works well.
 
600 4601 d 1 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.
 
598 4602 d 6 h jrf /trunk/src/ Bug: CMake unable to generate project. Fix: Removing deleted source files from CMake lists.  
597 4602 d 6 h jab / Some console stuff was not up to the right version  
594 4602 d 7 h jab /trunk/src/GLGraphics/ Resolved conflicts  
563 4898 d 3 h awk /trunk/  
561 4914 d 22 h awk /trunk/ Added GLGraphics::Console, a Quake-style console.

Added test application for console (test/GLGraphics-console).

Fixed Vec3f operator>>. The following now works:

CGLA::Vec3f in(0,1,2);
std::stringstream ss;
ss << in;
CGLA::Vec3f out;
ss >> out;
assert(in == out);

Didn't test any other VecXX types or Matrix types.. They might be broken.

Misc:
Fixed CMake Policy CMP0005 error.
Missing #include <iterator> in Manifold.cpp.
Disable ExportBuildSettings (deprecated in CMake)
 
555 4999 d 4 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.  
503 5560 d 4 h jrf /trunk/src/GLGraphics/ correction in comment  
502 5560 d 4 h jrf /trunk/src/GLGraphics/ GLSL shader update: Deleting shaders before returning 0 and printing filenames of loaded shaders when there is a compiler problem.  
492 5597 d 3 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.
 
449 5882 d 8 h jrf /trunk/src/GLGraphics/ small useful extension of the SOIL interface  
447 5886 d 2 h jab /trunk/src/GLGraphics/ Fixed some include guards  
441 5886 d 2 h jab /trunk/src/GLGraphics/ Loads textures now via SOIL  
432 5919 d 6 h jab /trunk/src/GLGraphics/ Allows drawing of Indexed face sets  
424 5932 d 6 h jrf /trunk/src/GLGraphics/ tab to space indentation  
414 6035 d 21 h jrf /trunk/src/GLGraphics/ My graphics driver requires
#extension GL_EXT_geometry_shader4 : enable
 
409 6051 d 2 h jrf /trunk/ bashing Visual Studio warnings  
402 6065 d 5 h mkm /trunk/ CMake files updated after jab's changes.  
400 6068 d 17 h jab /trunk/ Some minor changes.  
396 6070 d 1 h jab /trunk/src/GLGraphics/ I have added the SinglePassWireFrameRenderer which is a
fast path for triangle meshes.
I have addedd the IDBufferWireframeRenderer which is
less fast but should handle anything.
draw has grown some functions for wireframe drawing,
but you will need to use IDBufferWireframeRenderer directly,
it keeps a lot of state and it is difficult to make a
convenience function.
 
394 6071 d 3 h jab /trunk/ Minor changes to the viewcontroller and the MeshEdit application  
392 6081 d 2 h jab /trunk/ Many mostly minor changes. The QuatTrackball and GLViewController had
some questionable code that I improved. Fixed a bug in the loader.
 
385 6093 d 0 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.
 
373 6112 d 3 h jrf /trunk/ eliminating errors and warnings in VS 2005 compile  
372 6112 d 6 h jab /trunk/ Minor changes to draw and the Xcode project  
369 6113 d 1 h jab /trunk/src/GLGraphics/ The SOIL - simple opengl image library is in the public domain. I added it to
GEL because it is much simpler to use and more compact than DevIL.
By including it in the actual GEL distribution, we also lower the number
of external dependencies by 1 while slightly increasing compilation time.
 
368 6114 d 0 h jrf /trunk/ Bruteforce wireframe rendering introduced in draw framework and OBJViewer. Texture toggle on/off introduced in OBJViewer.  
362 6254 d 17 h jab /trunk/src/ Some added documentation and also I added the tesselation routine  
344 6414 d 1 h jab /trunk/ The power eigensolution method was slightly broken. It seems to work now.  
339 6477 d 6 h jab /trunk/src/GLGraphics/ Added ply view to OBJViewer  
331 6619 d 3 h jab /trunk/src/ Added a draw function for HMesh  
324 6655 d 5 h jab /trunk/src/ Some changes. Mostly a nasty precision issue has been fixed with regard
to 4x4 determinants. KDTrees have also been improved.
 
321 6662 d 18 h jab /trunk/ No log message.  
299 6742 d 3 h jrf /trunk/ The SPD branch has been merged with the main branch.
This means that Bounding Box Hierarchies, BSP Trees, and two new applications have been added.
 
277 6822 d 6 h jrf /trunk/src/ The int_pow function in CGLA has been updated to run with O(log(n)) complexity.

The QuatTrackBall has been updated.
 
271 6836 d 3 h bj /trunk/ removed .vcproj and .sln files from SVN  
204 7072 d 4 h jrf /trunk/src/GLGraphics/ Minor bug corrected with respect to zero rotation  
198 7079 d 3 h bj /trunk/ Added Visual Studio 2005 compatibility  
195 7080 d 6 h jrf /trunk/ warning pragmas corrected.
Added messages stating that some preprocessor directives are needed for HMesh to work with MSVC8.