![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"pierre" <pie### [at] efpg inpg fr> wrote:
> Hi everybody,
>
> I have created an object, and I want to study the effect of the position of
> the illumination.
> Can I created a loop, allowing to save several images from the same scene
> with different angular illumination position?
> For example (I feel I am not clear):
> I want to simulate the effect of the sun light at different time of the day
> on my object. Instead to change manually the illmuniation position, then to
> save the image and so on, I would like a loop enable to create and save as
> much images I want.
> Thanks by advance
> Pierre
You can use the animation features of Pov-Ray; help section 2.3.8 Making
Animations
Use the clock and or frame_number variables to create a series of images
that can be made into an animation using a third party programme.
Stephen
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Stephen" <mcavoys_AT_aolDOT.com> wrote:
> "pierre" <pie### [at] efpg inpg fr> wrote:
> > Hi everybody,
> >
>
> You can use the animation features of Pov-Ray; help section 2.3.8 Making
> Animations
> Use the clock and or frame_number variables to create a series of images
> that can be made into an animation using a third party programme.
>
changing on screen. I find this useful. Another method is to use the #debug
command to output you variables to a text file for future reference.
movie. The downside is that you have to make many more frames if you want
to view the changes over a reasonable period of time.
Stephen
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Thanks for yours answers,
I tried to implemente my code with v-rotate.
But I still have the same problem, the file which is saved after runing
povray is a bitmap file (a single picture...)
I give you my code:
#include "colors.inc"
background {color Black}
camera { location <1000, 1866, -505>
look_at <1000, 1000, 0>
angle 10
}
#include "vierge2pas10obj_POV_geom"
#include "vierge2pas10obj_POV_mat"
object {vierge2pas10obj_mesh_unnamed_material_
texture{ pigment{color rgb<0.80, 0.80, 0.75>}
finish { ambient 0 //ambient lighting
brilliance 0 //brilliance
crand 0 //crand amount
diffuse 0 //diffuse lighting
//ior 1.52 //index of refraction
//metallic
//phong 1 //phong highlighting
//phong_size 250 //phong size
reflection 0 //reflected light
//refraction //refract toggle
roughness 0.001 //roughness
specular 1 //specular highlighting
} } }
light_source {
vrotate(<-1000,0,0>,<0,clock*360,30>)
color White
parallel
point_at <1000, 1000, 0>
}
Warm greetings
Pierre
"Stephen" <mcavoys_AT_aolDOT.com> wrote:
> "Stephen" <mcavoys_AT_aolDOT.com> wrote:
> > "pierre" <pie### [at] efpg inpg fr> wrote:
> > > Hi everybody,
> > >
> >
> > You can use the animation features of Pov-Ray; help section 2.3.8 Making
> > Animations
> > Use the clock and or frame_number variables to create a series of images
> > that can be made into an animation using a third party programme.
> >
>
> changing on screen. I find this useful. Another method is to use the #debug
> command to output you variables to a text file for future reference.
> movie. The downside is that you have to make many more frames if you want
> to view the changes over a reasonable period of time.
>
> Stephen
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Producing several images from one scene can be done by
using the animation loop. Animation is controlled from
ini files. For example if you add the lines...
[640x480, AA0, 30 frame anim]
Width=800
Height=600
Antialias=Off
Initial_Frame = 1
Final_Frame = 30
to quickres.ini in the windows version,
then quit the editor, and restart it,
the option to render 30 frame animations will be on the resolution
pop-down menu. The images will have numbered names in
sequence, name01, name02 etc.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Wasn't it pierre who wrote:
>Thanks for yours answers,
>
>I tried to implemente my code with v-rotate.
>
>But I still have the same problem, the file which is saved after runing
>povray is a bitmap file (a single picture...)
That would probably be because you didn't actually read the "animation"
section in the documentation.
I suppose I could copy and paste it here, but that would be a bit
redundant.
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Mike Williams <nos### [at] econym demon co uk> wrote:
> Wasn't it pierre who wrote:
> >Thanks for yours answers,
> >
> >I tried to implemente my code with v-rotate.
> >
> >But I still have the same problem, the file which is saved after runing
> >povray is a bitmap file (a single picture...)
>
> That would probably be because you didn't actually read the "animation"
> section in the documentation.
>
> I suppose I could copy and paste it here, but that would be a bit
> redundant.
>
> --
> Mike Williams
> Gentleman of Leisure
Unless Pierre meant that he wanted several images on the same frame like a
contact strip. A couple of years ago ABX posted an animation that had three
views in the one screen. I believe that he did this in Mega-Pov.
Stephen
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Thanks everybody,
It would have been better to post in the beginner part as I am a complete
rookie in Povray and generally speaking in computer science!
Sorry to have bothered some of you.
Neverthless I have a final stupid question to submit:
I have used the command vrotate, and add the specifical code .ini. Now I
obtained exactely what I wanted (several images from the scene!). Thanks
lot again!
But the way to use this command is rather unclear (especially for non
english guy, and a non computer science guy!):
"vrotate(A,B) Rotate A about origin by B. Given the x,y,z coordinates of a
point in space designated by the vector A, rotate that point about the
origin by an amount specified by the vector B. Rotate it about the x-axis
by an angle specified in degrees by the float value B.x. Similarly B.y and
B.z specify the amount to rotate in degrees about the y-axis and z-axis.
The result is a vector containing the new x,y,z coordinates of the point."
In my problem the center of my object is (1000,1000,0). How to define the
parameters to make a circle around the center of this object with a
distance of 1000?
Hoping it is not pushing the limit too far, to ak you such a question!
Warm greetings
Pierre
"Stephen" <mcavoys_AT_aolDOT.com> wrote:
> Mike Williams <nos### [at] econym demon co uk> wrote:
> > Wasn't it pierre who wrote:
> > >Thanks for yours answers,
> > >
> > >I tried to implemente my code with v-rotate.
> > >
> > >But I still have the same problem, the file which is saved after runing
> > >povray is a bitmap file (a single picture...)
> >
> > That would probably be because you didn't actually read the "animation"
> > section in the documentation.
> >
> > I suppose I could copy and paste it here, but that would be a bit
> > redundant.
> >
> > --
> > Mike Williams
> > Gentleman of Leisure
>
> Unless Pierre meant that he wanted several images on the same frame like a
> contact strip. A couple of years ago ABX posted an animation that had three
> views in the one screen. I believe that he did this in Mega-Pov.
>
> Stephen
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"pierre" <pie### [at] efpg inpg fr> wrote:
> Thanks everybody,
>
> In my problem the center of my object is (1000,1000,0). How to define the
> parameters to make a circle around the center of this object with a
> distance of 1000?
>
> Hoping it is not pushing the limit too far, to ak you such a question!
>
>
newusers as people are more tolerant there. (No offence, Mike)
is good. But what plane do you want your circle to lie in? If you want a
camera to orbit around your object remember to have the look_at parameter
point to the centre of your object.
Experiment, use the #debug stream (a great tool) to see what is happening.
Good Luck
Stephen
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Tim Attwood
Subject: Re: Save several images from the same Scene?
Date: 20 Sep 2006 19:58:52
Message: <4511d5bc@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> In my problem the center of my object is (1000,1000,0). How to define the
> parameters to make a circle around the center of this object with a
> distance of 1000?
light_source { 0 color 1
translate -1000*x // orbit diameter
rotate clock*360*y // move in orbit
rotate 30*x // incline
translate <1000,1000,0> // center on object
}
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
pierre nous apporta ses lumieres en ce 20/09/2006 06:54:
> Thanks for yours answers,
>
> I tried to implemente my code with v-rotate.
>
> But I still have the same problem, the file which is saved after runing
> povray is a bitmap file (a single picture...)
>
> I give you my code:
>
> #include "colors.inc"
>
> background {color Black}
> camera { location <1000, 1866, -505>
> look_at <1000, 1000, 0>
> angle 10
> }
>
>
>
> #include "vierge2pas10obj_POV_geom"
>
> #include "vierge2pas10obj_POV_mat"
>
> object {vierge2pas10obj_mesh_unnamed_material_
>
> texture{ pigment{color rgb<0.80, 0.80, 0.75>}
>
> finish { ambient 0 //ambient lighting
> brilliance 0 //brilliance
> crand 0 //crand amount
> diffuse 0 //diffuse lighting
> //ior 1.52 //index of refraction
> //metallic
> //phong 1 //phong highlighting
> //phong_size 250 //phong size
> reflection 0 //reflected light
> //refraction //refract toggle
> roughness 0.001 //roughness
> specular 1 //specular highlighting
>
> } } }
>
>
>
> light_source {
> vrotate(<-1000,0,0>,<0,clock*360,30>)
>
> color White
> parallel
> point_at <1000, 1000, 0>
> }
>
>
> Warm greetings
>
> Pierre
>
> "Stephen" <mcavoys_AT_aolDOT.com> wrote:
>> "Stephen" <mcavoys_AT_aolDOT.com> wrote:
>>> "pierre" <pie### [at] efpg inpg fr> wrote:
>>>> Hi everybody,
>>>>
>>> You can use the animation features of Pov-Ray; help section 2.3.8 Making
>>> Animations
>>> Use the clock and or frame_number variables to create a series of images
>>> that can be made into an animation using a third party programme.
>>>
>> changing on screen. I find this useful. Another method is to use the #debug
>> command to output you variables to a text file for future reference.
>> movie. The downside is that you have to make many more frames if you want
>> to view the changes over a reasonable period of time.
>>
>> Stephen
>
>
>
>
Using the windows version, beside the resolutions box, you have a small text
box. That box is a "command line options box" where you can place any command
line" option.
In that box, enter "+kff30" and start the render.
POV-Ray will start to render 30 versions of your scene with the clock variable
going from 0 to 1. All frames will be named consecutively as: scenenamexx.ext
where xx is a number.
--
Alain
-------------------------------------------------
The more crap you put up with, the more crap you are going to get.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |