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
561 4911 d 5 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 4995 d 11 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 5089 d 14 h jrf /trunk/src/Geometry/ Ray::reset() has been updated to include reset of more recently added ray properties.  
541 5281 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.  
540 5286 d 0 h jrf /trunk/src/Util/ Undoing an unnecessary part of the previous bug fix.  
539 5290 d 23 h jrf /trunk/src/Util/ Bug fix: Inserting a check for empty string in XmlParser.  
521 5375 d 6 h s042372 /trunk/src/HMesh/ minor bugfixes  
510 5467 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).  
503 5556 d 11 h jrf /trunk/src/GLGraphics/ correction in comment  
502 5556 d 11 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 23 h jrf /trunk/src/CGLA/ Adding .0 to doubles and .0f to floats.  
492 5593 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.
 
463 5691 d 10 h jab /trunk/src/CGLA/ Ooops. Previously, there was no 4D integer vector.  
462 5691 d 10 h jab /trunk/src/CGLA/ Ooops. Previously, there was no 4D integer vector.  
461 5691 d 10 h jab /trunk/src/CGLA/ Removed the ability to set the 3D integer vectors in terms of spherical coordinates.  
460 5691 d 10 h jab /trunk/src/Geometry/ Some performance improvement to bbox trees.  
455 5693 d 8 h rrp /trunk/src/HMesh/ Added off_load  
451 5859 d 14 h jrf /trunk/src/Geometry/ the golden middle way with respect to precision for ray-triangle intersection distance check  
450 5866 d 11 h jrf /trunk/src/Geometry/ increasing precision for ray-triangle intersection distance check  
449 5878 d 15 h jrf /trunk/src/GLGraphics/ small useful extension of the SOIL interface  
448 5882 d 9 h jab /trunk/ Fixed a lot of include guards  
447 5882 d 9 h jab /trunk/src/GLGraphics/ Fixed some include guards  
444 5882 d 9 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 5882 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  
441 5882 d 10 h jab /trunk/src/GLGraphics/ Loads textures now via SOIL  
440 5882 d 10 h jab /trunk/src/Geometry/ Load functions which allow for loading of several types depending on extension  
438 5900 d 12 h jrf /trunk/src/Geometry/ correcting a bug in placement of BSP planes and cleaning up a little bit  
436 5908 d 12 h jrf /trunk/src/Geometry/ closing files after use  
433 5915 d 13 h jab /trunk/src/HMesh/ Added an OFF loader and saver  
432 5915 d 13 h jab /trunk/src/GLGraphics/ Allows drawing of Indexed face sets  
431 5915 d 13 h jab /trunk/src/CGLA/ Now with double matrices  
430 5919 d 8 h jrf /trunk/src/Geometry/ Minor correction to avoid numerical errors  
429 5919 d 8 h jrf /trunk/src/Geometry/ Improving ray-triangle intersection implementation and removing unnecessary static variables.  
428 5919 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.  
427 5921 d 0 h jrf /trunk/src/CGLA/ Correcting small mistake: abs -> fabs  
426 5928 d 8 h jrf /trunk/src/Geometry/ introducing did_hit_diffuse  
425 5928 d 13 h jrf /trunk/src/Util/ introducing a function for parsing to doubles  
424 5928 d 13 h jrf /trunk/src/GLGraphics/ tab to space indentation  
423 5928 d 13 h jrf /trunk/src/Geometry/ initializing shininess by 0.0f instead of 0  
422 5936 d 0 h jrf /trunk/src/Geometry/ Removing unknown/unused/undocumented field "ran" from the Ray structure