I guess that begs the question, then, what tool did it fail 100%?   
There are only subtle variations amongst the various tessellating  
exporters.  For example, the STL file format only supports a single  
'object' per file so it'll keep going up the tree (and the higher you  
go, the more chance for failure).  Other file formats that support  
multiple objects can cease evaluation earlier (and get further).

A near 50% failure rate file is still useful test geometry, or even  
more interestingly just the subset of the TGM that fails.

That said, the cleanup changes you made to g-xxx_facets.c to bring it  
up with the times are certainly good.  If you have an svn checkout or  
the original source, you can pretty trivially make a patch file with  
further instructions at https://sourceforge.net/tracker/? 
func=add&group_id=105292&atid=640804

Cheers!
Sean



On Jun 5, 2009, at 7:10 PM, Tom Browder wrote:

> On Wed, Jun 3, 2009 at 01:49, Christopher Sean  
> Morrison<[email protected]> wrote:
> ...
>> Your 100% fail-to-convert .g file sounds like a great attachment for
>> a bug report: https://sourceforge.net/tracker/?
>> func=add&group_id=105292&atid=640802
>
> I used my 100% failure TGM with the existing src/conv/g-xxx_facets
> (with some corrections and additions) and got, out of 84 regions, 58
> successful NMGs (67%) and 53 triangulated successfully (61%) with the
> default tessellation parameters.
>
> That's better than what we got: 0%! Is the TGM still bad enough for  
> a test TGM?
>
> The corrections I made were to eliminate a couple of the unneeded
> headers (for linux anyway), changed the K&R style function entry to
> the standard form, and removed the unnecessary void return casts to
> printf.  I also added the default values in the usage statement, added
> a summary statement at exit showing the actual tessellation parameters
> used for the run, and corrected the spelling of "tessellation"
> throughout the file.
>
> -Tom
>
> ---------------------------------------------------------------------- 
> --------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the  
> latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
> _______________________________________________
> BRL-CAD Developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to