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 / 4279
4278  |  4280
Subject: 
Type-5 conditional edge line
Newsgroups: 
lugnet.cad.dev
Date: 
Sat, 1 Apr 2000 22:10:42 GMT
Highlighted: 
(details)
Viewed: 
1392 times
  
I have a question about the type-5 conditional line.  Assume I have four
points in 3d space like this:

(If you're reading LUGNET via the web interface, you must push "view raw
message" to see my ASCII art.)

1---2
|   |
|   |
|   |
4---3

Except that the points are _not_ in the same plane.  This is difficult
to illustrate with ASCII, so you'll have to trust me!  ;-)

Now, let's say I use two triangles to fill out the surface between the
points like this:

1---2
|  /|
| / |
|/  |
4---3

The code for the triangles would be something like this:

3 16 x1 y1 z1 x2 y2 z2 x4 y4 z4
3 16 x2 y2 z2 x3 y3 z3 x4 y4 z4

But I also need a conditional edge line along the diagonal.  I only have
information about the four said points, so my question is this: Will a
type-5 line like this work?

5 24 x2 y2 z2 x4 y4 z4 x1 y1 z1 x3 y3 z3

It does work in L3Lab (as far as I can see), but I wonder if it actually
follows the standard.  I find the type-5 lines a bit confusing.

Fredrik



Message has 2 Replies:
  Re: Type-5 conditional edge line
 
Fredrik Glöckner <fredrik.glockner@bio.uio.no> wrote in message news:m3pus9zd3x.fsf@...ldomain... (...) It looks good to me. I'm pretty sure this is how it is done on the sphere primitives. -John Van (24 years ago, 3-Apr-00, to lugnet.cad.dev)
  Re: Type-5 conditional edge line
 
In lugnet.cad.dev, Fredrik Glöckner wrote: [snippety] (...) Yes, your conditional line should be fine. When the triangles are viewed like: 4 /|\ / |.3 / .| /. | 2----1 points 1 and 3 are on the same side of the 2-4 line, so the conditional line will (...) (24 years ago, 3-Apr-00, to 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