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 / 5175
5174  |  5176
Subject: 
Re: Sphere tesselation
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 12 Sep 2000 14:29:42 GMT
Viewed: 
488 times
  
In lugnet.cad.dev, Travis Cobbs wrote:

"Steve Bliss" <steve.bliss@home.com> wrote in message
news:ppnprssksi9anl3hi45qgq5kkbarndid1n@4ax.com...
In lugnet.cad.dev, Travis Cobbs wrote:

At some point, I'd like to replace the sphere p-files with something
better-looking.  Something like the 48\1-8sphe.dat I posted (see
<http://news.lugnet.com/cad/dat/parts/primitives/?n=39>), but with only 5
vertices on each edge, to fit with the standard curved p-files.

How did you generate this file?  It certainly looks like it was
algorithmically generated.  Don't tell me you figured out all those points
BY HAND?

It was a fractal-thingy--it started with a 10-vertex triangular mesh (the
three points on the axes, two points along each edge, and the point at the
center of the surface of the hemi-demi-semi-sphere).  Then it divided each
triangle in the mesh into 4 subtriangles.  To figure the new points, it
found the midpoint of each edge, and projected that point onto the surface
of the unit sphere.  These divisions were repeated for a specified number
of iterations.

I'm not sure why I started with the 10-mesh that I did.  It would have been
a lot less code to start with just the 3 points on the axes.  Maybe I
wanted to have that center-point?

Steve



Message has 1 Reply:
  Re: Sphere tesselation
 
"Steve Bliss" <steve.bliss@home.com> wrote in message news:f5csrssq9rkotte...4ax.com... (...) 5 (...) points (...) Thanks for the info. The next thing I'm going to try will be similar, but iterative instead of recursive in order to allow for a set (...) (24 years ago, 12-Sep-00, to lugnet.cad.dev)

Message is in Reply To:
  Re: Sphere tesselation
 
"Steve Bliss" <steve.bliss@home.com> wrote in message news:ppnprssksi9anl3...4ax.com... (...) How did you generate this file? It certainly looks like it was algorithmically generated. Don't tell me you figured out all those points BY HAND? I did (...) (24 years ago, 11-Sep-00, to lugnet.cad.dev)

9 Messages in This Thread:


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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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