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 4594 d 6 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 4596 d 14 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.
 
599 4597 d 7 h jab /trunk/src/ adding glew and a change for compatibility to ItemVector  
598 4597 d 18 h jrf /trunk/src/ Bug: CMake unable to generate project. Fix: Removing deleted source files from CMake lists.  
597 4597 d 19 h jab / Some console stuff was not up to the right version  
595 4597 d 19 h jab /trunk/src/ Merged version  
594 4597 d 19 h jab /trunk/src/GLGraphics/ Resolved conflicts  
570 4701 d 7 h jrf /trunk/src/CGLA/ Keeping new onb code, but pointing the resulting basis vectors in the same directions as the old function did.  
569 4747 d 6 h jrf /trunk/src/CGLA/ updating orthogonal function and introducing onb function (the new version of orthogonal is significantly faster than the previous one)  
567 4853 d 3 h jrf /trunk/src/Geometry/ adding area information to TriMesh  
563 4893 d 15 h awk /trunk/  
561 4910 d 10 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 4994 d 16 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.  
554 5088 d 19 h jrf /trunk/src/Geometry/ Ray::reset() has been updated to include reset of more recently added ray properties.  
541 5280 d 6 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.  
540 5285 d 5 h jrf /trunk/src/Util/ Undoing an unnecessary part of the previous bug fix.  
539 5290 d 5 h jrf /trunk/src/Util/ Bug fix: Inserting a check for empty string in XmlParser.  
521 5374 d 11 h s042372 /trunk/src/HMesh/ minor bugfixes  
510 5466 d 8 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).  
503 5555 d 17 h jrf /trunk/src/GLGraphics/ correction in comment  
502 5555 d 17 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.  
501 5567 d 5 h jrf /trunk/src/CGLA/ Adding .0 to doubles and .0f to floats.  
492 5592 d 16 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.
 
463 5690 d 15 h jab /trunk/src/CGLA/ Ooops. Previously, there was no 4D integer vector.  
462 5690 d 15 h jab /trunk/src/CGLA/ Ooops. Previously, there was no 4D integer vector.  
461 5690 d 15 h jab /trunk/src/CGLA/ Removed the ability to set the 3D integer vectors in terms of spherical coordinates.  
460 5690 d 15 h jab /trunk/src/Geometry/ Some performance improvement to bbox trees.  
455 5692 d 14 h rrp /trunk/src/HMesh/ Added off_load  
451 5858 d 20 h jrf /trunk/src/Geometry/ the golden middle way with respect to precision for ray-triangle intersection distance check  
450 5865 d 17 h jrf /trunk/src/Geometry/ increasing precision for ray-triangle intersection distance check  
449 5877 d 21 h jrf /trunk/src/GLGraphics/ small useful extension of the SOIL interface  
448 5881 d 14 h jab /trunk/ Fixed a lot of include guards  
447 5881 d 15 h jab /trunk/src/GLGraphics/ Fixed some include guards  
444 5881 d 15 h jab /trunk/src/HMesh/ Fixed a subtle bug. An inline function cannot have a static member. Yet to get the NULL_FACE_ITER (and same for halfedge and vertex) a function returning the end iterator of a static list was used. Probably this was not a real static (in release mode on OSX) and that meant that the program would crash unexpectedly in release mode in a reproducable, systematic yet baffling way. Now the function is no longer inline, and it seems to work. Of course, the entire list kernel for HMesh wants rewriting.  
443 5881 d 15 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  
441 5881 d 15 h jab /trunk/src/GLGraphics/ Loads textures now via SOIL  
440 5881 d 15 h jab /trunk/src/Geometry/ Load functions which allow for loading of several types depending on extension  
438 5899 d 17 h jrf /trunk/src/Geometry/ correcting a bug in placement of BSP planes and cleaning up a little bit  
436 5907 d 18 h jrf /trunk/src/Geometry/ closing files after use  
433 5914 d 18 h jab /trunk/src/HMesh/ Added an OFF loader and saver