POV-Ray : Newsgroups : povray.animations : How to make the animation in pov-ray work Server Time
19 Oct 2026 04:22:59 EDT (-0400)
  How to make the animation in pov-ray work (Message 1 to 23 of 23)  
From: Adam van Kuik
Subject: How to make the animation in pov-ray work
Date: 1 Jan 2004 14:26:32
Message: <3ff47468$1@news.povray.org>
I'm just getting into pov-ray.  I've gone through the animation tutorial,
but can't get the tutorial object to move.  All there is, is a picture, no
animation.  How do I make the animation work?  I read that I'm supposed to
set the clock, but the tutorial is not really showing me how.  If some one
can, please help.  Thank-you.


Post a reply to this message

From: Ken
Subject: Re: How to make the animation in pov-ray work
Date: 1 Jan 2004 14:55:30
Message: <3FF47BC8.759D077E@pacbell.net>
Adam van Kuik wrote:
> 
> I'm just getting into pov-ray.  I've gone through the animation tutorial,
> but can't get the tutorial object to move.  All there is, is a picture, no
> animation.  How do I make the animation work?  I read that I'm supposed to
> set the clock, but the tutorial is not really showing me how.  If some one
> can, please help.  Thank-you.

Take a look at the site below and visit the introduction page for a good
explaination of what you need to do -

http://www.puzzlecraft.com/cm/ClockMod.html

-- 
Ken Tyler


Post a reply to this message

From: Andrew
Subject: Re: How to make the animation in pov-ray work
Date: 1 Jan 2004 14:59:06
Message: <3ff47c0a$1@news.povray.org>
Try something like this:

//*************
//This stays still
box {<-1, -1, -1>,<1, 0, 1> texture {pigment {color rgb 0.5}
finish {ambient 0.1 diffuse 0.9}}}

//This moves and changes colour
sphere {<-0.5 + clock, 0.15, -0.5 + clock>,0.15 texture
{pigment {color rgb <1, 0.25 + (clock * 0.5), 0.75 - (clock
* 0.5)>} finish {ambient 0.1 diffuse 0.9 specular 0.8
roughness 0.0001}}}

camera {location <0,5,-3> look_at <0,0.5,0>}

light_source {<10,10,-10> color rgb 1}
//*************

Render using (e.g.) +KFF50 in the "command line".


This will produce a sphere which moves steadily from <-0.5,
0.15, -0.5> to <0.5, 0.15, 0.5> throughout the 50 frames of
the animation, changing colour as it does so.  The variable
"clock" runs by default from 0 in the first frame to 1 in
the final frame, and will therefore allow movement or colour
change or whatever else you wish.

HTH.


Post a reply to this message

From: Adam van Kuik
Subject: Re: How to make the animation in pov-ray work
Date: 1 Jan 2004 15:25:55
Message: <3ff48253@news.povray.org>
How do I change anything in the "command line"?  How do I turn the animation
on?

"Andrew" <ast### [at] hotmailcom> wrote in message
news:3ff47c0a$1@news.povray.org...
> Try something like this:
>
> //*************
> //This stays still
> box {<-1, -1, -1>,<1, 0, 1> texture {pigment {color rgb 0.5}
> finish {ambient 0.1 diffuse 0.9}}}
>
> //This moves and changes colour
> sphere {<-0.5 + clock, 0.15, -0.5 + clock>,0.15 texture
> {pigment {color rgb <1, 0.25 + (clock * 0.5), 0.75 - (clock
> * 0.5)>} finish {ambient 0.1 diffuse 0.9 specular 0.8
> roughness 0.0001}}}
>
> camera {location <0,5,-3> look_at <0,0.5,0>}
>
> light_source {<10,10,-10> color rgb 1}
> //*************
>
> Render using (e.g.) +KFF50 in the "command line".
>
>
> This will produce a sphere which moves steadily from <-0.5,
> 0.15, -0.5> to <0.5, 0.15, 0.5> throughout the 50 frames of
> the animation, changing colour as it does so.  The variable
> "clock" runs by default from 0 in the first frame to 1 in
> the final frame, and will therefore allow movement or colour
> change or whatever else you wish.
>
> HTH.
>
>


Post a reply to this message

From: Warp
Subject: Re: How to make the animation in pov-ray work
Date: 1 Jan 2004 15:36:02
Message: <3ff484b2@news.povray.org>
Adam van Kuik <ava### [at] comcastnet> wrote:
> How do I change anything in the "command line"?  How do I turn the animation
> on?

  You didn't specify your operating system. If you are using POV-Ray for
windows, there's a command-line field near the resolution dropdown menu.

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

From: Adam van Kuik
Subject: Re: How to make the animation in pov-ray work
Date: 1 Jan 2004 16:22:35
Message: <3ff48f9b$1@news.povray.org>
My operating system is windows.

