To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.partsOpen lugnet.cad.dat.parts in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Parts / 6102
6101  |  6103
Subject: 
Re: Part Authors: opinions sought on T-Junctions
Newsgroups: 
lugnet.cad.dat.parts
Date: 
Tue, 6 Mar 2007 14:31:17 GMT
Viewed: 
5044 times
  
In lugnet.cad.dat.parts, Travis Cobbs wrote:
   In lugnet.cad.dat.parts, Mark Kennedy wrote:
   In lugnet.cad.dat.parts, Travis Cobbs wrote:
   So, what do you as part authors think? Should T-junctions be avoided in order to avoid the rendering errors that they can introduce, or should part authors continue to strive to make parts with the fewest number of polygons possible?

I try to minimise file size whenever possible myself and have nothing against T juctions. While the gaps can be annoying I feel that they are a fault of the rendering program rather than the parts.

I’d really appreciate it if you didn’t blame it on the rendering programs. There’s really nothing that they can do to fix the problem. I can understand why you might feel that they are at fault, but it really isn’t true.

Well... Technically it is true. The rendering program ought to be able to scan all the points in each part and look for intersections with every edge in the part. Then break up the offensive T-joins automagically and render it perfectly. That’s only O(n^2) or so. Blink of an eye on today’s processors.

Doesn’t ldview do this already? I’m sure txt2dat does. Try to be a little more up to date, will ya? ;^)

Have fun,

Don



Message has 2 Replies:
  Re: Part Authors: opinions sought on T-Junctions
 
(...) OK, I stand corrected. Technically a program can fix things a load time. However, you might be surprised at how long it takes. It's "only" O(n^2), but each iteration is slow. You have to search the current line segment against all other line (...) (17 years ago, 6-Mar-07, to lugnet.cad.dat.parts, FTX)
  Re: Part Authors: opinions sought on T-Junctions
 
(...) Well actually what txt2dat does is a slightly different problem - it has a few simple closed loops and has to triangulate the complex polygons bounded by them (it uses the excellent (URL) triangle library> to do that). Renderers on the other (...) (17 years ago, 6-Mar-07, to lugnet.cad.dat.parts, FTX)

Message is in Reply To:
  Re: Part Authors: opinions sought on T-Junctions
 
(...) I'd really appreciate it if you didn't blame it on the rendering programs. There's really nothing that they can do to fix the problem. I can understand why you might feel that they are at fault, but it really isn't true. As such, you might (...) (17 years ago, 6-Mar-07, to lugnet.cad.dat.parts, FTX)

22 Messages in This Thread:







Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR