Subject:
|
Re: Several replies to CLIPPING / WINDING
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Wed, 20 Oct 1999 10:45:20 GMT
|
Reply-To:
|
RUI.MARTINS@LINKstopspammers.PT
|
Viewed:
|
609 times
|
| |
| |
On Tue, 19 Oct 1999, Leonardo Zide wrote:
> "Lars C. Hassing" wrote:
> >
> > Wait a minute, you were not going to actually send winding state changes
> > to the graphics engine?
> > Simply keep track of the state yourself and send either vertices 1,2,3
> > or 3,2,1.
> > The part author can use as many WINDING CW/CCW as he likes
> > - it won't hurt performance a bit!
>
> Sure, that can be done but there's the "0 UNKNOWN" or "0 DOUBLE-SIDED"
> case, and you'd have to send the triangles twice if you don't want to
> change the state.
>
> Leonardo
That can be done, but you will probably suffer a performance hit,
because, most hardware, just use a bit, to keep track of the state.
Just minimize the use of the
0 CCW and 0 CW meta-commands, to boost performance.
When optimizing existent or new files, try do define all the polygons,
using the same winding (that's not hard to do), and if you think that
takes a lot of time, after creating the .DAT file, jut run one of those
utilities, that correct the file for you, preferably makeing then all
the default (CCW).
Rui Martins
|
|
Message is in Reply To:
15 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|