|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hello,
What method/object to use to make triangles from three points on a sphere?
After a long search on the web, I didn't find anything.
Thanks for your advice
--
Kurtz le pirate
Compagnie de la Banquise
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
hi,
kurtz le pirate <kur### [at] gmailcom> wrote:
> Hello,
> What method/object to use to make triangles from three points on a sphere?
> After a long search on the web, I didn't find anything.
I googled (quoted string) "spherical triangles", and found a page I can't read
but am sure you do :-). hth.
<https://www.johndcook.com/blog/spherical_trigonometry/>
regards, jr.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
kurtz le pirate <kur### [at] gmailcom> wrote:
> Hello,
> What method/object to use to make triangles from three points on a sphere?
>
> After a long search on the web, I didn't find anything.
You could use a sphere and difference/intersection.
isosurface
parametric
polynomial
bicubic_patch
mesh
The mesh approach would likely involve using one of the many methods of starting
with a platonic solid and subdividing each face into more triangles and
normalizing the distance of the new vertices so that the triangles progressively
approximate the surface of the spherical triangle.
Heck, you could probably also use lathe and SOR.
Facetted_sphere or Ring_Sphere macros in shapes3.inc
- BW
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
kurtz le pirate <kur### [at] gmailcom> wrote:
> Hello,
>
>
> What method/object to use to make triangles from three points on a sphere?
>
> After a long search on the web, I didn't find anything.
>
>
> Thanks for your advice
>
>
>
> --
> Kurtz le pirate
> Compagnie de la Banquise
It all depends on what you got and what you want.
There should be plenty of code out there that can place make a sphere out of
triangles. I use GEODESIC SHAPE GENERATOR FOR PERSISTENCE OF VISION 3.1x by by
Uwe Zimmermann, Stockholm, Sweden 1999. I Here's a copy if you need it.
One thing the triangles that fit a sphere wont' be all the same size and shape.
Have Fun!
Post a reply to this message
Attachments:
Download 'goedome.zip' (45 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thank you for your answers ;)
Can be a beginning of solution: the spherical triangle is obtained by
the difference between the sphere and three planes defined by the normal
of the three vectors taken two by two.
Now I have to find out how to draw the arcs (not necessarily "great
circles") connecting the points.
Image of the first experiment here
--
Kurtz le pirate
Compagnie de la Banquise
Post a reply to this message
Attachments:
Download 'spherical02.jpg' (110 KB)
Preview of image 'spherical02.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
kurtz le pirate <kur### [at] gmailcom> wrote:
> Now I have to find out how to draw the arcs (not necessarily "great
> circles") connecting the points.
You already have your planes, so find the mid point between two triangle
vertices and determine the depth of that arc.
Then it's a simple matter of calculating where the centers of the tori will be
and rotating and translating them into proper position.
Post a reply to this message
Attachments:
Download 'arccenter.png' (241 KB)
Preview of image 'arccenter.png'
|
|
| |
| |
|
|
|
|
| |