"Warp" <war### [at] tagpovrayorg> wrote in message
news:3ff484b2@news.povray.org...
> Adam van Kuik <ava### [at] comcastnet> wrote:
> > How do I change anything in the "command line"?  How do I turn the
animation
> > on?
>
>   You didn't specify your operating system. If you are using POV-Ray for
> windows, there's a command-line field near the resolution dropdown menu.
>
> -- 
> plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
> sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
> density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
> <1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

From: Ken
Subject: Re: How to make the animation in pov-ray work
Date: 1 Jan 2004 16:35:39
Message: <3FF49342.D581E50F@pacbell.net>
Adam van Kuik wrote:
> 
> How do I turn the animation on?

Again, visit the site I linked to earlier. You will see that it explains this
question and more.

-- 
Ken Tyler


Post a reply to this message

From: gregjohn
Subject: Re: How to make the animation in pov-ray work
Date: 4 Jan 2004 21:20:01
Message: <web.3ff8c9766da14afe3a5fb9ba0@news.povray.org>
Click on Tools-->  Edit Master POVRAY.INI

In this ASCII text file, add the line:

Final_Frame=20

(or if it were commented out with a ;  then remove the ; infront of that
line) and save the .INI file.

Now render your image.


Greg M. Johnson


Post a reply to this message

From: Warp
Subject: Re: How to make the animation in pov-ray work
Date: 4 Jan 2004 22:19:51
Message: <3ff8d7d7@news.povray.org>
gregjohn <pte### [at] yahoocom> wrote:
> Click on Tools-->  Edit Master POVRAY.INI

> In this ASCII text file, add the line:

> Final_Frame=20

  That's the hard way of doing it, and not very advisable because from
that point on *every* scene you will render will be rendered as an
animation of 20 frames.

  Just writing +KFF20 on the textfield above the editor window will do it.

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


Post a reply to this message

From: gregjohn
Subject: Re: How to make the animation in pov-ray work
Date: 10 Jan 2004 11:20:02
Message: <web.4000256f6da14afe3a5fb9ba0@news.povray.org>
Warp wrote:
>gregjohn <pte### [at] yahoocom> wrote:
>> Click on Tools-->  Edit Master POVRAY.INI
>> In this ASCII text file, add the line:
>> Final_Frame=20
>
>  That's the hard way of doing it, and not very advisable because from
>that point on *every* scene you will render will be rendered as an
>animation of 20 frames.
>
>  Just writing +KFF20 on the textfield above the editor window will do it.
>


That's not a workable solution for a serious animation project. One would
have a fixed number of final frames in the project and might want to look
at various different subsets as one tweaks different parts of the story.
Looking up and remembering the +KXYZ  switches, and retyping 3 to 4 of them
by hand for EVERY TEST RENDER is just so incredibly user-unfriendly.


Greg M. Johnson.


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: How to make the animation in pov-ray work
Date: 10 Jan 2004 13:35:02
Message: <400045d6@news.povray.org>
In article <web.4000256f6da14afe3a5fb9ba0@news.povray.org> , "gregjohn" 
<pte### [at] yahoocom> wrote:

> That's not a workable solution for a serious animation project. One would
> have a fixed number of final frames in the project and might want to look
> at various different subsets as one tweaks different parts of the story.
> Looking up and remembering the +KXYZ  switches, and retyping 3 to 4 of them
> by hand for EVERY TEST RENDER is just so incredibly user-unfriendly.

Why would you have to retype them for every render?  Fact is that you don't,
and editing povray.ini is definetly the absolute wrong way of changing the
setting.  Nothing is more trivial than creating a scsne specific INi file.

Maybe you should only give advice that will not screw up a user's setup, or
at least warn about it.

    Thorsten


Post a reply to this message

From: Greg M  Johnson
Subject: Re: How to make the animation in pov-ray work
Date: 10 Jan 2004 16:05:58
Message: <40006936@news.povray.org>
AFAICS, telling someone to go to Clockmod doesn't answer the question of how
to turn on the animation for a newbie.

What I did find in the docs was gibberish about

POVRAY MYOPTS +V OTHER

, which is probably helpful to someone using some DOS-like OS,  but no
mention of how to use INI files in the Windows version.  Perhaps I'd type
that filename up there in that second white box.  You're free to have
indignation at a long-time user not knowing this, but is the answer
rigorously and straightforward-ly there in the docs?  I think not.


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: How to make the animation in pov-ray work
Date: 10 Jan 2004 17:13:56
Message: <40007924$1@news.povray.org>
In article <40006936@news.povray.org> , "Greg M. Johnson" 
<gregj;-)565### [at] aolcom> wrote:

