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 / 5164
5163  |  5165
Subject: 
Sphere tesselation
Newsgroups: 
lugnet.cad.dev
Date: 
Sat, 9 Sep 2000 22:50:02 GMT
Viewed: 
381 times
  
Does anyone know how to perform an arbitrary sphere tesselation which ends
up with the tesselation used by the LDraw sphere primitives when set to a
detail level of 16 (16 being the number of facets around the circumference
at the equator).  I'll have to be able to run it for an eighth of a sphere,
of course, since that is the base sphere unit in LDraw.

I want to do a primitive substitution for the 1-8SPHE.DAT primitive, but I'd
really rather not have to hard-code the points.  It would be nice at some
point in the future to be able to increase the complexity and still have my
spheres and cylinders meet exactly.

To be perfectly honest, I'm not even sure what higher tesselation values
should result in.  The p\48 directory doesn't contain the sphere primitive.
Of course, if I get a tesselation routine, I will be able to CREATE one to
put in there, but the fact that there isn't one there now means I'm not even
sure what it should look like.  All I know is that the three outer edges
would have 12 facets each.

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



Message has 2 Replies:
  Re: Sphere tesselation
 
(...) Nope, sorry. (...) I don't think James used any particular algorithm when he selected points for the sphere p-files. At some point, I'd like to replace the sphere p-files with something better-looking. Something like the 48\1-8sphe.dat I (...) (24 years ago, 11-Sep-00, to lugnet.cad.dev)
  Re: Sphere tesselation
 
(...) As far as I know, the sphere is incorrectly tesselated in Ldraw, because it has non-planar quads. So if there is ever going to be a matematical tesselation, which aproaches this form, it won't surelly be a sphere, more like "spheroid", similar (...) (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
    

Custom Search

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