To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 2966
2965  |  2967
Subject: 
Re: CW/CCW, vertex sequence, co-planar, convex, (115kB)
Newsgroups: 
lugnet.cad.dev
Date: 
Fri, 1 Oct 1999 17:54:51 GMT
Viewed: 
917 times
  
Steve:

Then STUD2.DAT could use:
0 CCW
1 16 0 -4 0 4 0 0 0 4 0 0 0 4 4-4cyli.dat
0 CW
1 16 0 -4 0 6 0 0 0 4 0 0 0 6 4-4cyli.dat

Why not simply:
1 16 0 -4 0 -4 0 0 0 4 0 0 0 4 4-4cyli.dat
1 16 0 -4 0 6 0 0 0 4 0 0 0 6 4-4cyli.dat

Assuming the primitives are all defined so their faces are turned outward.

Because our clever rendering programs will notice that the
first transformation matrix has negative determinant, and
therefore will swap the CW and CCW checks.

Play well,

Jacob

      ------------------------------------------------
      --  E-mail:        sparre@cats.nbi.dk         --
      --  Web...:  <URL:http://www.ldraw.org/FAQ/>  --
      ------------------------------------------------



Message has 1 Reply:
  Re: CW/CCW, vertex sequence, co-planar, convex, (115kB)
 
(...) Jacob: (...) Why? Having a negative determinate *should* turn subfiles inside-out. IMO. That's a useful function. Having programs checking determinates is not useful, and wastes rendering time. Steve (25 years ago, 3-Oct-99, to lugnet.cad.dev)

Message is in Reply To:
  Re: CW/CCW, vertex sequence, co-planar, convex, (115kB)
 
(...) Why not simply: (...) Assuming the primitives are all defined so their faces are turned outward. I would see allowing both CW and CCW as a convenience for parts authors. There's no real difference between one way and the other. CW has a slight (...) (25 years ago, 1-Oct-99, to lugnet.cad.dev)

53 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