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 4648 d 1 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 4650 d 8 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.
 
595 4651 d 14 h jab /trunk/src/ Merged version  
540 5339 d 0 h jrf /trunk/src/Util/ Undoing an unnecessary part of the previous bug fix.  
539 5344 d 0 h jrf /trunk/src/Util/ Bug fix: Inserting a check for empty string in XmlParser.  
510 5520 d 3 h jrf /trunk/src/ Enabling load of wavefront .mtl files without an associated object, and correcting the Material class slightly (ior instead of ior_in and ior_out).  
448 5935 d 9 h jab /trunk/ Fixed a lot of include guards  
425 5981 d 13 h jrf /trunk/src/Util/ introducing a function for parsing to doubles  
417 6004 d 7 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.  
410 6099 d 9 h jrf /trunk/src/Util/ correcting to avoid warning  
409 6100 d 9 h jrf /trunk/ bashing Visual Studio warnings  
385 6142 d 8 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 6148 d 13 h jab /trunk/ a number of fixes  
381 6158 d 8 h jrf /trunk/src/Util/ trimming element names to make more robust  
380 6158 d 9 h jrf /trunk/src/ switching the XML parser to a process-while-reading strategy  
377 6158 d 13 h jrf /trunk/src/ making the XML parser more robust  
376 6161 d 7 h jrf /trunk/src/Util/ Changing buffer size  
375 6161 d 8 h jrf /trunk/src/ Adding a homebrewed XmlParser and bashing the Expat dependency!  
373 6161 d 10 h jrf /trunk/ eliminating errors and warnings in VS 2005 compile  
349 6450 d 7 h awk /trunk/ Misc fixed to make it compile on ubuntu 7.10  

Show All