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 / 3006
    Re: Hidden surface removal, and vertex order in part/primitive DAT files —Jean-Pierre Paris
    (...) 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)
   
        Re: Hidden surface removal, and vertex order in part/primitive DAT files —Leonardo Zide
     (...) 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)
    
         Re: Hidden surface removal, and vertex order in part/primitive DAT files —Jean-Pierre Paris
      (...) 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)
    
         Re: Hidden surface removal, and vertex order in part/primitive DAT files —Leonardo Zide
     (...) 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)
    
         Re: Hidden surface removal, and vertex order in part/primitive DAT files —Jean-Pierre Paris
      (...) In this sense we agree! It would be a shame if after a so long emails exchange we didn't ;-) (...) I read .dat files in the std LDraw folders, and simply output oriented .dat files in another one. For duplicate instances, I use a folder name (...) (25 years ago, 6-Oct-99, to lugnet.cad.dev)
   
        Re: Hidden surface removal, and vertex order in part/primitive DAT files —Steve Bliss
   (...) Neither do I, but I also know how hard it is to visually check a part for errors. (...) How does that work? Is it based on what the majority of the rays deterimine? I probably need to re-read some of the messages in this thread, to get a (...) (25 years ago, 4-Oct-99, to lugnet.cad.dev)
   
        Re: Hidden surface removal, and vertex order in part/primitive DAT files —Jean-Pierre Paris
      (...) I choose rays so that they may orient one face. With this face I use a sort of flood-fill algorithm (please try to find on of my previuos message) to orient al neighbors. Once a face is oriented, I don't look at it anymore. But, your idea (...) (25 years ago, 5-Oct-99, to lugnet.cad.dev)
    
         Re: Hidden surface removal, and vertex order in part/primitive DAT files —Steve Bliss
     (...) OK, then help out a Java-dummy: are there JDK's available on the net, or are they purchase-only? Steve (25 years ago, 6-Oct-99, to lugnet.cad.dev)
    
         Re: Hidden surface removal, and vertex order in part/primitive DAT files —Leonardo Zide
      (...) I guess you can download one from (URL) (25 years ago, 6-Oct-99, to lugnet.cad.dev)
    
         Re: Hidden surface removal, and vertex order in part/primitive DAT files —Jean-Pierre Paris
      (...) Sun's implementations are free. Some others are not. Personally I use Sun's jdks... Have a look at: (2 URLs) you are under a Windows environment As a reply to Leonardo msg: You are right, but I encourage newcomers to the Java language to use (...) (25 years ago, 6-Oct-99, to lugnet.cad.dev)
    
         Re: Hidden surface removal, and vertex order in part/primitive DAT files —Steve Bliss
     (...) Thank you very much! Steve (25 years ago, 7-Oct-99, to lugnet.cad.dev)
   
        Re: Hidden surface removal, and vertex order in part/primitive DAT files —Jean-Pierre Paris
      (...) Ok, I can announce that my code actually orient ~10000 faces of 2560, BUT 4. In a previous version, 40 faces remain unoriented. After I checked all distances between the ~12000 of the part, I have discovered that some distances were very (...) (25 years ago, 15-Oct-99, to lugnet.cad.dev)
   
        Re: Hidden surface removal, and vertex order in part/primitive DAT files —Jean-Pierre Paris
    Hello! Eventually I finished orienting (automatically) all faces of bricks 10 and 2560! For those who are interested by the results, please have a look at (URL) the same place, one'll find the corrected 2560. Yes, this part as small bugs: 16 faces (...) (25 years ago, 21-Nov-99, to lugnet.cad.dev)
 

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