Subversion Repositories gelsvn

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
692 2911 d 4 h jerf /trunk/src/CGLA/ better 3x3 inverse and float constants  
691 3778 d 17 h jerf /trunk/src/GLGraphics/ needed to compile with VS2013  
629 4471 d 22 h asny /trunk/src/GLGraphics/ Made it possible to save images in ONG format when using SOIL  
628 4498 d 22 h mono /trunk/src/GLGraphics/ allow images where width is multiple of 1 (default is 4)  
627 4522 d 17 h jerf /trunk/src/GLGraphics/ killing unnecessary stb header file  
626 4537 d 22 h awkr /trunk/src/GLGraphics/ Added missing include.  
624 4554 d 5 h mono /trunk/src/CGLA/ Added helper functions for Mat4x4f: perspective, frustum, lookat, ortho (usefull when working OpenGL 3.0+)  
623 4584 d 3 h jerf /trunk/src/GLGraphics/ adding a function to GLViewController which sets up the camera using the usual input parameters  
622 4631 d 16 h jrf /trunk/src/Geometry/ adding functions for texture coordinate transformation to TriMesh (and coding style change: tabs -> spaces)  
621 4633 d 15 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.  
618 4639 d 1 h jab /trunk/ Some changes to make curvature visualization work  
614 4640 d 2 h jab /trunk/ Fixed a problem with global variables in harmonics.cpp causing meshedit to crash on exit.  
612 4640 d 5 h jrf /trunk/src/Geometry/ correcting bug in last commit  
610 4640 d 5 h jrf /trunk/src/Geometry/ removing VS warnings  
609 4640 d 6 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
 
608 4642 d 14 h jrf /trunk/src/GLGraphics/ ensuring compatibility with code based on pre-merge trunk version  
607 4642 d 14 h jrf /trunk/ removing Visual Studio warnings and some CMake problems  
606 4642 d 14 h jrf /trunk/src/Geometry/ ensuring compatibility with code based on pre-merge trunk version  
605 4646 d 1 h jab /trunk/  
603 4646 d 23 h jab /trunk/ Made it work with cmake  
601 4648 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 4651 d 0 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 4651 d 17 h jab /trunk/src/ adding glew and a change for compatibility to ItemVector  
598 4652 d 4 h jrf /trunk/src/ Bug: CMake unable to generate project. Fix: Removing deleted source files from CMake lists.  
597 4652 d 5 h jab / Some console stuff was not up to the right version  
595 4652 d 6 h jab /trunk/src/ Merged version  
594 4652 d 6 h jab /trunk/src/GLGraphics/ Resolved conflicts  
570 4755 d 17 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 4801 d 16 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 4907 d 13 h jrf /trunk/src/Geometry/ adding area information to TriMesh  
563 4948 d 1 h awk /trunk/  
561 4964 d 20 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 5049 d 2 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 5143 d 5 h jrf /trunk/src/Geometry/ Ray::reset() has been updated to include reset of more recently added ray properties.  
541 5334 d 17 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 5339 d 15 h jrf /trunk/src/Util/ Undoing an unnecessary part of the previous bug fix.  
539 5344 d 15 h jrf /trunk/src/Util/ Bug fix: Inserting a check for empty string in XmlParser.  
521 5428 d 22 h s042372 /trunk/src/HMesh/ minor bugfixes  
510 5520 d 18 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 5610 d 3 h jrf /trunk/src/GLGraphics/ correction in comment