Subversion Repositories gelsvn

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
609 4583 d 7 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
 
601 4591 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 4594 d 2 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 4595 d 7 h jab /trunk/src/ Merged version  
540 5282 d 17 h jrf /trunk/src/Util/ Undoing an unnecessary part of the previous bug fix.  
539 5287 d 17 h jrf /trunk/src/Util/ Bug fix: Inserting a check for empty string in XmlParser.  
510 5463 d 20 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 5879 d 2 h jab /trunk/ Fixed a lot of include guards  
425 5925 d 6 h jrf /trunk/src/Util/ introducing a function for parsing to doubles  
417 5948 d 0 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 6043 d 2 h jrf /trunk/src/Util/ correcting to avoid warning  
409 6044 d 2 h jrf /trunk/ bashing Visual Studio warnings  
385 6086 d 1 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 6092 d 6 h jab /trunk/ a number of fixes  
381 6102 d 1 h jrf /trunk/src/Util/ trimming element names to make more robust  
380 6102 d 2 h jrf /trunk/src/ switching the XML parser to a process-while-reading strategy  
377 6102 d 6 h jrf /trunk/src/ making the XML parser more robust  
376 6105 d 1 h jrf /trunk/src/Util/ Changing buffer size  
375 6105 d 1 h jrf /trunk/src/ Adding a homebrewed XmlParser and bashing the Expat dependency!  
373 6105 d 3 h jrf /trunk/ eliminating errors and warnings in VS 2005 compile  

Show All