POV-Ray : Newsgroups : povray.binaries.animations : flapping butterfly Server Time
18 Jul 2024 18:18:26 EDT (-0400)
  flapping butterfly (Message 1 to 5 of 5)  
From: andrel
Subject: flapping butterfly
Date: 4 Feb 2004 13:19:51
Message: <40213754.1090107@hotmail.com>
Sources in pbsf.
I also desribed there how it was done and also
some discussion.

    Andrel


Post a reply to this message


Attachments:
Download 'atalanta.mpg' (485 KB)

From: Bernd Michler
Subject: Re: flapping butterfly
Date: 5 Feb 2004 12:50:41
Message: <40228271@news.povray.org>
You have to light sources in it, one of them should not have shadows.


-- 


Bernd Michler
"andrel" <a_l### [at] hotmailcom> schrieb im Newsbeitrag
news:402### [at] hotmailcom...
> Sources in pbsf.
> I also desribed there how it was done and also
> some discussion.
>
>     Andrel
>
>


Post a reply to this message

From: andrel
Subject: Re: flapping butterfly
Date: 5 Feb 2004 14:47:20
Message: <40229D13.5020908@hotmail.com>
Bernd Michler wrote:
> You have to light sources in it, one of them should not have shadows.

Sure, if I wanted to do a realistic outdoor scene.
In this case I did not :).
I wanted my source to be as simple as possible
and only show the use of my macro to animate
this butterfly.
Hmm, in retrospect, I think I should have used
one light and ambient lighting. That would have
been even more basic. Thanks for pointing out.

   Andrel


Post a reply to this message

From: Andrew Wilcox
Subject: Re: flapping butterfly
Date: 5 Feb 2004 15:17:53
Message: <4022a4f1$1@news.povray.org>
Next you should try making a looping animation with some acceleration and
deceleration near the end points.

#macro animSin(C)          sin(2*pi*C)
#macro animSin01(C)  (animSin(C-0.25)+1)/2

I assume you have some place in your code that does:

    rotate <0, 0, 90*clock>

try:

    rotate <0, 0, 90*animSin01(clock)>

oh, and double your frame count, if you do this.

AW

"andrel" <a_l### [at] hotmailcom> wrote in message
news:402### [at] hotmailcom...
> Sources in pbsf.
> I also desribed there how it was done and also
> some discussion.
>
>     Andrel
>
>


Post a reply to this message

From: andrel
Subject: Re: flapping butterfly
Date: 5 Feb 2004 15:54:30
Message: <4022AD41.9000401@hotmail.com>
Andrew Wilcox wrote:
> Next you should try making a looping animation with some acceleration and
> deceleration near the end points.
> 
> #macro animSin(C)          sin(2*pi*C)
> #macro animSin01(C)  (animSin(C-0.25)+1)/2
That is an interesting way to make a cosine ;)

> I assume you have some place in your code that does:
> 
>     rotate <0, 0, 90*clock>

No, I have not (see source in pbs-f)
I am afraid it was a lot more work than that.

> try:
> 
>     rotate <0, 0, 90*animSin01(clock)>
No:

  Atalanta(animSin01(clock))

It looks reasonable. I am sure the wings do not
move like a sinusoid, but my brain does not
object to this movement as unrealistic.
I probably would have tried something more
complicated then a pure sinusoid myself, so
thanks for preventing another level of complexity.

> oh, and double your frame count, if you do this.

No to make it even remotely behaving like a butterfly
I have increase the framerate and then at 32 frames
30 frames per second it still is in slow motion.

Thanks for your comment.

     Andrel


Post a reply to this message

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