![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I had hoped to enter the current animation round... but I really haven't
got the energy to put together a decent animation.
So instead, here's something for the current stills round. Magnetism - a
rather obvious interpretation of the topic "Opposites".
The picture is a rather abstract representation of a magnetic field,
based on no research whatsoever so any science buffs feel free to tell
me what's wrong with it. The cylinders are randomly placed in space and
oriented based on the average of vectors to the north and south poles,
weighted by the inverse square law (which I'm assuming magnetism obeys,
I really haven't researched it at all).
Anyways, here's the code:
#declare north = <-1,1,1>;
#declare south = <1,-1,-1>;
#local rs = seed(23);
#local c = 0;
#while ( c < 50000 )
#local pos = <rand(rs),rand(rs),rand(rs)>*6-3;
#local toNorth = north - pos;
#local toSouth = south - pos;
#local fieldDir = toNorth/pow(vdot(toNorth,toNorth),1.5);
#local fieldDir =
fieldDir - toSouth/pow(vdot(toSouth,toSouth),1.5);
#local fieldDir = vnormalize(fieldDir);
cylinder { pos-fieldDir*.06, pos+fieldDir*.06, .003 }
#local c = c+1;
#end
Enjoy!
--
Tek
http://www.evilsuperbrain.com
Post a reply to this message
Attachments:
Download 'magnetism.jpg' (382 KB)
Preview of image 'magnetism.jpg'
![magnetism.jpg](/povray.binaries.images/attachment/%3C432a6c1c%40news.povray.org%3E/magnetism.jpg?ttop=441697&toff=4950&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Hello,
> The picture is a rather abstract representation of a magnetic field,
> based on no research whatsoever so any science buffs feel free to tell
> me what's wrong with it. The cylinders are randomly placed in space and
> oriented based on the average of vectors to the north and south poles,
> weighted by the inverse square law (which I'm assuming magnetism obeys,
> I really haven't researched it at all).
I first thought "There's something wrong, magnetic field lines don't
cross each other" until I realized that this is a 3D image, and the
field lines really don't cross. It's the perspective making it look like
that.
You should make it somehow more obvious that this is 3D, although I
don't have an idea how.
About the scientific part, I don't know any more than you do. It does
look right, however.
Manuel
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Interesting and cool.
Could be nice to see a color gradient from positive to negative pole.
;-)
Paolo
> So instead, here's something for the current stills round. Magnetism - a
> rather obvious interpretation of the topic "Opposites".
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Interresting :-)
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Tek wrote:
> I had hoped to enter the current animation round... but I really haven't
> got the energy to put together a decent animation.
This would likely be very cool in stereo.
--
Darren New / San Diego, CA, USA (PST)
"Rabbit beer, now with organic hops!"
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I'm working on a new one with more colours that should make it easier to see
the depth.
"Manuel Kasten" <kas### [at] gmx de> wrote in message
news:432a8aeb$1@news.povray.org...
> Hello,
>
>> The picture is a rather abstract representation of a magnetic field,
>> based on no research whatsoever so any science buffs feel free to tell me
>> what's wrong with it. The cylinders are randomly placed in space and
>> oriented based on the average of vectors to the north and south poles,
>> weighted by the inverse square law (which I'm assuming magnetism obeys, I
>> really haven't researched it at all).
>
> I first thought "There's something wrong, magnetic field lines don't cross
> each other" until I realized that this is a 3D image, and the field lines
> really don't cross. It's the perspective making it look like that.
>
> You should make it somehow more obvious that this is 3D, although I don't
> have an idea how.
>
> About the scientific part, I don't know any more than you do. It does look
> right, however.
>
>
> Manuel
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I thought the same thing, so I rendered a new multi-coloured version, I'll
post it here shortly...
"Paolo Gibellini" <p.g### [at] teinos com> wrote in message
news:432aad56$1@news.povray.org...
> Interesting and cool.
> Could be nice to see a color gradient from positive to negative pole.
> ;-)
> Paolo
>
>> So instead, here's something for the current stills round. Magnetism - a
>> rather obvious interpretation of the topic "Opposites".
>
>
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |