|
|
"Apache" <apa### [at] yahoocom> wrote in
news:3e80978c@news.povray.org
> Another idea: as POV-Ray generates synthetic images/animations. What
> POV-Ray like program would generate synthetic sounds?
Hmm.. imho this could be grate - take from POV - CSG, shape definitions
etc, and add to material another property - sound - that defines how object
is reflecting sound (or diffusing it).
I.e. :
// mettal pipe
cylinder { -z,+z, 0.1 sound { reflection .5 } }
// echo chamber
box { -1,+1 inverse sound { reflection .3 } }
// carpeted holway
box { -1,+1 inverse sound { diffuse .75 } }
Sound can be interpreted like a special type of... wave, and therefore it
can be traced just as light do :
light-ray-tracer => wave-ray-tracer
light_source => sound_source
diffuse => sound { diffuse }
reflection => sound { reflection } - makes echo
etc...
--
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M
Post a reply to this message
|
|