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
605 4597 d 1 h jab /trunk/  
601 4599 d 16 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 23 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 4603 d 5 h jab /trunk/src/ Merged version  
567 4858 d 13 h jrf /trunk/src/Geometry/ adding area information to TriMesh  
554 5094 d 5 h jrf /trunk/src/Geometry/ Ray::reset() has been updated to include reset of more recently added ray properties.  
541 5285 d 16 h jrf /trunk/src/Geometry/ Using references instead of copying vectors when not necessary. And fixing some iterator code in the BSPTree that doesn't work in VS2010.  
510 5471 d 17 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).  
492 5598 d 1 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.
 
460 5696 d 1 h jab /trunk/src/Geometry/ Some performance improvement to bbox trees.  
451 5864 d 5 h jrf /trunk/src/Geometry/ the golden middle way with respect to precision for ray-triangle intersection distance check  
450 5871 d 2 h jrf /trunk/src/Geometry/ increasing precision for ray-triangle intersection distance check  
443 5887 d 1 h jab /trunk/src/Geometry/ Fixed all of the include guards so that they follow the standard where both directory and file name are part of the guard name  
440 5887 d 1 h jab /trunk/src/Geometry/ Load functions which allow for loading of several types depending on extension  
438 5905 d 3 h jrf /trunk/src/Geometry/ correcting a bug in placement of BSP planes and cleaning up a little bit  
436 5913 d 3 h jrf /trunk/src/Geometry/ closing files after use  
430 5923 d 23 h jrf /trunk/src/Geometry/ Minor correction to avoid numerical errors  
429 5923 d 23 h jrf /trunk/src/Geometry/ Improving ray-triangle intersection implementation and removing unnecessary static variables.  
428 5924 d 0 h jrf /trunk/src/Geometry/ Correcting major bug in BSPTree. It was clearing a vector and using it afterwards as if it hadn't been cleared. Unbelievable that we haven't seen problems because of this.  
426 5932 d 23 h jrf /trunk/src/Geometry/ introducing did_hit_diffuse  
423 5933 d 4 h jrf /trunk/src/Geometry/ initializing shininess by 0.0f instead of 0  
422 5940 d 16 h jrf /trunk/src/Geometry/ Removing unknown/unused/undocumented field "ran" from the Ray structure  
421 5940 d 16 h jrf /trunk/src/Geometry/ Updated Wavefront .mtl loading  
420 5952 d 1 h jrf /trunk/src/Geometry/ Introducing a function that retrieves the hit material from a traced ray. And switching from tab to space indentation (we should do this for all files! Spaces look nice in all editors!)  
419 5952 d 1 h jrf /trunk/src/Geometry/ Introducing a function that applies a transformation matrix to a TriMesh  
417 5955 d 22 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.  
409 6052 d 0 h jrf /trunk/ bashing Visual Studio warnings  
404 6065 d 0 h jab /trunk/ Small changes  
385 6093 d 22 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 6100 d 3 h jab /trunk/ a number of fixes  
375 6112 d 22 h jrf /trunk/src/ Adding a homebrewed XmlParser and bashing the Expat dependency!  
373 6113 d 1 h jrf /trunk/ eliminating errors and warnings in VS 2005 compile  
371 6113 d 4 h jab /trunk/src/Geometry/ Ply loading was added to this Directory. Two files rply.c and rply.h which
expose an MIT licensed ply handling API have been introduced as well as
a ply_load function declared in ply_load.h and defined in ply_load.cpp
 
364 6220 d 18 h jrf /trunk/src/Geometry/ Corrections to have the ray tracer run properly in Visual Studio  
362 6255 d 15 h jab /trunk/src/ Some added documentation and also I added the tesselation routine  
357 6374 d 2 h jab /trunk/ A number of changes were made to quadric simplification  
354 6389 d 0 h awk /trunk/src/  
350 6401 d 22 h awk /trunk/ Worked around bug in BSPTree. "intersect_fast_node" does not work with
GCC!
 
349 6401 d 22 h awk /trunk/ Misc fixed to make it compile on ubuntu 7.10  
338 6478 d 4 h jab /trunk/src/Geometry/ Added ply view to OBJViewer