|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
The same animation as before, but in larger resolution, spheres replaced
with blob components, and collision detection added.
The collision detection is just a simple bouncing function. The particles
just keep bouncing with the same percentage loss of energy at each bounce.
The good thing is that it should work with not just planes, but any object,
though I haven't tested it yet.
Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated January 28)
/ Also visit http://www.povrayusers.org
Post a reply to this message
Attachments:
Download 'hose2.mpg' (111 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
but the particles itself don't have collision-det. between them, have they ?
--
plane{y,0 pigment{color rgb 1}}camera{location<1,5,-2>look_at
0}light_source{10 color 1}#macro m(a,b,c,n,i)#if(i=0)cylinder{a,b,c/3
pigment{color rgb z}}#else #local f=vlength(a-b)/32;#local d=(b-a)/8;#local
e=(vcross(d,n)/vlength(vcross(d,n)))*f*4;m(a-e,a+2*d+e,f,n,i-1)m(a+e,a+2*d-e
,f,n,i-1)m(a+3*d-e,a+3*d+e,f,n,i-1)m(a+3*d-e,a+5*d-e,f,n,i-1)
m(a+6*d-e,a+6*d+e,f,n,i-1)m(a+8*d-e,a+8*d+e,f,n,i-1)#end #end
m(-4*x,2*x,1/8,y,4) // Jan Walzer
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thanks Rune.. that is exactly what I had in mind. I trust it wasn't too
difficult?
I'd like to have control over the amount of energy lost on each bounce...
they didn't quite bounce as much as I'd have liked.
Well done (again)! :-)
--
Andy Cocker
---------------------------------------------------------------
listen to my music at:
www.mp3.com/lunarland
---------------------------------------------------------------
'I spilled spot remover on my dog. He's gone now. '
'I went to a restaurant that serves "breakfast at any time."
So I ordered french toast during the Renaissance. '
- Steven Wright.
---------------------------------------------------------------
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Jan Walzer" wrote:
> but the particles itself don't have
> collision-det. between them, have they ?
No, and I have no plans of implementing it.
Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated January 28)
/ Also visit http://www.povrayusers.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Andy Cocker" wrote:
> Thanks Rune.. that is exactly what I had in mind.
> I trust it wasn't too difficult?
Not really. I made a weird bug though that took me a while to figure out.
> I'd like to have control over the amount of energy
> lost on each bounce...
If you mean what I think you mean, then it is already taken care of. You can
set one variable that affects all bounces. You cannot control the energy
loss for the 1st bounce, the 2nd bounce etc.
> they didn't quite bounce as much as I'd have liked.
Well, water drops don't really bounce very much, do they? But anyway, as I
said, you can control it yourself when the system is released.
> Well done (again)! :-)
Thanks you! :)
Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated January 28)
/ Also visit http://www.povrayusers.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ooooooh!
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3a9053ce@news.povray.org>, Rune says...
> The same animation as before, but in larger resolution, spheres replaced
> with blob components, and collision detection added.
>
> The collision detection is just a simple bouncing function. The particles
> just keep bouncing with the same percentage loss of energy at each bounce.
> The good thing is that it should work with not just planes, but any object,
> though I haven't tested it yet.
>
> Rune
This looks great in MP7, no cycling in MP6.4 however. I would really
like to see a longer animation with more detail :)
--
Regards, Sander
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Sander" wrote:
> This looks great in MP7, no cycling in MP6.4 however.
It cycles fine for me with Media Player v6.4...
I'm using Win95.
> I would really like to see a longer animation with
> more detail :)
Maybe later... :)
Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated January 28)
/ Also visit http://www.povrayusers.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Tony[B]" wrote in various threads:
> Wow...
:D
> Whoa...
:D
> Ooooooh!
:D
Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated January 28)
/ Also visit http://www.povrayusers.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|