POV-Ray : Newsgroups : povray.binaries.animations : Sampled Blob Box Anim Server Time
19 Jul 2024 17:26:19 EDT (-0400)
  Sampled Blob Box Anim (Message 1 to 6 of 6)  
From: Andrew Cocker
Subject: Sampled Blob Box Anim
Date: 17 Aug 2002 15:14:03
Message: <3d5ea07b@news.povray.org>
Here's the anim as referred to in povray.binaries.images.

My plan is/was to simulate grass or other such objects 'flowing' in a breeze by
somehow
sampling a pigment (ie bozo) as it translates along it's axes in the 'wind direction'.
The
base of each blade of grass would be stationary of course... when the sampling returns
a float
of 1 (rgb 1), the tip of the blade of grass would be translated, rotated etc by a
preset
amount. When the sampling returns a 0, there would be no effect on the tip. Dunno if
it would
work, but I had the idea that pigment functions could be combined rather like waves
interacting with one another, to give quite a realistic effect.

Having said that, I've yet to attempt it, and it could end up looking bad.

Comments, suggestions?

All the best,

Andy Cocker


Post a reply to this message


Attachments:
Download 'Eval_Pigment_Blobs.m1v.mpg' (440 KB)

From: Sebastian H 
Subject: Re: Sampled Blob Box Anim
Date: 17 Aug 2002 16:23:43
Message: <3d5eb0cf@news.povray.org>
Andrew Cocker wrote:
> Here's the anim as referred to in povray.binaries.images.
> 
> My plan is/was to simulate grass or other such objects 'flowing' in a breeze by
somehow
> sampling a pigment (ie bozo) as it translates along it's axes in the 'wind
direction'. The
> base of each blade of grass would be stationary of course... when the sampling
returns a float
> of 1 (rgb 1), the tip of the blade of grass would be translated, rotated etc by a
preset
> amount. When the sampling returns a 0, there would be no effect on the tip. Dunno if
it would
> work, but I had the idea that pigment functions could be combined rather like waves
> interacting with one another, to give quite a realistic effect.
> 
> Having said that, I've yet to attempt it, and it could end up looking bad.
> 
> Comments, suggestions?
> 
> All the best,
> 
> Andy Cocker
> 
> 

The idea is promissing, I think.
Maybe try simple grass made of three cylinders for experimenting, where 
the angle between the elements somehow depends on the value of the 
function you are using.

Regards,
Sebastian


Post a reply to this message

From: Rafal 'Raf256' Maj
Subject: Re: Sampled Blob Box Anim
Date: 18 Aug 2002 00:51:19
Message: <Xns926E451A63C8Fraf256com@204.213.191.226>
"Andrew Cocker" <mai### [at] mariner9net> wrote in
news:3d5ea07b@news.povray.org 

> begin 666 Eval_Pigment_Blobs.m1v

where can I find win32/dos .mlv decoder ?


-- 
#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

From: ingo
Subject: Re: Sampled Blob Box Anim
Date: 18 Aug 2002 03:28:33
Message: <Xns926E611597461seed7@povray.org>
in news:Xns### [at] 204213191226 Rafal 'Raf256' Maj 
wrote:

> where can I find win32/dos .mlv decoder ?
> 

Generaly Windows media player runs it just fine, you may have to rename 
the extension to .mpg though.

Ingo


Post a reply to this message

From: Andrew Coppin
Subject: Re: Sampled Blob Box Anim
Date: 5 Oct 2002 05:39:02
Message: <3d9eb336@news.povray.org>
This is a dam nice effect... (Read: "why the heck didn't I think of this
first?" ;-)

Andrew.


Post a reply to this message

From: Andrew Cocker
Subject: Re: Sampled Blob Box Anim
Date: 5 Oct 2002 14:27:11
Message: <3d9f2eff$1@news.povray.org>
Thanks.

Andy Cocker

"Andrew Coppin" <orp### [at] btinternetcom> wrote in message
news:3d9eb336@news.povray.org...
> This is a dam nice effect... (Read: "why the heck didn't I think of this
> first?" ;-)
>
> Andrew.
>
>
>


Post a reply to this message

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