POV-Ray : Newsgroups : povray.binaries.images : Visualizing vector fields with a single isosurface Server Time
4 Nov 2024 13:12:31 EST (-0500)
  Visualizing vector fields with a single isosurface (Message 1 to 7 of 7)  
From: Tor Olav Kristensen
Subject: Visualizing vector fields with a single isosurface
Date: 30 Jan 2010 08:35:01
Message: <web.4b6434d658c2698ed6291f840@news.povray.org>
This image is an attempt to visualize the vector field <Z, -X, Y>.

Tor Olav
http://subcube.com


Post a reply to this message


Attachments:
Download 'vectorfield.jpg' (118 KB)

Preview of image 'vectorfield.jpg'
vectorfield.jpg


 

From: Christian Froeschlin
Subject: Re: Visualizing vector fields with a single isosurface
Date: 30 Jan 2010 10:31:19
Message: <4b6450c7$1@news.povray.org>
Elegant. Is it faster than simply generating a heap of objects?
It is probably more difficult to add some direction indicator.


Post a reply to this message

From: Reactor
Subject: Re: Visualizing vector fields with a single isosurface
Date: 30 Jan 2010 14:55:00
Message: <web.4b648e1f956d9fa61e5c3f900@news.povray.org>
"Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmailcom> wrote:
> This image is an attempt to visualize the vector field <Z, -X, Y>.
>
> Tor Olav
> http://subcube.com

I remember wanting to do something similar, but I found that you cannot have
parameters for a transformation function ;_;

I would up using a macro to generate parts of the function, but making a series
of functions that duplicate the behavior of a matrix in a symbolic fashion was
very difficult for me.  I wound up making simpler functions, which could not
provide the ability to arbitrarily transform a function by varying amounts.

Anyway, I would be curious as to how your code is, if you don't mind posting a
sample.  If your method provides a more elegant way of taking a point (x,y,z)
and spitting out a new, transformed point(x',y',z'),  I can think of many uses
for it.

-Reactor


Post a reply to this message

From: Tor Olav Kristensen
Subject: Re: Visualizing vector fields with a single isosurface
Date: 31 Jan 2010 11:10:01
Message: <web.4b65aa26956d9fa6d6291f840@news.povray.org>
Christian Froeschlin <chr### [at] chrfrde> wrote:
> Elegant. Is it faster than simply generating a heap of objects?

Thank you. No, in most cases it will be slower.

The attached image that shows something that can not be achieved
by orienting and spreading around a lot of objeccts with loops.


> It is probably more difficult to add some direction indicator.

No, this can be done quite easily, but the rendering time will increase.

--
Tor Olav
http://subcube.com


Post a reply to this message


Attachments:
Download 'vectorfield2.jpg' (129 KB)

Preview of image 'vectorfield2.jpg'
vectorfield2.jpg


 

From: Tor Olav Kristensen
Subject: Re: Visualizing vector fields with a single isosurface
Date: 31 Jan 2010 11:20:01
Message: <web.4b65ac53956d9fa6d6291f840@news.povray.org>
"Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmailcom> wrote:
> Christian Froeschlin <chr### [at] chrfrde> wrote:
> > Elegant. Is it faster than simply generating a heap of objects?
>
> Thank you. No, in most cases it will be slower.
>
> The attached image that shows something that can not be achieved
> by orienting and spreading around a lot of objeccts with loops.
>
>
> > It is probably more difficult to add some direction indicator.
>
> No, this can be done quite easily, but the rendering time will increase.

Here's an image with the bars made arrow shaped.
Doing it this way does not increase the rendering time significantly.

--
Tor Olav
http://subcube.com


Post a reply to this message


Attachments:
Download 'vectorfield3.jpg' (117 KB)

Preview of image 'vectorfield3.jpg'
vectorfield3.jpg


 

From: Tor Olav Kristensen
Subject: Re: Visualizing vector fields with a single isosurface
Date: 31 Jan 2010 11:20:01
Message: <web.4b65ad30956d9fa6d6291f840@news.povray.org>
"Reactor" <rea### [at] hotmailcom> wrote:
> "Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmailcom> wrote:
> > This image is an attempt to visualize the vector field <Z, -X, Y>.
> >
> > Tor Olav
> > http://subcube.com
>
> I remember wanting to do something similar, but I found that you cannot have
> parameters for a transformation function ;_;
>
> I would up using a macro to generate parts of the function, but making a series
> of functions that duplicate the behavior of a matrix in a symbolic fashion was
> very difficult for me.  I wound up making simpler functions, which could not
> provide the ability to arbitrarily transform a function by varying amounts.
>
> Anyway, I would be curious as to how your code is, if you don't mind posting a
> sample.  If your method provides a more elegant way of taking a point (x,y,z)
> and spitting out a new, transformed point(x',y',z'),  I can think of many uses
> for it.

It will take some time to explain how I did this.

But I'll try to find time within a few days to explain what I've done and post
some source code.

--
Tor Olav
http://subcube.com


Post a reply to this message

From: Christian Froeschlin
Subject: Re: Visualizing vector fields with a single isosurface
Date: 31 Jan 2010 18:00:34
Message: <4b660b92$1@news.povray.org>
Tor Olav Kristensen wrote:

> Here's an image with the bars made arrow shaped.

neat ;)


Post a reply to this message

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