> , which is probably helpful to someone using some DOS-like OS,  but no
> mention of how to use INI files in the Windows version.  Perhaps I'd type
> that filename up there in that second white box.  You're free to have
> indignation at a long-time user not knowing this, but is the answer
> rigorously and straightforward-ly there in the docs?  I think not.

<http://www.povray.org/documentation/view/101/>
<http://www.povray.org/documentation/view/96/>

Really helps, don't you agree!

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Tom Galvin
Subject: Re: How to make the animation in pov-ray work
Date: 10 Jan 2004 17:30:46
Message: <Xns946CB1FA4B065tomatimporg@204.213.191.226>
"Thorsten Froehlich" <tho### [at] trfde> wrote in
news:40007924$1@news.povray.org: 


> 
> <http://www.povray.org/documentation/view/101/>
> <http://www.povray.org/documentation/view/96/>
> 
> Really helps, don't you agree!
> 


FWIW, This seems to be a common problem that many new users of animation 
have.  They don't understand that they have to render the file myscene.ini 
instead of myscene.pov.  The docs don't make that very clear either.  

I know that it seems blindingly obvious, but a simple blurb in the docs 
would help to reduce the frequency of this particular misunderstanding.


-- 
Tom
_________________________________
The Internet Movie Project
http://www.imp.org/


Post a reply to this message

From: Warp
Subject: Re: How to make the animation in pov-ray work
Date: 10 Jan 2004 19:38:15
Message: <40009af7@news.povray.org>
gregjohn <pte### [at] yahoocom> wrote:
> Looking up and remembering the +KXYZ  switches, and retyping 3 to 4 of them
> by hand for EVERY TEST RENDER is just so incredibly user-unfriendly.

  I don't know what weird version of WinPOV you have, but at least mine
remembers the contents of the command-line field between renders.

  And besides, what does it help to write them in an ini file? You'll have
to re-edit the ini file every time you want to change the settings anyways
(which is a lot more work than editing the text field at the top of the
editor).

  And thirdly, putting those scene-specific setting in the main povray.ini
file is just wrong.
  In povray.ini you put the settings you want to be default for *all* scenes,
not just the current one.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: gregjohn
Subject: Re: How to make the animation in pov-ray work
Date: 14 Jan 2004 13:40:04
Message: <web.40058c646da14afe40d56c170@news.povray.org>
Tom Galvin wrote:
>
>FWIW, This seems to be a common problem that many new users of animation
>have.  They don't understand that they have to render the file myscene.ini
>instead of myscene.pov.  The docs don't make that very clear either.
>


I thought you were supposed to change POVRAY.INI.  Have been doing it for
years.

Greg M. Johnson


Post a reply to this message

From: Tom Galvin
Subject: Re: How to make the animation in pov-ray work
Date: 15 Jan 2004 03:14:24
Message: <Xns947120CA49657tomatimporg@204.213.191.226>
"gregjohn" <pte### [at] yahoocom> wrote in
news:web.40058c646da14afe40d56c170@news.povray.org: 

> 
> 
> I thought you were supposed to change POVRAY.INI.  Have been doing it
> for years.
> 
> Greg M. Johnson
> 

While that will work, It makes it hard to keep track of animation settings 
for different projects. 

-- 
Tom
_________________________________
The Internet Movie Project
http://www.imp.org/


Post a reply to this message

From: gregjohn
Subject: Re: How to make the animation in pov-ray work
Date: 15 Jan 2004 21:25:01
Message: <web.40074a716da14afe3a5fb9ba0@news.povray.org>
Tom Galvin wrote:
>"gregjohn" <pte### [at] yahoocom> wrote in
>>
>> I thought you were supposed to change POVRAY.INI.
>
> While that will work, It makes it hard to keep track
> of animation settings for different projects.
>

True, but then you can comment out different blocks w/   ;


Post a reply to this message

From: Remco de Korte
Subject: Re: How to make the animation in pov-ray work
Date: 16 Jan 2004 15:07:10
Message: <40084403.60AD4370@onwijs.com>
gregjohn wrote:
> 
> Tom Galvin wrote:
> >"gregjohn" <pte### [at] yahoocom> wrote in
> >>
> >> I thought you were supposed to change POVRAY.INI.
> >
> > While that will work, It makes it hard to keep track
> > of animation settings for different projects.
> >
> 
> True, but then you can comment out different blocks w/   ;

I'm not sure if this is related but I have different ini's for different
projects and use different sections within one ini.


Post a reply to this message

From: Tom Galvin
Subject: Re: How to make the animation in pov-ray work
Date: 16 Jan 2004 18:48:05
Message: <Xns9472BF16A459Atomatimporg@204.213.191.226>
Remco de Korte <rem### [at] onwijscom> wrote in news:40084403.60AD4370
@onwijs.com:

 
> I'm not sure if this is related but I have different ini's for
> different projects and use different sections within one ini.
> 

Same here.  As an example:

