To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 15824
15823  |  15825
Subject: 
Re: Colinear Vertices
Newsgroups: 
lugnet.cad
Date: 
Tue, 9 Dec 2008 21:21:31 GMT
Viewed: 
6147 times
  
--snip--

Actually, LDView pretends that the three points are a triangle, then calculates
the surface normal for that triangle.  If that normal comes out with a 0 length,
it declares the vertices to be co-linear.  So its threshold is based on floating
point round-off while calculating the surface normal.

--Travis

I assume that you divide by the vector lengths first (as in normalise them
before taking the cross-product) but if you don't then you should.

Tim



Message has 1 Reply:
  Re: Colinear Vertices
 
(...) No, I just take the cross product, and if the length (squared) is 0, I give an error. I don't see how normalizing the length of the two vectors that I feed into the cross product would improve things much here. Sure, it might mean that my (...) (16 years ago, 9-Dec-08, to lugnet.cad)

Message is in Reply To:
  Re: Colinear Vertices
 
(...) If they're on a curved surface, you'll get higher quality out of LDView half the time if you split them into triangles. (I say half the time, because OpenGL splits them into triangles in order to render them, and half the time they'll be split (...) (16 years ago, 9-Dec-08, to lugnet.cad)

39 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