Subject:
|
Re: Hidden surface removal, and vertex order in part/primitive DAT files
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Tue, 5 Oct 1999 21:12:17 GMT
|
Viewed:
|
814 times
|
| |
| |
Leonardo Zide wrote:
>
> Jean-Pierre PARIS wrote:
> > [snip]
> You need to have someone to check the parts, take a look at the
> picture at http://www.geocities.com/colosseum/3479/flag.jpg (from
> 105.DAT), there's a missing face and the program won't be able to handle
> that. There are other parts like that, just start checking and you'll
> see.
Sorry Leonardo, but I checked 105 again my code: it does the right job!
Ok, you can argue it's pure luck. In fact, it is! If a ray went through
the hole between the flag and the rest of the piece, my code would
invert the flag orientation. Anyway, you can convince yourself that such
small holes can catch only a small portion of rays if thay are cast
randomly in the 3D space. Thus, my code which starts with a
deterministic set of rays finds the correct orientation here. My code
cast random rays as the last fallback if it remains unoriented faces.
> Leonardo
bye
jp
|
|
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
|
|
|
|