|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Wasn't it pierre who 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.
Read the documentation section on animation.
Use the clock or frame-number variable to control the illumination
position - either by using things like #if (frame_number = 1)
or by directly using one of the variables in your lighting position like
this
light_source {
vrotate(<-100,0,0>,<0,clock*360,30>)
color rgb 1
}
Run the animation to produce the frames but then don't load those frames
into an animation package to produce a movie.
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"pierre" <pie### [at] efpginpgfr> 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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Stephen" <mcavoys_AT_aolDOT.com> wrote:
> "pierre" <pie### [at] efpginpgfr> 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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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] efpginpgfr> 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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Mike Williams <nos### [at] econymdemoncouk> 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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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] econymdemoncouk> 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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"pierre" <pie### [at] efpginpgfr> 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
|
|
| |
| |
|
|
|
|
| |