POV-Ray : Newsgroups : povray.animations : animation question (im amatuer) Server Time
28 Jul 2024 12:21:39 EDT (-0400)
  animation question (im amatuer) (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: george ferguson
Subject: animation question (im amatuer)
Date: 29 May 2001 18:19:05
Message: <3b142059@news.povray.org>
> >>WARNING:THIS MAY SOUND COMPLETELY STUPID
> >>
> >>hi,
> >>
> >>i was trying to create animations in pov and encountered a problem...i
> >>dont have a clue how to use clock.  I am a complete amatuer so I was
> >>wondering if it would be possible to create a macro or *.inc file which
> >>makes animation easier to understand.  Maybe the script would look
> >>something like this
> >>
> >>animation { frame rate 25 fps      //no of frames per sec
> >>                  length 00:00:30        //length of animation
> >>                  from 00:00:00 to 00:00:30
> >>     translate   {   sphere001 <0,5,0>
> >>                  }}
> >>/*what happens in animation e.g sphere001 goes from current position to
> >>0,5,0 at 25 frames per second at a length of 30 seconds from 00:00:00 to
00:00:30.*/
> >>then you would just output all the renderings to a *.avi using some kind
> >>of plugin and bang.  You got an animation!!!  That is kinda what it
would
> >>look like.  What i'd like to know is
> >>1  would it be possible
> >>2  if you like it!
> >>3  if anyone would be willing to take up the challenge!!!
> >>
> >>Marc
>


Post a reply to this message

From: Bob H 
Subject: Re: animation question (im amatuer)
Date: 29 May 2001 19:39:31
Message: <3b143333$1@news.povray.org>
"george ferguson" <geo### [at] ferguson123freeservecouk> wrote in message
news:3b142059@news.povray.org...
> > >>
> > >>i was trying to create animations in pov and encountered a problem...i
> > >>dont have a clue how to use clock.  I am a complete amatuer so I was
> > >>wondering if it would be possible to create a macro or *.inc file
which
> > >>makes animation easier to understand.  Maybe the script would look
> > >>something like this
> > >>
> > >>animation { frame rate 25 fps      //no of frames per sec
> > >>                  length 00:00:30        //length of animation
> > >>                  from 00:00:00 to 00:00:30
> > >>     translate   {   sphere001 <0,5,0>
> > >>                  }}
> > >>/*what happens in animation e.g sphere001 goes from current position
to
> > >>0,5,0 at 25 frames per second at a length of 30 seconds from 00:00:00
to
> 00:00:30.*/
> > >>then you would just output all the renderings to a *.avi using some
kind
> > >>of plugin and bang.  You got an animation!!!  That is kinda what it
> would
> > >>look like.  What i'd like to know is
> > >>1  would it be possible
> > >>2  if you like it!
> > >>3  if anyone would be willing to take up the challenge!!!

Well, you might try reading up on it at the Advanced POV Animation for
Beginners tutorial and maybe you'll catch on eventually.
http://www.puzzlecraft.com/cm/ClockMod.html

What you're asking for is a different system altogether, which you no doubt
knew.
 :-)

Bob H.


Post a reply to this message

From: Chris Colefax
Subject: Re: animation question (im amatuer)
Date: 29 May 2001 19:55:40
Message: <3b1436fc@news.povray.org>
"george ferguson" <geo### [at] ferguson123freeservecouk> wrote:
>i was trying to create animations in pov and encountered a problem...i
>dont have a clue how to use clock.  I am a complete amatuer so I was
>wondering if it would be possible to create a macro or *.inc file which
>makes animation easier to understand.  Maybe the script would look
>something like this
[snip]
>then you would just output all the renderings to a *.avi using some kind
>of plugin and bang.  You got an animation!!!  That is kinda what it
> would look like.  What i'd like to know is
>1  would it be possible
>2  if you like it!
>3  if anyone would be willing to take up the challenge!!!

One of the advantages of the clock variable is that animation can be
frame-independent - if you use mathematical functions to control the
animation, you can render 1 frame per second or 100 per second, and still
get a smooth result (just the way a mathematically ray-traced sphere can be
rendered at 100x100 pixels or 1,000,000x1,000,000 pixels and look completely
smooth, unlike a sphere defined by triangles).

For anything but simple movements, however, working out the maths involved
can indeed be very confusing.  One way to make things easier is to use
keyframing, where you set various aspects of your animation at particular
points in time, and let the computer work out what needs to fit in-between
(just as in cel-animation, where master artists draw the main
poses/expressions, and let others draw all the little tiny movements to get
from one keyframe to another).

I believe Moray has a keyframing function, but fortunately POV-Ray macros
also allow you to do all your keyframing directly in POV-script.  You can
take a look at my Automatic Clock Modifier macros, which would let you
control your sphere this way:

sphere {<0, 0, 0>, 1 translate From (1, <-15, 5, -2>) To (30, <5, 2, 10>)}

This moves the sphere from <-15, 5, -2> at frame 1 to <5, 2, 10> at frame 30
(providing you use suitable rendering options, i.e. Initial_Clock=1
Final_Clock=30 Final_Frame=30).  More than this, though, you can add as many
To() statements as you like, moving your sphere from one location to
another.  You can also specify various transition types (so the sphere
accelerates or oscillates, jumps or bounces between positions), and you can
use the statements to control any numbers within POV-Ray (sizes, scales,
rotations),  as well as pigments, textures, media, etc.

