|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I am trying to create an animation of say 100 by 100 pixels that I can
overlay on a 640 by 480 picture.I first render the 640 by 480 picture as the
base picture (in another program) now I want to create an animation of a
part of the picture moving so I can overlay it, but I do not want an
animation of the entire 640 by 480 picture just a 100 by 100 piece of it.
By using the various settings in POVRay, I can make this animation with most
of the 640 by 480 output black and the part that I am interested in as a
subset of the whole but I cannot figure out how to output just the part I am
interested in so that it will align exactly with the base 640 by 480
picture. I would want a 100 by 100 output that matches up exactly to a 100
by 100 part of the original 640 by 480.
I have used the +H100 +W100 settings with the start and end row and column
with no luck. Any ideas?
Thanks,
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Just to clarify, the original picture was made in POVRay for use in another
program.
"Kirk Hubbell" <kir### [at] yahoocom> wrote in message
news:3aaaadbc@news.povray.org...
> I am trying to create an animation of say 100 by 100 pixels that I can
> overlay on a 640 by 480 picture.I first render the 640 by 480 picture as
the
> base picture (in another program) now I want to create an
animation of a
> part of the picture moving so I can overlay it, but I do not want an
> animation of the entire 640 by 480 picture just a 100 by 100 piece of it.
>
> By using the various settings in POVRay, I can make this animation with
most
> of the 640 by 480 output black and the part that I am interested in as a
> subset of the whole but I cannot figure out how to output just the part I
am
> interested in so that it will align exactly with the base 640 by 480
> picture. I would want a 100 by 100 output that matches up exactly to a 100
> by 100 part of the original 640 by 480.
>
> I have used the +H100 +W100 settings with the start and end row and column
> with no luck. Any ideas?
>
> Thanks,
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Kirk Hubbell" <kir### [at] yahoocom> wrote in message
news:3aaaadbc@news.povray.org...
> I am trying to create an animation of say 100 by 100 pixels that I can
> overlay on a 640 by 480 picture.
You'll need the whole 640x480 area in order to overlay to another 640x480
but just move the 100x100 section around within it.
Alpha channel or image_map is two possibilities, however like I said you
can't render a useable segment of a larger image due to how the image file
is done.
You can of course render the section over top of the larger and output as
whole 640x480 image(s), but not what you want to do I guess.
Bob H.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
My default method, which I have done on a smaller scale (50 frames), is to
render the series of images at 640 by 480 and then using PhotoEditor cut the
100 by 100 out manually frame by frame (being careful to pick the same
pixels) and then turn the new 100 by 100 series into a video. Since this
particular segment will be 100s of frames I was hoping to find an easier
way.
Kirk H.
"Bob H." <omn### [at] msncom> wrote in message
news:3aaab862$1@news.povray.org...
> "Kirk Hubbell" <kir### [at] yahoocom> wrote in message
> news:3aaaadbc@news.povray.org...
> > I am trying to create an animation of say 100 by 100 pixels that I can
> > overlay on a 640 by 480 picture.
>
> You'll need the whole 640x480 area in order to overlay to another 640x480
> but just move the 100x100 section around within it.
> Alpha channel or image_map is two possibilities, however like I said you
> can't render a useable segment of a larger image due to how the image file
> is done.
> You can of course render the section over top of the larger and output as
> whole 640x480 image(s), but not what you want to do I guess.
>
> Bob H.
>
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Oh hey, if all you're needing is a 100x100 res. animation that's no problem.
You can use orthographic in the camera and specify the width and height with
keywords right 100*x up 100*y then translate the camera accordingly. The
original image would be placed in as a image_map on a plane with that camera
looking at it.
#declare WhereX=50+(clock*490); // depends on how you are animating
#declare WhereY=50+(clock*330); // starts at lower left border
camera {orthographic
location -z*100 look_at 0
right 100*x up 100*y // actual unit area size seen
translate <WhereX,WhereY,0> // where to look (centered)
}
plane {z,0 pigment {
image_map {bmp Original.bmp once}
scale <640,480,1> } // get to unit/pixel res. equivelence
finish {ambient 1}
}
So, main thing would be to constrain your Where values to stay within the
borders of the original image, and to move the look_at point however you had
planned.
Hopefully I wrote this correctly.
Bob H.
"Kirk Hubbell" <kir### [at] yahoocom> wrote in message
news:3aaabacc@news.povray.org...
> My default method, which I have done on a smaller scale (50 frames), is to
> render the series of images at 640 by 480 and then using PhotoEditor cut
the
> 100 by 100 out manually frame by frame (being careful to pick the same
> pixels) and then turn the new 100 by 100 series into a video. Since this
> particular segment will be 100s of frames I was hoping to find an easier
> way.
>
> Kirk H.
>
> "Bob H." <omn### [at] msncom> wrote in message
> news:3aaab862$1@news.povray.org...
> > "Kirk Hubbell" <kir### [at] yahoocom> wrote in message
> > news:3aaaadbc@news.povray.org...
> > > I am trying to create an animation of say 100 by 100 pixels that I can
> > > overlay on a 640 by 480 picture.
> >
> > You'll need the whole 640x480 area in order to overlay to another
640x480
> > but just move the 100x100 section around within it.
> > Alpha channel or image_map is two possibilities, however like I said you
> > can't render a useable segment of a larger image due to how the image
file
> > is done.
> > You can of course render the section over top of the larger and output
as
> > whole 640x480 image(s), but not what you want to do I guess.
> >
> > Bob H.
> >
> >
> >
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I already noticed I didn't write it exactly as I planned to (50 units short
on the clock*values, making diagonal track bottom left to top right) but it
should be the idea you wanted anyway. Don't forget to use +w100 and +h100
for the output options (actually if you wanted to it could be a larger
output size, as in zoomed).
Also, depending on the original image you probably want to add interpolate 2
to the image_map statement.
The only real problem is about the intended path which you can always ask
how to go about that if you aren't sure :-)
Bob H.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
You could use +sc.. +sr.. +ec.. +er... if your using WinPov (Hold down the
Shift key and drag the portion you want to render the animation)That would
render the portion you want you would then have to make black alpha in say
PSP or other proggy then you can use DTA that lets you supply a background
image to your animation that is if the animation is stationary in the base
pic. That's just a thought I haven't tried it so I could be wrong.
Kirk Hubbell <kir### [at] yahoocom> wrote in message
news:3aaaadbc@news.povray.org...
> I am trying to create an animation of say 100 by 100 pixels that I can
> overlay on a 640 by 480 picture.I first render the 640 by 480 picture as
the
> base picture (in another program) now I want to create an animation of a
> part of the picture moving so I can overlay it, but I do not want an
> animation of the entire 640 by 480 picture just a 100 by 100 piece of it.
>
> By using the various settings in POVRay, I can make this animation with
most
> of the 640 by 480 output black and the part that I am interested in as a
> subset of the whole but I cannot figure out how to output just the part I
am
> interested in so that it will align exactly with the base 640 by 480
> picture. I would want a 100 by 100 output that matches up exactly to a 100
> by 100 part of the original 640 by 480.
>
> I have used the +H100 +W100 settings with the start and end row and column
> with no luck. Any ideas?
>
> Thanks,
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Perfect Alignment:
I used the angle keyword in the camera, I rendered the base picture (640 by
480) with angle set to 67 (it looked the same as the default if angle is not
specified) then I rendered a 160 by 120 (to keep aspect ratio correct)
picture with angle set to 18.945 (calculated with a little trig). The result
was a perfect match. Now I am running the 150 frame series to overlay the
animation over the base picture.
Thanks for the help, it got me thinking in the right direction.
Kirk
"Kirk Hubbell" <kir### [at] yahoocom> wrote in message
news:3aaaadbc@news.povray.org...
> I am trying to create an animation of say 100 by 100 pixels that I can
> overlay on a 640 by 480 picture.I first render the 640 by 480 picture as
the
> base picture (in another program) now I want to create an animation of a
> part of the picture moving so I can overlay it, but I do not want an
> animation of the entire 640 by 480 picture just a 100 by 100 piece of it.
>
> By using the various settings in POVRay, I can make this animation with
most
> of the 640 by 480 output black and the part that I am interested in as a
> subset of the whole but I cannot figure out how to output just the part I
am
> interested in so that it will align exactly with the base 640 by 480
> picture. I would want a 100 by 100 output that matches up exactly to a 100
> by 100 part of the original 640 by 480.
>
> I have used the +H100 +W100 settings with the start and end row and column
> with no luck. Any ideas?
>
> Thanks,
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |