cyli2.dat

RE: cyli2.dat
#6
While we are on the subject, there is another piece of information which I can't find for n-fcyli.dat: What is the logic behind placement of the control points for the outer-most conditional lines when the cylinders are not complete?

As an example, 1-16cyli is a single segment of a cylinder. It has the following two control points (Click "Load Full Structure" and then the pictures of the conditional lines) [color=white][size=medium][font=Arial, Helvetica, sans-serif]0.7654[/font][/size][/color]

1) 0.7654, 1, 0.7654

2) 1, 1, -0.4142

Here I would have expected control point 1 to be:

0.7071, 1, 0.7071

as that is the corner point of the adjacent quad in the cylinder (See 1-8cyli.dat)

Control point 2 I understand, as it corresponds to the primitive being placed next to a rectilinear wall.

Looking at the length between the "rogue" control points and the conditional lines they beling to, one can see:

The distance from the conditional line to control point 2 is: 0.4142
The distance from the conditional line to control point 1 is: sqrt((0.9239-0.7654)^2+(0.3827-0.7654)^2) = 0.4142

So 0.4142 seems to be the distance used for "rogue" control points. I would just like to know why it differs from the length of a segment:[color=#333333][size=small][size=small][font=Tahoma, Verdana, Arial, sans-serif] sqrt((0.9239-1)^2+(0.3827)^2) = 0.3902[/size][/font][/size][/color]

PS. I'm doing all this in order to create unit tests for the primitives and will make a new thread with a full report later.
« Next Oldest | Next Newest »

 Messages In This Thread cyli2.dat - by Ulrich Röder - 2020-10-31, 20:06 RE: cyli2.dat - by Travis Cobbs - 2020-10-31, 20:28 RE: cyli2.dat - by Magnus Forsberg - 2020-10-31, 21:45 RE: cyli2.dat - by Max Martin Richter - 2020-10-31, 23:20 RE: cyli2.dat - by Chris Dee - 2020-11-01, 18:47 RE: cyli2.dat - by Lasse Deleuran - 2020-11-02, 16:00 RE: cyli2.dat - by Magnus Forsberg - 2020-11-02, 17:04 RE: cyli2.dat - by Lasse Deleuran - 2020-11-02, 18:24 RE: cyli2.dat - by N. W. Perry - 2020-11-02, 19:12 RE: cyli2.dat - by Max Martin Richter - 2020-11-02, 21:10 RE: cyli2.dat - by Magnus Forsberg - 2020-11-02, 21:41 RE: cyli2.dat - by N. W. Perry - 2020-11-03, 4:30 RE: cyli2.dat - by Lasse Deleuran - 2020-11-03, 12:18 RE: cyli2.dat - by N. W. Perry - 2020-11-03, 16:07 RE: cyli2.dat - by Max Martin Richter - 2020-11-03, 20:47 RE: cyli2.dat - by Magnus Forsberg - 2020-11-03, 22:19

Forum Jump:

Users browsing this thread: 1 Guest(s)