POV-Ray : Newsgroups : povray.binaries.images : Mesh spheres Server Time
7 Nov 2024 07:32:05 EST (-0500)
  Mesh spheres (Message 1 to 7 of 7)  
From: Bald Eagle
Subject: Mesh spheres
Date: 17 Aug 2016 19:30:01
Message: <web.57b4f3192c2caea5e7df57c0@news.povray.org>
related to:

http://news.povray.org/povray.binaries.scene-files/thread/%3Cweb.57b4b6c879df8923b488d9aa0%40news.povray.org%3E/

octahedron and icosahedron models fully worked out.

Showing original polygon, and 1, 2, and 3 iterations of triangle subdivision (1
triangle --->  4 triangles)

Still trying to puzzle out the surface normal problem.


Post a reply to this message


Attachments:
Download 'subdivided_mesh_sphere[cropped].png' (49 KB)

Preview of image 'subdivided_mesh_sphere[cropped].png'
subdivided_mesh_sphere[cropped].png


 

From: Bald Eagle
Subject: Re: Mesh spheres
Date: 17 Aug 2016 22:20:01
Message: <web.57b51a5a617384655e7df57c0@news.povray.org>
Dodecahedron done, while I was in the zone.

12 pentagonal faces redefined to (5 * 12) = 60 triangular faces

Cube and 3 rectangles with vector components based on Phi shown as per wikipedia
diagram


Post a reply to this message


Attachments:
Download 'dodecahedron.png' (60 KB)

Preview of image 'dodecahedron.png'
dodecahedron.png


 

From: architype
Subject: Re: Mesh spheres
Date: 18 Aug 2016 04:20:01
Message: <web.57b56f51617384654edc0b060@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> related to:
>
>
http://news.povray.org/povray.binaries.scene-files/thread/%3Cweb.57b4b6c879df8923b488d9aa0%40news.povray.org%3E/
>
> octahedron and icosahedron models fully worked out.
>
> Showing original polygon, and 1, 2, and 3 iterations of triangle subdivision (1
> triangle --->  4 triangles)
>
> Still trying to puzzle out the surface normal problem.

Thats interesting. I am sure that it will be of use, but it is also a neat thing
in itself. :)


Post a reply to this message

From: Le Forgeron
Subject: Re: Mesh spheres
Date: 18 Aug 2016 11:58:52
Message: <57b5db3c@news.povray.org>
Le 18/08/2016 à 01:28, Bald Eagle a écrit :
> 
> related to:
> 
>
http://news.povray.org/povray.binaries.scene-files/thread/%3Cweb.57b4b6c879df8923b488d9aa0%40news.povray.org%3E/
> 
> octahedron and icosahedron models fully worked out.
> 
> Showing original polygon, and 1, 2, and 3 iterations of triangle subdivision (1
> triangle --->  4 triangles)
> 
> Still trying to puzzle out the surface normal problem.
> 

I want to thank you for stressing now the problem of ordering the points of triangle
in mesh.

Using my new toy in hgpovray (uv_vertex() and friends) I had misordered half of the
triangles.


Post a reply to this message


Attachments:
Download 'cut.png' (83 KB) Download 'sp.png' (73 KB) Download 'nurbsmesh.inc.txt' (2 KB) Download 'cut.pov.txt' (2 KB)

Preview of image 'cut.png'
cut.png

Preview of image 'sp.png'
sp.png

From: clipka
Subject: Re: Mesh spheres
Date: 18 Aug 2016 13:44:46
Message: <57b5f40e$1@news.povray.org>
The thing that bothers me about most sphere approximations by
subdivision is that they are typically geared towards keeping the
triangles as close to equilateral as possible, while for some
applications it may be more important to aim for triangles of uniform
size (or, more precisely, for triangles corresponding to uniform solid
angles).

To that end, I suspect a pentakis dodecahedron (aka kisdodecahedron; a
dodecahedron with each face split up into five triangles, for a total of
60 triangles) might be a better starting point.


Post a reply to this message

From: Bald Eagle
Subject: Re: Mesh spheres
Date: 18 Aug 2016 15:10:00
Message: <web.57b6070161738465b488d9aa0@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> The thing that bothers me about most sphere approximations by
> subdivision is that they are typically geared towards keeping the
> triangles as close to equilateral as possible, while for some
> applications it may be more important to aim for triangles of uniform
> size (or, more precisely, for triangles corresponding to uniform solid
> angles).

I found a nice discussion about that a while back, here:
https://wattsupwiththat.com/2013/10/02/ipcc-climate-a-product-of-lies-damn-lies-and-statistics-built-on-inadequate-data
/#comment-1435364

> To that end, I suspect a pentakis dodecahedron (aka kisdodecahedron; a
> dodecahedron with each face split up into five triangles, for a total of
> 60 triangles) might be a better starting point.

That's indeed what I did with the code I posted for the "dodecahedron" in pbsf.
Though as you pointed out, it needs some edits.


Post a reply to this message

From: clipka
Subject: Re: Mesh spheres
Date: 18 Aug 2016 15:26:09
Message: <57b60bd1$1@news.povray.org>
Am 18.08.2016 um 21:05 schrieb Bald Eagle:

>> To that end, I suspect a pentakis dodecahedron (aka kisdodecahedron; a
>> dodecahedron with each face split up into five triangles, for a total of
>> 60 triangles) might be a better starting point.
> 
> That's indeed what I did with the code I posted for the "dodecahedron" in pbsf.
> Though as you pointed out, it needs some edits.

Ah -- I didn't notice that one. I only concentrated on your
icosahedron/octahedron scene.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.