You can download the file from my site:

   http://www.geocities.com/ccolefax

There you'll also find the Compressed Mesh Macros, which include various
animation features (e.g. morphing), and the Spline Macro file (letting you
create and animate objects using smooth spline curves), plus links to
tutorials for each file (with an excellent animation tutorial by Steve
Shepherd).


Post a reply to this message

From: george ferguson
Subject: Re: animation question (im amatuer)
Date: 1 Jun 2001 11:16:52
Message: <3b17b1e4@news.povray.org>
Oh wow,

A reply from THE Chris Colefax...I think all your work is totally amazing.
I thought you would be too busy for stuff like this.  I'll check out your
macro and by the way thanks for the info.

Marc


Post a reply to this message

From: Warp
Subject: Re: animation question (im amatuer)
Date: 1 Jun 2001 12:34:10
Message: <3b17c402@news.povray.org>
george ferguson <geo### [at] ferguson123freeservecouk> wrote:
: A reply from THE Chris Colefax...

  When hanging in this news-server you can sometimes meet celebrities... :)

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: george ferguson
Subject: Re: animation question (im amatuer)
Date: 1 Jun 2001 13:32:18
Message: <3b17d1a2@news.povray.org>
Hmm,

I'm sorry but I must say I've never heard of you Warp.

;o Nah im sorry good point though

Marc

"Warp" <war### [at] tagpovrayorg> wrote in message
news:3b17c402@news.povray.org...
> george ferguson <geo### [at] ferguson123freeservecouk> wrote:
> : A reply from THE Chris Colefax...
>
>   When hanging in this news-server you can sometimes meet celebrities...
:)
>
> --
> #macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
> rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
> ],13),8)-3,10>#end blob{N(array[6]{11117333955,
> 7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Peter Popov
Subject: Re: animation question (im amatuer)
Date: 2 Jun 2001 02:49:18
Message: <k03hht08q2co40872jd8glsgp0t0kb6idi@4ax.com>
On Fri, 1 Jun 2001 18:17:55 +0100, "george ferguson"
<geo### [at] ferguson123freeservecouk> wrote:

>Hmm,
>
>I'm sorry but I must say I've never heard of you Warp.

Have a look:

http://tag.povray.org/

news://news.povray.org/povray.announce.frequently-asked-questions


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: george ferguson
Subject: Re: animation question (im amatuer)
Date: 2 Jun 2001 14:05:49
Message: <3b192afd@news.povray.org>
"Peter Popov" <pet### [at] vipbg> wrote in message
news:k03hht08q2co40872jd8glsgp0t0kb6idi@4ax.com...
> On Fri, 1 Jun 2001 18:17:55 +0100, "george ferguson"
> <geo### [at] ferguson123freeservecouk> wrote:
>
> >Hmm,
> >
> >I'm sorry but I must say I've never heard of you Warp.
>
> Have a look:
>
> http://tag.povray.org/
>
> news://news.povray.org/povray.announce.frequently-asked-questions
>
well pete,

I guess you've proved me wrong.  Maybe he IS a celebrity after all.  My
sincere apologies Juha a.k.a Warp.

Marc


Post a reply to this message

From: Ken
Subject: Re: animation question (im amatuer)
Date: 2 Jun 2001 14:08:52
Message: <3B192B1B.61B04753@pacbell.net>
george ferguson wrote:
> 
> "Peter Popov" <pet### [at] vipbg> wrote in message
> news:k03hht08q2co40872jd8glsgp0t0kb6idi@4ax.com...
> > On Fri, 1 Jun 2001 18:17:55 +0100, "george ferguson"
> > <geo### [at] ferguson123freeservecouk> wrote:
> >
> > >Hmm,
> > >
> > >I'm sorry but I must say I've never heard of you Warp.
> >
> > Have a look:
> >
> > http://tag.povray.org/
> >
> > news://news.povray.org/povray.announce.frequently-asked-questions
> >
> well pete,
> 
> I guess you've proved me wrong.  Maybe he IS a celebrity after all.  My
> sincere apologies Juha a.k.a Warp.

A legend in his own mind....err time.

-- 
Ken Tyler - ken### [at] tagpovrayorg :)


Post a reply to this message

From: george ferguson
Subject: Re: animation question (im amatuer)
Date: 2 Jun 2001 14:22:21
Message: <3b192edd@news.povray.org>
"Ken" <tyl### [at] pacbellnet> wrote in message
news:3B192B1B.61B04753@pacbell.net...
>
>
> george ferguson wrote:
> >
> > "Peter Popov" <pet### [at] vipbg> wrote in message
> > news:k03hht08q2co40872jd8glsgp0t0kb6idi@4ax.com...
> > > On Fri, 1 Jun 2001 18:17:55 +0100, "george ferguson"
> > > <geo### [at] ferguson123freeservecouk> wrote:
> > >
> > > >Hmm,
> > > >
> > > >I'm sorry but I must say I've never heard of you Warp.
> > >
> > > Have a look:
> > >
> > > http://tag.povray.org/
> > >
> > > news://news.povray.org/povray.announce.frequently-asked-questions
> > >
> > well pete,
> >
> > I guess you've proved me wrong.  Maybe he IS a celebrity after all.  My
> > sincere apologies Juha a.k.a Warp.
>
> A legend in his own mind....err time.
>
> --
> Ken Tyler - ken### [at] tagpovrayorg :)

LOL hahahahahahahaha nice one ken.

Marc


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

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