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 / 4295
4294  |  4296
Subject: 
Re: Type-5 conditional edge line
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 3 Apr 2000 13:43:48 GMT
Viewed: 
1338 times
  
Fredrik Glöckner <fredrik.glockner@bio.uio.no> wrote in message
news:m3pus9zd3x.fsf@crossblock.localdomain...
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 looks good to me.  I'm pretty sure this is how it is done on the sphere
primitives.

-John Van



Message is in Reply To:
  Type-5 conditional edge line
 
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 (...) (24 years ago, 1-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