POV-Ray : Newsgroups : povray.binaries.animations : Collision /w moving object Server Time
20 Jul 2024 03:21:53 EDT (-0400)
  Collision /w moving object (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Rune
Subject: Collision /w moving object
Date: 1 Dec 2001 21:34:24
Message: <3c099330@news.povray.org>
Early test. Tired now. Explanation later. Must sleep. Goodnight!

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated Nov 5)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message


Attachments:
Download 'mills.mpg' (133 KB)

From: Tony[B]
Subject: Re: Collision /w moving object
Date: 1 Dec 2001 22:13:22
Message: <3c099c52@news.povray.org>
There are a couple that are definitely going through the boxes, but by Jove
this is good! You deserve some rest, boy! This is some excellent work! :)


Post a reply to this message

From: Jim Kress
Subject: Re: Collision /w moving object
Date: 2 Dec 2001 01:43:33
Message: <3c09cd95$1@news.povray.org>
Shouldn't the paddles be spinning in the opposite direction?

Jim

"Rune" <run### [at] mobilixnetdk> wrote in message
news:3c099330@news.povray.org...
> Early test. Tired now. Explanation later. Must sleep. Goodnight!
>
> Rune
> --
> 3D images and anims, include files, tutorials and more:
> Rune's World:    http://rsj.mobilixnet.dk (updated Nov 5)
> POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
> POV-Ray Webring: http://webring.povray.co.uk
>
>
>


Post a reply to this message

From: Rune
Subject: Re: Collision /w moving object
Date: 2 Dec 2001 07:14:25
Message: <3c0a1b21@news.povray.org>
"Tony[B]" wrote:
> There are a couple that are definitely going
> through the boxes

Actually I don't think so. I can't spot any. I should mention though that
there are three simulations here and each simulation only tests against its
own box, not against the others' boxes, so the particles from one system may
go through the boxes of the other systems. Is that what you're referring to?

> You deserve some rest, boy! This is some
> excellent work! :)

Thanks! I've had a good night's rest now and am ready to go on... :D

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated Nov 5)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

From: Rune
Subject: Re: Collision /w moving object
Date: 2 Dec 2001 07:14:28
Message: <3c0a1b24$1@news.povray.org>
"Jim Kress" wrote:
> Shouldn't the paddles be spinning in the opposite direction?

No, they're motor driven, not pushed by the water.

But it probably was a mistake to call the animation for mills.mpg as they're
not mills...

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated Nov 5)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

From: Tony[B]
Subject: Re: Collision /w moving object
Date: 2 Dec 2001 10:07:39
Message: <3c0a43bb@news.povray.org>
> there are three simulations here and each simulation only tests against
its
> own box, not against the others' boxes, so the particles from one system
may
> go through the boxes of the other systems. Is that what you're referring
to?

That's precisely what I'm talking about. The red ones go through the green
ones' box/plank.


Post a reply to this message

From: Rick [Kitty5]
Subject: Re: Collision /w moving object
Date: 2 Dec 2001 12:52:45
Message: <3c0a6a6d$1@news.povray.org>
> Early test. Tired now. Explanation later. Must sleep. Goodnight!

Excellent work!!

--


Rick

Kitty5 WebDesign - http://Kitty5.com
POV-Ray News & Resources - http://Povray.co.uk
TEL : +44 (01270) 501101 - FAX : +44 (01270) 251105 - ICQ : 15776037

PGP Public Key
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x231E1CEA


Post a reply to this message

From: Mark James Lewin
Subject: Re: Collision /w moving object
Date: 2 Dec 2001 16:31:03
Message: <3C0A9A2A.B1FE4CEF@yahoo.com.au>
This looks really nice Rune. May I ask if your particles gain energy from the
collision with the box (especially if it is moving fast)? Can your algorithm
handle _really_ speedy rotations with the test environment? I had considered
putting this into my system, but could not come up with a suitable method for
handling the energy gains easily and accurately for the these high speed rotation
cases.

MJL

Rune wrote:

> Early test. Tired now. Explanation later. Must sleep. Goodnight!
>
> Rune
> --
> 3D images and anims, include files, tutorials and more:
> Rune's World:    http://rsj.mobilixnet.dk (updated Nov 5)
> POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
> POV-Ray Webring: http://webring.povray.co.uk
>
>                 Name: mills.mpg
>    mills.mpg    Type: MPLAYER2 File (video/mpeg)
>             Encoding: x-uuencode

--
light_source{12*(y-z)rgb 2fade_distance 9fade_power 2area_light x,z,5,5}#macro A
(H,B,R,T)prism{0,1H+4,0u*9,9v*9,0#local I=1;#while(I<H)#local V=asc(substr(B,I,1
))-33;<div(V,10)mod(V,10)>#local I=I+1;#end pigment{red 1}rotate-<90,R>translate
-T}#end A(16"/.@VZno=<PLA89/"0,5*x)A(14",6;MWmhryXN3,"60<15,0,8>)camera{location
25*(y-z)look_at 0}A(8"6hiAG=6"-60,-10*x)box{-99(x+z)*99 pigment{rgb 1}}   // MJL


Post a reply to this message

From: Rune
Subject: Re: Collision /w moving object
Date: 2 Dec 2001 18:59:07
Message: <3c0ac04b$1@news.povray.org>
"Mark James Lewin" wrote:
> This looks really nice Rune.

Thank you! :)

> May I ask if your particles gain energy from the
> collision with the box (especially if it is moving fast)?

It does, but it's not particularly visible in this animation.

> Can your algorithm handle _really_ speedy rotations with
> the test environment?

Yes. :)
Not one particle has escaped yet. And mind you - in this animation I used
very few calculation steps - only one per frame!

> I had considered putting this into my system, but could
> not come up with a suitable method for handling the energy
> gains easily and accurately for the these high speed
> rotation cases.

Well, it did take me quite a while to come up with the method. It only works
with transformations, and the transformation has to be separately specified.
That way I have access to the vtransform and vinv_transform functions. What
I basically do is to leave the object still and transform the ray inversely
instead. Then I find the intersection and then I transform the intersection
point etc. forward so it gets back in place.

So, it's not the spoon that is bending, but you! - err, I mean the
particles...

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated Nov 5)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

From: Rune
Subject: Re: Collision /w moving object
Date: 2 Dec 2001 18:59:08
Message: <3c0ac04c$1@news.povray.org>
"Rick [Kitty5]" wrote:
> Excellent work!!

Thank you! :)

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated Nov 5)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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