Revision: 45494
          http://brlcad.svn.sourceforge.net/brlcad/?rev=45494&view=rev
Author:   r_weiss
Date:     2011-07-14 16:34:48 +0000 (Thu, 14 Jul 2011)

Log Message:
-----------
Updated the rt_ars_tess function within file ars.c. I disabled the functions 
nmg_shell_coplanar_face_merge and nmg_simplify_shell unless the prototype 
triangulation is enabled. The problem is these functions simplify the ars which 
causes more work for later triangulating the ars. The original triangulation 
code is unable to triangulate the resulting ars after being simplifed. In order 
to raytrace an ars, it is first converted to a bot primitive which requires 
triangulation. This is a temporary change to allow ars primitives to be 
raytraced when the original triangulation code is enabled.

Modified Paths:
--------------
    brlcad/trunk/src/librt/primitives/ars/ars.c

Modified: brlcad/trunk/src/librt/primitives/ars/ars.c
===================================================================
--- brlcad/trunk/src/librt/primitives/ars/ars.c 2011-07-14 13:18:33 UTC (rev 
45493)
+++ brlcad/trunk/src/librt/primitives/ars/ars.c 2011-07-14 16:34:48 UTC (rev 
45494)
@@ -655,8 +655,10 @@
     /* Compute "geometry" for region and shell */
     nmg_region_a(*r, tol);
 
+#ifdef TRI_PROTOTYPE
     nmg_shell_coplanar_face_merge(s, tol, 0);
     nmg_simplify_shell(s);
+#endif
 
     return 0;
 }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to