POV-Ray : Newsgroups : povray.binaries.animations : Collision /w moving object : Re: Collision /w moving object Server Time
2 Nov 2024 15:27:31 EDT (-0400)
  Re: Collision /w moving object  
From: Mark James Lewin
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

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