diff --git a/Common/DefaultOptions.h b/Common/DefaultOptions.h index 3b6f3dfe45f162199a8201ce0ef0876b2b4db957..52a654b2dbffba389c1d2edd218857e2823c6c83 100644 --- a/Common/DefaultOptions.h +++ b/Common/DefaultOptions.h @@ -975,9 +975,9 @@ StringXNumber PrintOptions_Number[] = { "Size factor for points in postscript output" }, { F|O, "EpsQuality" , opt_print_eps_quality , 1 , "Postscript quality (1=simple sort, 2=recursive sort)" }, - { F|O, "EpsOcclusionCulling" , opt_print_eps_occlusion_culling , 0 , + { F|O, "EpsOcclusionCulling" , opt_print_eps_occlusion_culling , 1 , "Cull occluded primitives (to reduce PostScript file size)" }, - { F|O, "EpsBestRoot" , opt_print_eps_best_root , 0 , + { F|O, "EpsBestRoot" , opt_print_eps_best_root , 1 , "Try to minimize primitive splitting in recursive sort" }, { F|O, "Format" , opt_print_format , FORMAT_AUTO , diff --git a/Graphics/gl2ps.cpp b/Graphics/gl2ps.cpp index 6d0927449275354d682ebe6a592b7aee6203a2bf..62794fffa19018e7f58ac3c663c1a790d97c9db8 100644 --- a/Graphics/gl2ps.cpp +++ b/Graphics/gl2ps.cpp @@ -2,7 +2,7 @@ * GL2PS, an OpenGL to PostScript Printing Library * Copyright (C) 1999-2002 Christophe Geuzaine * - * $Id: gl2ps.cpp,v 1.53 2002-12-11 17:37:17 geuzaine Exp $ + * $Id: gl2ps.cpp,v 1.54 2002-12-11 22:41:22 geuzaine Exp $ * * E-mail: geuz@geuz.org * URL: http://www.geuz.org/gl2ps/ @@ -180,6 +180,9 @@ void gl2psGetNormal(GLfloat *a, GLfloat *b, GLfloat *c){ c[2] = c[2] / norm; } else{ + /* The plane is still wrong, despite our tests in + gl2psGetPlane... Let's return a dummy value (this is a hack: we + should do more tests in GetPlane): */ c[0] = c[1] = 0.; c[2] = 1.; } diff --git a/Graphics/gl2ps.h b/Graphics/gl2ps.h index cfb5ea30531915c4924c23bad23811a4285eaf71..d902ef54a99dbb55f868bbe2b79b70112d0028f6 100644 --- a/Graphics/gl2ps.h +++ b/Graphics/gl2ps.h @@ -2,7 +2,7 @@ * GL2PS, an OpenGL to PostScript Printing Library * Copyright (C) 1999-2002 Christophe Geuzaine * - * $Id: gl2ps.h,v 1.30 2002-12-11 17:37:17 geuzaine Exp $ + * $Id: gl2ps.h,v 1.31 2002-12-11 22:41:22 geuzaine Exp $ * * E-mail: geuz@geuz.org * URL: http://www.geuz.org/gl2ps/