To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.ideasOpen lugnet.cad.dat.ideas in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Ideas / 220
219  |  221
Subject: 
Re: non-lego rendering using various LDraw tools
Newsgroups: 
lugnet.cad.dat.ideas
Date: 
Fri, 24 Sep 2004 11:35:30 GMT
Viewed: 
4931 times
  
In lugnet.cad.dat.ideas, Don Heyse wrote:
   You lost me there. How could you not know which is which if they already go in the opposite direction? Just take a cross product at the topmost point. If it’s negative, then it’s clockwise and thus a hole.

I mostly meant that I knew what their windings had to be (because of the way the edges are constructed), but the code isn’t aware of it. However, like you say, it’s easy enough to find an extreme point and test the winding.

Steve



Message is in Reply To:
  Re: non-lego rendering using various LDraw tools
 
(...) You lost me there. How could you not know which is which if they already go in the opposite direction? Just take a cross product at the topmost point. If it's negative, then it's clockwise and thus a hole. Don (20 years ago, 23-Sep-04, to lugnet.cad.dat.ideas, FTX)

8 Messages in This Thread:

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

Custom Search

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