POV-Ray : Newsgroups : povray.general : Source code gold mine : Source code gold mine Server Time
1 May 2024 13:53:42 EDT (-0400)
  Source code gold mine  
From: Bald Eagle
Date: 29 Jun 2017 10:55:01
Message: <web.595514a04cfcf4e3c437ac910@news.povray.org>
As I often am experimenting with different projects and visualizations, I come
across the frustrating fact that I haven't had enough formal math[s] education,
and don't have a readily available toolkit of code snippets to get past certain
basic, fundamental mathematical / geometric problems.
There is also the challenge that doing something geometrically, mathematically,
translating that to code, and then translating THAT into code that represents
mathematical lines into cylinders and tori, etc. are all somewhat different
tasks that need to be approached differently, structured differently, start of
with different data, etc.

F. Lohmueller's site is an excellent resource, but there are so many
mathematical and geometric tasks that need to be done for certain scenes, that
it would be impossible for him to anticipate, code, and have them all available
on his page.

With regard to some recent and continued interest in Voronoi, Delaunay, stacking
objects (spheres), etc, I have found:

https://people.sc.fsu.edu/~jburkardt/f_src/f_src.html

(Which specifically had some cpp code for calculating the center and radius of
the insphere of an irregular tetrahedron.)

I'm having a go at converting some of it to SDL, though I envision some of these
simple tasks as being a very nice addition to the internal functions of POV-Ray
4.0

Just thought I'd share the link and my thoughts.


Post a reply to this message

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