Wave interference spherical pattern

Apr 21, 2013 at 11:19am

Wave interference spherical pattern

Hello , i’m in the midle of my thesis project and i’m stuck on a simple problem:

I want to realize a visualization tool in jitter for wave interference of two or more sources in 3D with arbitrary source position.
Basically i want to make something like this:
http://www.falstad.com/wavebox/
I Don’t want to see the temporal evolution of the waves but just the spatial intensity (on the java applet you have to check the “show intensity” toggle).

The math behind this model is very simple , a sum of sinusoidal functions.

I’ve tried to make a patch with jit.expr but the result is very weird.

The author of the applet states that for obtaining the spatial intensity distribution you have to divide the space in small portions (the size of those portions is controlled by the “image resolution” parameter) and then integrate over time to obtain the intensity.

It seems like a particle model to me :) , but it’s true that using jit.p.shiva is too much complicated for a simple problem like this…
Here is my patch:

– Pasted Max Patch, click to expand. –
#67848
Apr 22, 2013 at 2:15pm

ok, let’s make it simpler:

how i can generate a 3d matrix of point where each point has the alpha channel controlled by a function of x, y and z?

#244010
Apr 22, 2013 at 2:33pm

hi
you can set “@blend_enable 1″ on jit.gl.mesh ?

#244011
Apr 22, 2013 at 5:50pm

Hello!
thanks for the response.
I’ve tried to enable blending and the sphere turns transparent! very cool but i think i’m far away from the java applet i posted before.

Doing some random search i’ve found two interesting words : “point cloud” .Can these words be the solution to my problem?

#244012
Apr 23, 2013 at 5:39am

Good thanks for share this info….

#244013

You must be logged in to reply to this topic.