POV-Ray : Newsgroups : povray.general : Theoretical question : Theoretical question Server Time
2 Aug 2024 22:14:07 EDT (-0400)
  Theoretical question  
From: Anthony D  Baye
Date: 7 Jul 2004 00:17:15
Message: <40EB794A.7753B834@sdsmt.edu>
I was thinking that it would be cool to create a new electricity macro,
along the same lines as Rune's "Electric.inc" but rather than setting
the intensity directly, have the macro calculate strikes and intensity
based on interactions between spherical static fields:  Much like blob
calculations.

This in mind, I have a few questions:

1) Is this possible using only the current Official version of POV.

* I'd thaught of starting with a no_image sphere to simulate the field,
and calculating interactions with other fields based on variables like
Location, Radius and Strength
2) Is it possible to have the macro calculate interactions only between
"fields" and not between surrounding objects?  If not can anyone suggest
a workaround?

The electric arc could be perturbed so that small forks might branch off
or it's path might vary slightly based on turbulence calculations.

At the moment, I'm thinking that all the "field" coordinates would have
to be fed into one macro,  I was thinking this might be done with an
array.  The macro could step through the array using a loop.

It's quite likely that, even if what I propose is possible, it will take
me quite some time to come up with a with a working model; however, I
wanted to float the idea and get some feedback and ideas.

Again, this is an idea I had for something to work on while I'm learning
programming, I have no Idea how hard it might be - only that it would be
interesting to try.

ADB


Post a reply to this message

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