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 / 3013
3012  |  3014
Subject: 
Re: Hidden surface removal, and vertex order in part/primitive DAT files
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 4 Oct 1999 15:56:44 GMT
Viewed: 
779 times
  
Jean-Pierre PARIS wrote:

I really don't like programs that need user interactions for such job!
Thus I tried to cast enough rays so that all the faces are being
oriented correctly. Now all the std bricks are OK, without any
assumption about the fact that they are mainly composed of 2 box5 and a
lot of studs. The general algorithm is working well here.

  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.

Leonardo

PS: Just found a bug in MS VC++, it says that acos(1) = indeterminate.
:)



Message has 1 Reply:
  Re: Hidden surface removal, and vertex order in part/primitive DAT files
 
(...) 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. (...) (25 years ago, 5-Oct-99, to lugnet.cad.dev)

Message is in Reply To:
  Re: Hidden surface removal, and vertex order in part/primitive DAT files
 
(...) I really don't like programs that need user interactions for such job! Thus I tried to cast enough rays so that all the faces are being oriented correctly. Now all the std bricks are OK, without any assumption about the fact that they are (...) (25 years ago, 3-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