Special:
|
[DAT] (requires LDraw-compatible viewer)
|
Subject:
|
Re: Hidden surface removal, and vertex order in part/primitive DAT files
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Sun, 3 Oct 1999 02:46:43 GMT
|
Viewed:
|
812 times
|
| |
| |
On Sat, 2 Oct 1999 14:15:02 GMT, "Gary Williams" <graywolf@pcpros.net>
wrote:
> My LDraw folder has seven DAT files with '0 CW*', none with '0 CCW*', and 30
> with '0 not CW*'.
>
> The seven '0 CW*' files are:
>
> ...
> PARTS\578.DAT
>
> Note that 578.DAT contains a suspicious comment :)
578 is compliant because it contains *only* subfile references, which have
been verified to not mess up (C)CW-ness. But that doesn't mean the
*subfiles* are compliant. It also assumes the compliant subfiles are
oriented the way the author (me) expected them: cylinders' surfaces facing
outward, disc facing upward.
The part about not knowing whether it's CW or CCW means I don't know if the
primitives are CW or CCW.
Here's the code:
0 CW-compliant (well, maybe CCW-compliant -- I haven't checked)
1 16 0 0 0 4 0 0 0 1 0 0 0 4 4-4edge.dat
1 16 0 80 0 4 0 0 0 1 0 0 0 4 4-4edge.dat
1 16 0 0 0 4 0 0 0 1 0 0 0 4 4-4disc.dat
1 16 0 0 0 4 0 0 0 80 0 0 0 4 4-4cyli.dat
1 16 0 80 0 4 0 0 0 -1 0 0 0 4 4-4disc.dat
Dote that on the last line, the disc is mirrored on Y to turn it upside
down.
Steve
|
|
Message has 1 Reply:
Message is in Reply To:
56 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
|
|
|
|