;-----------------------------------------------------------------
Input_File_Name=main.pov
Antialias=On

width=512
height=288

;width=320
;height=180

Quality=9
;Quality=7
;Quality=5

Output_File_Type=N
Output_File_Name=.png

Initial_Frame=1
Final_Frame=9900
Initial_Clock=0
Final_Clock=330

;=================================================================
;      Some useful presets for rendering specific scenes  
;=================================================================
;SHOT01: Credits 
;Start......0
;End.....1349
;
;   Subset_Start_Frame=0061
;   Subset_End_Frame  =0061


;=================================================================
;SHOT02: Bedroom 
;Start...1350
;End.....1799
;   Subset_Start_Frame=1500
;   Subset_End_Frame  =1500

and so on...

-- 
Tom
_________________________________
The Internet Movie Project
http://www.imp.org/


Post a reply to this message

From: Hughes, B 
Subject: Re: How to make the animation in pov-ray work
Date: 17 Jan 2004 08:03:00
Message: <40093284@news.povray.org>
"Tom Galvin" <tom### [at] imporg> wrote in message
news:Xns### [at] 204213191226...
> Remco de Korte <rem### [at] onwijscom> wrote in news:40084403.60AD4370
> @onwijs.com:
>
> > I'm not sure if this is related but I have different ini's for
> > different projects and use different sections within one ini.
>
> Same here.  As an example:
>
> Input_File_Name=main.pov
> Antialias=On
>
> width=512
> height=288
>
> ;width=320
> ;height=180
>
> Quality=9
> ;Quality=7
> ;Quality=5

He meant blocks, I believe, Tom. All your commented parts can be used as
separate blocks chosen by name if you put them together this way instead:

[Shot01]
; everything pertinent to this rendering goes here

[Shot02]
; likewise for here

That way you just select the INI file and choose the part needed at the
time. In Windows, it shows up as the secondary resolution list (or from DOS,
if anyone does that, it'd be like:  thepov.exe anim.ini shot02).

Unfortunately, something's broken about how INI's are handled so you can't
nest them or use multiple INI's; if not, you'd also be able to have a main
one for the general setup. So you still need to specify all the elements in
each block.
-- 
Bob H.
http://www.3digitaleyes.com

> ;=================================================================
> ;      Some useful presets for rendering specific scenes
> ;=================================================================
> ;SHOT01: Credits
> ;Start......0
> ;End.....1349
> ;
> ;   Subset_Start_Frame=0061
> ;   Subset_End_Frame  =0061
>
>
> ;=================================================================
> ;SHOT02: Bedroom
> ;Start...1350
> ;End.....1799
> ;   Subset_Start_Frame=1500
> ;   Subset_End_Frame  =1500
>
> and so on...
>
> -- 
> Tom
> _________________________________
> The Internet Movie Project
> http://www.imp.org/


Post a reply to this message

From: AngleWyrm
Subject: Re: How to make the animation in pov-ray work
Date: 28 Jan 2004 03:37:18
Message: <401774be$1@news.povray.org>
A good way to set up a quick look at your animation is to set up two
presets: One for a low-res fast look that only has a few frames, and another
for the final view.

Tools->Edit Resolution INI file
This gets you to quickres.ini, where you can add this:

[320x240 10 frames]
Width=320
Height=240
Antialias=Off
Initial_Frame=1
Final_Frame=10
Initial_Clock=0.0
Final_Clock=1.0

save the file, restart pov-ray, and the quick-res dropdown will now have an
option labeled "320x240 10 frames". The frames are scattered evenly
throughout your film, so you get an overall look at what it's going to step
through.

You can also create another for your favorite hi-resolution version, and add
antialiasing, quality, etc. to it.


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: How to make the animation in pov-ray work
Date: 6 May 2004 20:06:37
Message: <409ad30d@news.povray.org>
"Warp" <war### [at] tagpovrayorg> escribió en el mensaje
news:40009af7@news.povray.org...
> gregjohn <pte### [at] yahoocom> wrote:
> > Looking up and remembering the +KXYZ  switches, and retyping 3 to 4 of them
> > by hand for EVERY TEST RENDER is just so incredibly user-unfriendly.
>
>   I don't know what weird version of WinPOV you have, but at least mine
> remembers the contents of the command-line field between renders.
>
>   And besides, what does it help to write them in an ini file? You'll have
> to re-edit the ini file every time you want to change the settings anyways
> (which is a lot more work than editing the text field at the top of the
> editor).

Well, you can write an INI file with the information you need for that scene AND
write in the command-line text field other settings, including filenames of
other INI files and options that overwrite those on the ini files.


>
>   And thirdly, putting those scene-specific setting in the main povray.ini
> file is just wrong.
>   In povray.ini you put the settings you want to be default for *all* scenes,
> not just the current one.


Post a reply to this message

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