POV-Ray : Newsgroups : povray.binaries.images : Spherical Harmonics : Spherical Harmonics Server Time
3 May 2024 00:05:53 EDT (-0400)
  Spherical Harmonics  
From: Bald Eagle
Date: 6 Aug 2016 18:40:01
Message: <web.57a6669c174a9a7c5e7df57c0@news.povray.org>
related to
http://news.povray.org/povray.advanced-users/thread/%3Cweb.57a650c25c93b6e65e7df57c0%40news.povray.org%3E/

I copied the CHSV2RGB macro and stored the r, g, and b values in separate
variables to get rid of the parser warning about a suspicious expression.  How
do I suppress that?
And why do warnings and debug comments to the stream slow down POV-Ray SO much?

I managed to eke out a render, even though there are several things going on
that I don't understand.

For one, the whole logic of generating an array with both P2 and P6 Legendre
polynomials and taking the max of several operations.

I'm sure I must be missing something in generating my array, since I'm not
totally clear on what's taking place in some of the MatLab operations.

I'm not sure why my spline returns a 2-component result.

AND I'm perplexed about the u and v in POV-Ray's parametric.


But I made a pretty picture.   :D

I made the cross-section by making another pseudo-parametric with spheres and
filtering out any y values less than 0 (it's rotated around x), but I'm sure
there must be an intersection / difference / clipped_by method that's more
efficient.


Finite Objects:      3891615
  Parse Time:       0 hours  2 minutes  4 seconds (124.487 seconds)
Peak memory used:        6531100672 bytes
  Trace Time:       0 hours  3 minutes  1 seconds (181.927 seconds)


Post a reply to this message


Attachments:
Download 'sphericalharmonics.png' (188 KB)

Preview of image 'sphericalharmonics.png'
sphericalharmonics.png


 

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