POV-Ray : Newsgroups : povray.animations : Bubbles animation : Re: Bubbles animation Server Time
8 Jul 2024 15:50:47 EDT (-0400)
  Re: Bubbles animation  
From: hughes, b 
Date: 26 Sep 2002 19:23:49
Message: <3d939705@news.povray.org>
Andrew Coppin wrote:
>>Anyway... it's somewhat effervescent looking. The bubbles seem to grow out
>>of a invisible plane? Were they clipped or differenced to make them appear
>>and disappear?
>
> So anyway, each bubble appears out of nowhere at a given clock value 'cos
> that's the way I wrote the scene. But the bubbles *dissapear* when they hit
> the surface of the water (which they're CSG'd out of ;-). Actually I'd like
> to make the bubbles "burst" propperly when they get to the surface, and even
> send out little ripples along the water's surface

I see, makes sense then. Yeah, it can only get more difficult from there 
on. Predicting the positions and applying to a pattern would be possible 
enough on a HF, basically by not "predicting" but using known positions 
where the bubbles encounter the surface. I think trace() could do that. 
You would then put a ripples pattern centered at that point. The HF 
would be using the averaged patterns. Well, it's more complicated than 
it sounds, not even sure about it. Maybe proximity figured somehow, 
you'd know the three axes of the bubble so really all youd have test for 
is near/far to the water. Two axes are the position over water, third is 
height (or depth). When that 3rd axis encounters the water [#if(y=0) is 
water surface] an action would take place. Simple really. The tough part 
is scripting it out, might be the stuff of arrays.

You e-mailed me too, wondered if that was a mistake and probably was. 
Which makes me bring up the subject of cross-posting again. I keep 
forgetting I have to prevent the replies from going to other groups on 
my own. Which is why I try to never do it. You can end up with a pair of 
twin message threads. Mulitposting instead (separate posts) helps in 
that way but then the newsreader doesn't see the other one as being read 
already. Has always been something I try not to get into for that 
reason, which tends to make me a bad newsgroup user when it comes to 
that stuff. I don't get the practice, in other words, and it goes on so 
little here at news.povray.org where I visit most.
Luckily I know much more than I used to. Ken Tyler has put a guideline 
at povray.announce.frequently-asked-questions if you haven't seen it 
yet, cross-posting is the "acceptable" way but like I said something not 
seen much of here.

Sorry for going OT.


Post a reply to this message

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