To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.parts.primitivesOpen lugnet.cad.dat.parts.primitives in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Parts / Primitives / 71
70  |  72
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Alternative possible hi-res sphere primitive
Newsgroups: 
lugnet.cad.dat.parts.primitives
Date: 
Thu, 21 Sep 2000 08:18:47 GMT
Viewed: 
1094 times
  
Please read my previous post regarding a possible replacement for
1-8sphe.dat.  This post will make more sense if you do.

Once I got my sphere tesselation algorithm to work, it was straightforward
to generate a hi-res version of the sphere primitive.  I have included it
below (without the linetype 5 lines, as with the standard-res version).

Steve Bliss posted a hi-res sphere primitive to this group in January.  I
feel that my version is slightly better--or at least WILL be slightly better
if I add in the linetype 5 lines--for two reasons .  First, it is generated
using the same algorithm I used for the standard resolution version.  If we
decide to go with that as a replacement for the original sphere primitive,
this would be more consistent.  This obviously doesn't stand up as an
argument if we choose not to use my standard resolution tesselation.

Second, it has (I feel) a more even distribution of points.  (I think this
could be shown mathematically, but I haven't the foggiest how you would go
about doing so.)  This is fairly subtle, but if you orient it so it is a
vaguely a triangle with the widest part along the bottom, and then look at
the top of the bottom row of triangles, you will note that this is a smooth
curve on my sphere, and not on Steve's.  (Please don't take this the wrong
way Steve: yours looks great, and your explanation of how you generated it
helped me to implement my algorithm.)

At any rate, here it is:


