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 / 3148
3147  |  3149
Subject: 
Re: Object Orientation & DAT files & CLIPPING/WINDING
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 20 Oct 1999 11:00:29 GMT
Reply-To: 
[Rui.Martins@link]spamless[.pt]
Viewed: 
528 times
  
On Tue, 19 Oct 1999, Lars C. Hassing wrote:

Rui Martins wrote in message ...
to optimize existent .DAT files, use the following rules besides the
previous one:
- Enable clipping at the head of the file (if not a flat object)
- If a given polygon is CW, then instead of putting a '0 WINDING CW'
before it, change the definition of the polygon, from 1,2,3 to 3,2,1

Part authors should define the tris/quad the way he finds best, easy and logical
- maybe sometimes CW and sometimes CCW.

  If by default you always use the same winding, then you can know the
orientation of the polygon on the fly.

  IF you mix both you will have a hard time, because you are mixing or
reference.

Also when fixing old parts, just insert a lot of WINDING keywords in stead
of editing the existing 3- and 4-lines. This preserves the nice tabulating
seen in some parts, which is nice if you have to debug the parts later.

  That I agree! but my NOTE (suggestion) to pair the tris/quads, can be
easylly implemented by the drawing program, as someone already referred,
it's just an optimization!

The rendering program can easily (and costless) switch the vertex sequence.
/Lars

  About the winding (vertex sequence), I don't agree with this, because:
- the reason I refered earlier (the orientation reference from winding)
- A pre processing program can do this for you (NOT in real time) after
  yuo have finished your .DAT editing, And you would n't notice the
  difference when looking to it.

P.S A good optimizer utility should keep the user comments and
layout.

Rui Martins



Message is in Reply To:
  Re: Object Orientation & DAT files & CLIPPING/WINDING
 
Rui Martins wrote in message ... (...) Part authors should define the tris/quad the way he finds best, easy and logical - maybe sometimes CW and sometimes CCW. Also when fixing old parts, just insert a lot of WINDING keywords in stead of editing the (...) (25 years ago, 19-Oct-99, to lugnet.cad.dev)

13 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