Unverified Commit f4ad4b7c authored by Spacerat's avatar Spacerat Committed by GitHub
Browse files

Merge pull request #13 from luzpaz/misc-typos

Misc. typos
parents 8ce2960c d844ce58
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -3,11 +3,11 @@ Mesh triangle reduction using quadrics - for Windows, OSX and Linux (thx Chris R

![img](https://github.com/sp4cerat/Fast-Quadric-Mesh-Simplification/blob/master/screenshot.png?raw=true)

**Summary** Since I couldnt find any code thats fast, memory efficient, free and for high quality, I developed my version of the quadric based edge collapse mesh simplification method. It uses a threshold to determine which triangles to delete, which avoids sorting but might lead to lesser quality. It is about 4x as fast as Meshlab and can simplify 2M -> 30k triangles in 3.5 seconds.
**Summary** Since I couldn't find any code that's fast, memory efficient, free and for high quality, I developed my version of the quadric based edge collapse mesh simplification method. It uses a threshold to determine which triangles to delete, which avoids sorting but might lead to lesser quality. It is about 4x as fast as Meshlab and can simplify 2M -> 30k triangles in 3.5 seconds.

**Usage** The functionality is contained in Simplify.h. The function to call is *simplify_mesh(target_count)*. The code is kept pretty slim, so the main method has just around 400 lines of code. 

**Obj File Limitations** The Obj file may only have one group or object. Its a very simple reader/writer, so dont try to use multiple objects in one file
**Obj File Limitations** The Obj file may only have one group or object. Its a very simple reader/writer, so don't try to use multiple objects in one file

**Windows, OSX and Linux Command Line Tool added**

@@ -21,7 +21,7 @@ https://github.com/neurolabusc/Fast-Quadric-Mesh-Simplification-Pascal-

License : MIT

Please dont forget to cite this page if you use the code!
Please don't forget to cite this page if you use the code!

## Projects Using this Method

+2 −2
Original line number Diff line number Diff line
@@ -242,7 +242,7 @@ extern void exit(int);
 glutJoystickFunc, glutForceJoystickFunc, glutStrokeWidthf,
 glutStrokeLengthf (NOT FINALIZED!).
**/
#ifndef GLUT_API_VERSION  /* allow this to be overriden */
#ifndef GLUT_API_VERSION  /* allow this to be overridden */
#define GLUT_API_VERSION                3
#endif

@@ -286,7 +286,7 @@ extern void exit(int);

 GLUT_XLIB_IMPLEMENTATION=17 mjk's GLUT 3.8 with glutStrokeWidthf and glutStrokeLengthf
**/
#ifndef GLUT_XLIB_IMPLEMENTATION  /* Allow this to be overriden. */
#ifndef GLUT_XLIB_IMPLEMENTATION  /* Allow this to be overridden. */
#define GLUT_XLIB_IMPLEMENTATION        17
#endif

+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@

//
// sorry just
// cant get this one to work under windows
// can't get this one to work under windows
// have disabled for the now
//
// will look at it some more later
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H

/* Use nonstandard varargs form for the GLU tesselator callback */
/* Use nonstandard varargs form for the GLU tessellator callback */
#undef HAVE_VARARGS_GLU_TESSCB

/* Define to 1 if you have the <windows.h> header file. */
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@

//
// sorry just
// cant get this one to work under windows
// can't get this one to work under windows
// have disabled for the now
//
// will look at it some more later
Loading