0 Hi-Res 1/8 Sphere
0 Author: Travis Cobbs
0 Incomplete 48\1-8sphe.dat primitive.
0
0 I will produce linetype 5 lines if there is interest in
0 actually using this file.
0
0 This data was generated using the algorithm used by LDView to
0 perform sphere primitive replacement.  (The sphere primitive
0 replacement feature has not yet been released.)  I modified
0 it to generate a sphere with 48 segments around the equator
0 instead of the standard 16.
0
3 16 1.000 -0.000 0.000 0.991 0.000 0.131 0.991 0.131 0.000
3 16 0.991 0.000 0.131 0.981 0.137 0.137 0.991 0.131 0.000
3 16 0.991 0.000 0.131 0.966 0.000 0.259 0.981 0.137 0.137
3 16 0.966 0.000 0.259 0.951 0.143 0.273 0.981 0.137 0.137
3 16 0.966 0.000 0.259 0.924 0.000 0.383 0.951 0.143 0.273
3 16 0.924 0.000 0.383 0.902 0.148 0.405 0.951 0.143 0.273
3 16 0.924 0.000 0.383 0.866 0.000 0.500 0.902 0.148 0.405
3 16 0.866 0.000 0.500 0.834 0.152 0.531 0.902 0.148 0.405
3 16 0.866 0.000 0.500 0.793 0.000 0.609 0.834 0.152 0.531
3 16 0.793 0.000 0.609 0.748 0.154 0.646 0.834 0.152 0.531
3 16 0.793 0.000 0.609 0.707 0.000 0.707 0.748 0.154 0.646
3 16 0.707 0.000 0.707 0.646 0.154 0.748 0.748 0.154 0.646
3 16 0.707 0.000 0.707 0.609 0.000 0.793 0.646 0.154 0.748
3 16 0.609 0.000 0.793 0.531 0.152 0.834 0.646 0.154 0.748
3 16 0.609 0.000 0.793 0.500 0.000 0.866 0.531 0.152 0.834
3 16 0.500 0.000 0.866 0.405 0.148 0.902 0.531 0.152 0.834
3 16 0.500 0.000 0.866 0.383 0.000 0.924 0.405 0.148 0.902
3 16 0.383 0.000 0.924 0.273 0.143 0.951 0.405 0.148 0.902
3 16 0.383 0.000 0.924 0.259 0.000 0.966 0.273 0.143 0.951
3 16 0.259 0.000 0.966 0.137 0.137 0.981 0.273 0.143 0.951
3 16 0.259 0.000 0.966 0.131 0.000 0.991 0.137 0.137 0.981
3 16 0.131 0.000 0.991 0.000 0.131 0.991 0.137 0.137 0.981
3 16 0.131 0.000 0.991 0.000 0.000 1.000 0.000 0.131 0.991
3 16 0.991 0.131 0.000 0.981 0.137 0.137 0.966 0.259 0.000
3 16 0.981 0.137 0.137 0.951 0.273 0.143 0.966 0.259 0.000
3 16 0.981 0.137 0.137 0.951 0.143 0.273 0.951 0.273 0.143
3 16 0.951 0.143 0.273 0.914 0.286 0.286 0.951 0.273 0.143
3 16 0.951 0.143 0.273 0.902 0.148 0.405 0.914 0.286 0.286
3 16 0.902 0.148 0.405 0.855 0.296 0.425 0.914 0.286 0.286
3 16 0.902 0.148 0.405 0.834 0.152 0.531 0.855 0.296 0.425
3 16 0.834 0.152 0.531 0.774 0.303 0.556 0.855 0.296 0.425
3 16 0.834 0.152 0.531 0.748 0.154 0.646 0.774 0.303 0.556
3 16 0.748 0.154 0.646 0.673 0.305 0.673 0.774 0.303 0.556
3 16 0.748 0.154 0.646 0.646 0.154 0.748 0.673 0.305 0.673
3 16 0.646 0.154 0.748 0.556 0.303 0.774 0.673 0.305 0.673
3 16 0.646 0.154 0.748 0.531 0.152 0.834 0.556 0.303 0.774
3 16 0.531 0.152 0.834 0.425 0.296 0.855 0.556 0.303 0.774
3 16 0.531 0.152 0.834 0.405 0.148 0.902 0.425 0.296 0.855
3 16 0.405 0.148 0.902 0.286 0.286 0.914 0.425 0.296 0.855
3 16 0.405 0.148 0.902 0.273 0.143 0.951 0.286 0.286 0.914
3 16 0.273 0.143 0.951 0.143 0.273 0.951 0.286 0.286 0.914
3 16 0.273 0.143 0.951 0.137 0.137 0.981 0.143 0.273 0.951
3 16 0.137 0.137 0.981 0.000 0.259 0.966 0.143 0.273 0.951
3 16 0.137 0.137 0.981 0.000 0.131 0.991 0.000 0.259 0.966
3 16 0.966 0.259 0.000 0.951 0.273 0.143 0.924 0.383 0.000
3 16 0.951 0.273 0.143 0.902 0.405 0.148 0.924 0.383 0.000
3 16 0.951 0.273 0.143 0.914 0.286 0.286 0.902 0.405 0.148
3 16 0.914 0.286 0.286 0.855 0.425 0.296 0.902 0.405 0.148
3 16 0.914 0.286 0.286 0.855 0.296 0.425 0.855 0.425 0.296
3 16 0.855 0.296 0.425 0.784 0.439 0.439 0.855 0.425 0.296
3 16 0.855 0.296 0.425 0.774 0.303 0.556 0.784 0.439 0.439
3 16 0.774 0.303 0.556 0.688 0.447 0.572 0.784 0.439 0.439
3 16 0.774 0.303 0.556 0.673 0.305 0.673 0.688 0.447 0.572
3 16 0.673 0.305 0.673 0.572 0.447 0.688 0.688 0.447 0.572
3 16 0.673 0.305 0.673 0.556 0.303 0.774 0.572 0.447 0.688
3 16 0.556 0.303 0.774 0.439 0.439 0.784 0.572 0.447 0.688
3 16 0.556 0.303 0.774 0.425 0.296 0.855 0.439 0.439 0.784
3 16 0.425 0.296 0.855 0.296 0.425 0.855 0.439 0.439 0.784
3 16 0.425 0.296 0.855 0.286 0.286 0.914 0.296 0.425 0.855
3 16 0.286 0.286 0.914 0.148 0.405 0.902 0.296 0.425 0.855
3 16 0.286 0.286 0.914 0.143 0.273 0.951 0.148 0.405 0.902
3 16 0.143 0.273 0.951 0.000 0.383 0.924 0.148 0.405 0.902
3 16 0.143 0.273 0.951 0.000 0.259 0.966 0.000 0.383 0.924
3 16 0.924 0.383 0.000 0.902 0.405 0.148 0.866 0.500 0.000
3 16 0.902 0.405 0.148 0.834 0.531 0.152 0.866 0.500 0.000
3 16 0.902 0.405 0.148 0.855 0.425 0.296 0.834 0.531 0.152
3 16 0.855 0.425 0.296 0.774 0.556 0.303 0.834 0.531 0.152
3 16 0.855 0.425 0.296 0.784 0.439 0.439 0.774 0.556 0.303
3 16 0.784 0.439 0.439 0.688 0.572 0.447 0.774 0.556 0.303
3 16 0.784 0.439 0.439 0.688 0.447 0.572 0.688 0.572 0.447
3 16 0.688 0.447 0.572 0.577 0.577 0.577 0.688 0.572 0.447
3 16 0.688 0.447 0.572 0.572 0.447 0.688 0.577 0.577 0.577
3 16 0.572 0.447 0.688 0.447 0.572 0.688 0.577 0.577 0.577
3 16 0.572 0.447 0.688 0.439 0.439 0.784 0.447 0.572 0.688
3 16 0.439 0.439 0.784 0.303 0.556 0.774 0.447 0.572 0.688
3 16 0.439 0.439 0.784 0.296 0.425 0.855 0.303 0.556 0.774
3 16 0.296 0.425 0.855 0.152 0.531 0.834 0.303 0.556 0.774
3 16 0.296 0.425 0.855 0.148 0.405 0.902 0.152 0.531 0.834
3 16 0.148 0.405 0.902 0.000 0.500 0.866 0.152 0.531 0.834
3 16 0.148 0.405 0.902 0.000 0.383 0.924 0.000 0.500 0.866
3 16 0.866 0.500 0.000 0.834 0.531 0.152 0.793 0.609 0.000
3 16 0.834 0.531 0.152 0.748 0.646 0.154 0.793 0.609 0.000
3 16 0.834 0.531 0.152 0.774 0.556 0.303 0.748 0.646 0.154
3 16 0.774 0.556 0.303 0.673 0.673 0.305 0.748 0.646 0.154
3 16 0.774 0.556 0.303 0.688 0.572 0.447 0.673 0.673 0.305
3 16 0.688 0.572 0.447 0.572 0.688 0.447 0.673 0.673 0.305
3 16 0.688 0.572 0.447 0.577 0.577 0.577 0.572 0.688 0.447
3 16 0.577 0.577 0.577 0.447 0.688 0.572 0.572 0.688 0.447
3 16 0.577 0.577 0.577 0.447 0.572 0.688 0.447 0.688 0.572
3 16 0.447 0.572 0.688 0.305 0.673 0.673 0.447 0.688 0.572
3 16 0.447 0.572 0.688 0.303 0.556 0.774 0.305 0.673 0.673
3 16 0.303 0.556 0.774 0.154 0.646 0.748 0.305 0.673 0.673
3 16 0.303 0.556 0.774 0.152 0.531 0.834 0.154 0.646 0.748
3 16 0.152 0.531 0.834 0.000 0.609 0.793 0.154 0.646 0.748
3 16 0.152 0.531 0.834 0.000 0.500 0.866 0.000 0.609 0.793
3 16 0.793 0.609 0.000 0.748 0.646 0.154 0.707 0.707 0.000
3 16 0.748 0.646 0.154 0.646 0.748 0.154 0.707 0.707 0.000
3 16 0.748 0.646 0.154 0.673 0.673 0.305 0.646 0.748 0.154
3 16 0.673 0.673 0.305 0.556 0.774 0.303 0.646 0.748 0.154
3 16 0.673 0.673 0.305 0.572 0.688 0.447 0.556 0.774 0.303
3 16 0.572 0.688 0.447 0.439 0.784 0.439 0.556 0.774 0.303
3 16 0.572 0.688 0.447 0.447 0.688 0.572 0.439 0.784 0.439
3 16 0.447 0.688 0.572 0.303 0.774 0.556 0.439 0.784 0.439
3 16 0.447 0.688 0.572 0.305 0.673 0.673 0.303 0.774 0.556
3 16 0.305 0.673 0.673 0.154 0.748 0.646 0.303 0.774 0.556
3 16 0.305 0.673 0.673 0.154 0.646 0.748 0.154 0.748 0.646
3 16 0.154 0.646 0.748 0.000 0.707 0.707 0.154 0.748 0.646
3 16 0.154 0.646 0.748 0.000 0.609 0.793 0.000 0.707 0.707
3 16 0.707 0.707 0.000 0.646 0.748 0.154 0.609 0.793 0.000
3 16 0.646 0.748 0.154 0.531 0.834 0.152 0.609 0.793 0.000
3 16 0.646 0.748 0.154 0.556 0.774 0.303 0.531 0.834 0.152
3 16 0.556 0.774 0.303 0.425 0.855 0.296 0.531 0.834 0.152
3 16 0.556 0.774 0.303 0.439 0.784 0.439 0.425 0.855 0.296
3 16 0.439 0.784 0.439 0.296 0.855 0.425 0.425 0.855 0.296
3 16 0.439 0.784 0.439 0.303 0.774 0.556 0.296 0.855 0.425
3 16 0.303 0.774 0.556 0.152 0.834 0.531 0.296 0.855 0.425
3 16 0.303 0.774 0.556 0.154 0.748 0.646 0.152 0.834 0.531
3 16 0.154 0.748 0.646 0.000 0.793 0.609 0.152 0.834 0.531
3 16 0.154 0.748 0.646 0.000 0.707 0.707 0.000 0.793 0.609
3 16 0.609 0.793 0.000 0.531 0.834 0.152 0.500 0.866 0.000
3 16 0.531 0.834 0.152 0.405 0.902 0.148 0.500 0.866 0.000
3 16 0.531 0.834 0.152 0.425 0.855 0.296 0.405 0.902 0.148
3 16 0.425 0.855 0.296 0.286 0.914 0.286 0.405 0.902 0.148
3 16 0.425 0.855 0.296 0.296 0.855 0.425 0.286 0.914 0.286
3 16 0.296 0.855 0.425 0.148 0.902 0.405 0.286 0.914 0.286
3 16 0.296 0.855 0.425 0.152 0.834 0.531 0.148 0.902 0.405
3 16 0.152 0.834 0.531 0.000 0.866 0.500 0.148 0.902 0.405
3 16 0.152 0.834 0.531 0.000 0.793 0.609 0.000 0.866 0.500
3 16 0.500 0.866 0.000 0.405 0.902 0.148 0.383 0.924 0.000
3 16 0.405 0.902 0.148 0.273 0.951 0.143 0.383 0.924 0.000
3 16 0.405 0.902 0.148 0.286 0.914 0.286 0.273 0.951 0.143
3 16 0.286 0.914 0.286 0.143 0.951 0.273 0.273 0.951 0.143
3 16 0.286 0.914 0.286 0.148 0.902 0.405 0.143 0.951 0.273
3 16 0.148 0.902 0.405 0.000 0.924 0.383 0.143 0.951 0.273
3 16 0.148 0.902 0.405 0.000 0.866 0.500 0.000 0.924 0.383
3 16 0.383 0.924 0.000 0.273 0.951 0.143 0.259 0.966 0.000
3 16 0.273 0.951 0.143 0.137 0.981 0.137 0.259 0.966 0.000
3 16 0.273 0.951 0.143 0.143 0.951 0.273 0.137 0.981 0.137
3 16 0.143 0.951 0.273 0.000 0.966 0.259 0.137 0.981 0.137
3 16 0.143 0.951 0.273 0.000 0.924 0.383 0.000 0.966 0.259
3 16 0.259 0.966 0.000 0.137 0.981 0.137 0.131 0.991 0.000
3 16 0.137 0.981 0.137 0.000 0.991 0.131 0.131 0.991 0.000
3 16 0.137 0.981 0.137 0.000 0.966 0.259 0.000 0.991 0.131
3 16 0.131 0.991 0.000 0.000 0.991 0.131 0.000 1.000 -0.000


--Travis Cobbs (tcobbs@san.REMOVE.rr.com)



Message has 1 Reply:
  Re: Alternative possible hi-res sphere primitive
 
(...) Hey, Travis Your hi-res sphere looks great! Much better than the other one available (Sorry, Steve, but it does look smoother and more even). I've begun to model my own Parts and Primitives library in MLCad. I've run into a wall with modelling (...) (23 years ago, 25-May-01, to lugnet.cad.dat.parts.primitives)

2 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