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 / 3045
3044  |  3046
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:
  Re: Hidden surface removal, and vertex order in part/primitive DAT files
 
(...) My code worked too but my point was to say that the part is not correct, there could be some cases where it won't work and besides that, it won't look good if you render it with a program that has backface culling. How are you going to save (...) (25 years ago, 6-Oct-99, to lugnet.cad.dev)

Message is in Reply To:
  Re: Hidden surface removal, and vertex order in part/primitive DAT files
 
(...) You need to have someone to check the parts, take a look at the picture at (URL) (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. Leonardo (...) (25 years ago, 4-Oct-99, to lugnet.cad.dev)

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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR