To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.partsOpen lugnet.cad.dat.parts in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Parts / 2323
2322  |  2324
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: Error in 2357.dat (or in LDGLite)
Newsgroups: 
lugnet.cad.dat.parts, lugnet.cad.dev
Date: 
Fri, 9 Feb 2001 18:30:11 GMT
Viewed: 
923 times
  
In lugnet.cad.dat.parts, Don Heyse writes:
In lugnet.cad.dat.parts, Jacob Sparre Andersen writes:
There seems to be an error in 2357.dat (or in LDGLite).

It looks like the winding has been swapped for some of the
sides, so the wrong surfaces are drawn. This is only visible
in some special cases.

When you render the example below with LDGLite using the
command line argument "-a1,0,1,-0.5,-1,0.5,1,0,-1", the
blue from the neighbouring brick bleeds through because of
this.

Well it renders the same way in l3lab so it's a bug in the part.
I think the problem is that the inside surface is missing.  This
lets us see through to the outside surface of the 2357 brick which
occupies the exact same space as the outside surface of the adjacent
brick.  Thus you see blue sometimes and black other times depending
on roundoff errors.

0 FILE 2357-fejl.dat
0
0 Render with:
0   ldglite -a1,0,1,-0.5,-1,0.5,1,0,-1 2357-fejl.dat

1  1     20    56  -270  1 0 0   0 1 0   0 0 1       3004.dat
1  0    -30    56  -270  0 0 1   0 1 0   -1 0 0      2357.dat

This looks like an accidental omission by the (un-named) original author of all
the inside faces. Here is a corrected version, which I'll also send in to
Steve for the next update.

Chris


0 Brick  2 x  2 Corner
0 Name: 2357.DAT
0 Author: ?
0 Corrected Part

0 Inserted missing inside faces - Chris Dee - 09Feb2001

1 16 0 4 10 1 0 0 0 -5 0 0 0 1 stud3.dat
1 16 10 4 0 1 0 0 0 -5 0 0 0 1 stud3.dat

2 24 6 24 26 -6 24 26
2 24 -6 24 26 -6 24 -6
2 24 -6 24 -6 26 24 -6
2 24 26 24 -6 26 24 6
2 24 26 24 6 6 24 6
2 24 6 24 6 6 24 26

2 24 6 4 26 -6 4 26
2 24 -6 4 26 -6 4 -6
2 24 -6 4 -6 26 4 -6
2 24 26 4 -6 26 4 6
2 24 26 4 6 6 4 6
2 24 6 4 6 6 4 26

2 24 6 24 26 6 4 26
2 24 -6 24 26 -6 4 26
2 24 -6 24 -6 -6 4 -6
2 24 26 24 -6 26 4 -6
2 24 26 24 6 26 4 6
2 24 6 24 6 6 4 6

2 24 10 24 30 -10 24 30
2 24 -10 24 30 -10 24 -10
2 24 -10 24 -10 30 24 -10
2 24 30 24 -10 30 24 10
2 24 30 24 10 10 24 10
2 24 10 24 10 10 24 30

2 24 10 0 30 -10 0 30
2 24 -10 0 30 -10 0 -10
2 24 -10 0 -10 30 0 -10
2 24 30 0 -10 30 0 10
2 24 30 0 10 10 0 10
2 24 10 0 10 10 0 30

2 24 10 0 30 10 24 30
2 24 -10 0 30 -10 24 30
2 24 -10 0 -10 -10 24 -10
2 24 30 0 -10 30 24 -10
2 24 30 0 10 30 24 10
2 24 10 0 10 10 24 10

4 16 10 24 30 6 24 26 -6 24 26 -10 24 30
4 16 -10 24 30 -6 24 26 -6 24 -6 -10 24 -10
4 16 -10 24 -10 -6 24 -6 26 24 -6 30 24 -10
4 16 30 24 -10 26 24 -6 26 24 6 30 24 10
4 16 30 24 10 26 24 6 6 24 6 10 24 10
4 16 10 24 10 6 24 6 6 24 26 10 24 30
4 16 26 4 6 -6 4 6 -6 4 -6 26 4 -6
4 16 6 4 26 6 4 6 -6 4 6 -6 4 26
4 16 30 0 10 -10 0 10 -10 0 -10 30 0 -10
4 16 10 0 30 10 0 10 -10 0 10 -10 0 30

4 16 10 24 30 -10 24 30 -10 0 30 10 0 30
4 16 -10 24 30 -10 24 -10 -10 0 -10 -10 0 30
4 16 -10 24 -10 30 24 -10 30 0 -10 -10 0 -10
4 16 30 24 -10 30 24 10 30 0 10 30 0 -10
4 16 30 24 10 10 24 10 10 0 10 30 0 10
4 16 10 24 10 10 24 30 10 0 30 10 0 10

4 16 6 24 26 -6 24 26 -6 4 26 6 4 26
4 16 -6 24 26 -6 24 -6 -6 4 -6 -6 4 26
4 16 -6 24 -6 26 24 -6 26 4 -6 -6 4 -6
4 16 26 24 -6 26 24 6 26 4 6 26 4 -6
4 16 26 24 6 6 24 6 6 4 6 26 4 6
4 16 6 24 6 6 24 26 6 4 26 6 4 6

1 16 0 0 0 1 0 0 0 1 0 0 0 1 stud.dat
1 16 20 0 0 1 0 0 0 1 0 0 0 1 stud.dat
1 16 0 0 20 1 0 0 0 1 0 0 0 1 stud.dat



Message is in Reply To:
  Re: Error in 2357.dat (or in LDGLite)
 
(...) Well it renders the same way in l3lab so it's a bug in the part. I think the problem is that the inside surface is missing. This lets us see through to the outside surface of the 2357 brick which occupies the exact same space as the outside (...) (23 years ago, 8-Feb-01, to lugnet.cad.dat.parts, lugnet.cad.dev)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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