|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I'm very new to povray(less than two weeks) but I'm making great
strides. I just need help with one part of an animation that I doing.
Here is the code and see if you can help me out with the last part
please. (the ? is at the bottom)
#if ( clock <= 1 )
camera { location <1.4, 11.5, .11>
look_at <1.4, 0, .11>
translate <0,-clock*9,0>
}
#else
#if (clock <= 2)
#declare Clock1 = clock -1;
camera { location <1.4, 1.70, .11>
look_at <1.4, 0, 1>
rotate <Clock1*-65,0 , 0>
//translate <0, -clock*1,0>
}
#else
#if (clock >2)
#declare ElseClock = clock - 2;
camera { location <1.4,.9, -1.5>
look_at <1.4, .9, 1>
translate <0,0,-2*1>
rotate <0,0,0> }
#end
#end
#end
I want the camera to move back fast at first but then slow down. Can
anyone help me out. Also(This isn't as bad a problem) can anyone suggest
on how to smooth out the whole operation. There is a text object that
the camera dives down on the rotates back to show the message then I
want to to fly off backwards then slowdown. If I'm not getting my point
across email me at
sjs### [at] garnetacnsfsuedu
Thanks
Shawn
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
chris colfax has an animation setup for pov that includes all kinds of
acceleration and deceleration. find a link to it from the pov links at
pov.org. don't reinvent the wheel.
Shawn S wrote:
>
> I'm very new to povray(less than two weeks) but I'm making great
> strides. I just need help with one part of an animation that I doing.
> Here is the code and see if you can help me out with the last part
> please. (the ? is at the bottom)
>
> #if ( clock <= 1 )
> camera { location <1.4, 11.5, .11>
> look_at <1.4, 0, .11>
> translate <0,-clock*9,0>
> }
>
> #else
> #if (clock <= 2)
> #declare Clock1 = clock -1;
> camera { location <1.4, 1.70, .11>
> look_at <1.4, 0, 1>
> rotate <Clock1*-65,0 , 0>
> //translate <0, -clock*1,0>
>
> }
> #else
> #if (clock >2)
> #declare ElseClock = clock - 2;
>
> camera { location <1.4,.9, -1.5>
> look_at <1.4, .9, 1>
> translate <0,0,-2*1>
> rotate <0,0,0> }
>
> #end
> #end
> #end
> I want the camera to move back fast at first but then slow down. Can
> anyone help me out. Also(This isn't as bad a problem) can anyone suggest
> on how to smooth out the whole operation. There is a text object that
> the camera dives down on the rotates back to show the message then I
> want to to fly off backwards then slowdown. If I'm not getting my point
> across email me at
>
> sjs### [at] garnetacnsfsuedu
>
> Thanks
> Shawn
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"ryan constantine" <rco### [at] yahoocom> wrote in message
news:3988BD8D.2974105C@yahoo.com...
| chris colfax has an animation setup for pov that includes all kinds of
| acceleration and deceleration. find a link to it from the pov links at
| pov.org. don't reinvent the wheel.
Exactly. Were you to use the ClockMod.inc file you would put:
#declare clock_type="D"
#include "clockmod.inc"
#declare Decel=mclock;
Then use Decel in place of 'clock' where you want the deceleration.
To combine different types just add this:
#declare clock_combine="W"
before the include line and you will get a wave, or back and forth movement
that also slows down.
Also using separate declarations for individual parts of movement too:
#declare clock_type="D"
#include "clockmod.inc"
#declare Decel=mclock;
#declare clock_type="W"
#include "clockmod.inc"
#declare Wave=mclock;
and put those in where most likely to go, like one for z translation and
other for y. Hope that made sense.
Plenty is possble just using the include, but there is a macro now too.
Bob
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Plenty is possble just using the include, but there is a macro now too.
Yep! The macro is very powerful and handy. Try it out.
Karl
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
ryan constantine wrote:
>
> chris colfax has an animation setup for pov that includes all kinds of
> acceleration and deceleration. find a link to it from the pov links at
> pov.org. don't reinvent the wheel.
Colefax - http://www.geocities.com/SiliconValley/Lakes/1434/
--
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Yep! The macro is very powerful and handy.
The macro absolutely rules. Not only did he invent the wheel, he
perfected it as well. ;)
-Mike
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
But some of us like reinventing the wheel. Honestly.
I have a poorly defined system for this, but it kind of explains how to
do it yourself at
http://www.spiritone.com/~english/animaker/animaker.html
Josh
Mike wrote:
> > Yep! The macro is very powerful and handy.
>
> The macro absolutely rules. Not only did he invent the wheel, he
> perfected it as well. ;)
>
> -Mike
--
Josh English -- Lexiphanic Lethomaniac
eng### [at] spiritonecom
The POV-Ray Cyclopedia http://www.spiritone.com/~english/cyclopedia/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
First of all, the clock moves from 0 to 1, so the code you posted will meet
problems.
If you want something to move quickly at first then slowly, say:
translate <0,-sqrt(clock),0> //think how y=sqrt(x) varies from 0
to 1
If you want something to move slowly at first then speed up, say:
translate <0,-sqr(clock),0> //think how y=sqr(x) varies from 0 to
1
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Fri, 04 Aug 2000 07:45:08 -0400, "Greg M. Johnson"
<gre### [at] my-dejanewscom> wrote:
>First of all, the clock moves from 0 to 1, so the code you posted will meet
>problems.
Not necessarily true, it defaults to [0..1] but you can adjust it by
the +ki and +kf switches.
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] usanet
TAG e-mail : pet### [at] tagpovrayorg
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
or change the start and end in your ini file.
Peter Popov wrote:
>
> On Fri, 04 Aug 2000 07:45:08 -0400, "Greg M. Johnson"
> <gre### [at] my-dejanewscom> wrote:
>
> >First of all, the clock moves from 0 to 1, so the code you posted will meet
> >problems.
>
> Not necessarily true, it defaults to [0..1] but you can adjust it by
> the +ki and +kf switches.
>
> Peter Popov ICQ : 15002700
> Personal e-mail : pet### [at] usanet
> TAG e-mail : pet### [at] tagpovrayorg
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |