|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
This is a dam nice effect... (Read: "why the heck didn't I think of this
first?" ;-)
Andrew.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |