Subversion Repositories gelsvn

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
654 4210 d 7 h janba /branches/cpp11-devel/ Building a BB Tree would only work for closed meshes. Fixed  
651 4210 d 19 h janba /branches/cpp11-devel/src/Geometry/ Added the XForm and Implicit classes.  
632 4347 d 15 h janba /branches/cpp11-devel/ Had fun rewriting ArithVec.h  
631 4350 d 10 h janba /branches/cpp11-devel/ Many C++11 features added to this branch  
630 4350 d 10 h janba /branches/cpp11-devel/ Add branch for c++11 development  
622 4577 d 1 h jrf /trunk/src/Geometry/ adding functions for texture coordinate transformation to TriMesh (and coding style change: tabs -> spaces)  
621 4578 d 23 h jrf /trunk/src/Geometry/ Bug: error when reading 3ds Max mtl-file export. Fix: new fstream loader is more strict, so we have to be more careful when reading input.  
612 4585 d 13 h jrf /trunk/src/Geometry/ correcting bug in last commit  
610 4585 d 14 h jrf /trunk/src/Geometry/ removing VS warnings  
609 4585 d 14 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
 
607 4587 d 22 h jrf /trunk/ removing Visual Studio warnings and some CMake problems  
606 4587 d 22 h jrf /trunk/src/Geometry/ ensuring compatibility with code based on pre-merge trunk version  
605 4591 d 10 h jab /trunk/  
601 4594 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 4596 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 4597 d 14 h jab /trunk/src/ Merged version  
567 4852 d 22 h jrf /trunk/src/Geometry/ adding area information to TriMesh  
554 5088 d 14 h jrf /trunk/src/Geometry/ Ray::reset() has been updated to include reset of more recently added ray properties.  
541 5280 d 1 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 5466 d 2 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 5592 d 10 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 5690 d 10 h jab /trunk/src/Geometry/ Some performance improvement to bbox trees.  
451 5858 d 14 h jrf /trunk/src/Geometry/ the golden middle way with respect to precision for ray-triangle intersection distance check  
450 5865 d 11 h jrf /trunk/src/Geometry/ increasing precision for ray-triangle intersection distance check  
443 5881 d 10 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 5881 d 10 h jab /trunk/src/Geometry/ Load functions which allow for loading of several types depending on extension  
438 5899 d 12 h jrf /trunk/src/Geometry/ correcting a bug in placement of BSP planes and cleaning up a little bit  
436 5907 d 12 h jrf /trunk/src/Geometry/ closing files after use  
430 5918 d 8 h jrf /trunk/src/Geometry/ Minor correction to avoid numerical errors  
429 5918 d 8 h jrf /trunk/src/Geometry/ Improving ray-triangle intersection implementation and removing unnecessary static variables.  
428 5918 d 9 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 5927 d 8 h jrf /trunk/src/Geometry/ introducing did_hit_diffuse  
423 5927 d 13 h jrf /trunk/src/Geometry/ initializing shininess by 0.0f instead of 0  
422 5935 d 0 h jrf /trunk/src/Geometry/ Removing unknown/unused/undocumented field "ran" from the Ray structure  
421 5935 d 1 h jrf /trunk/src/Geometry/ Updated Wavefront .mtl loading  
420 5946 d 10 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 5946 d 10 h jrf /trunk/src/Geometry/ Introducing a function that applies a transformation matrix to a TriMesh  
417 5950 d 6 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 6046 d 9 h jrf /trunk/ bashing Visual Studio warnings  
404 6059 d 9 h jab /trunk/ Small changes