POV-Ray : Newsgroups : povray.unofficial.patches : Animated post_process Server Time
4 Dec 2024 21:08:31 EST (-0500)
  Animated post_process (Message 1 to 5 of 5)  
From: Tal
Subject: Animated post_process
Date: 4 Oct 2005 16:15:01
Message: <web.4342e281d5ee0a72d475239f0@news.povray.org>
I'm trying to make two versions of an animation, one rendered normally
and one rendered as a depth map using MegaPOV's post_process.  I
figured that the post_process step would operate on each step in the
animation and write to a different file.  What happens is I end up
with the fully rendered animation, but with only a single
post-processed depth file.

This is easy to reproduce, just use the depth.pov example from MegaPOV
(I'm using version 1.2.1) and add an .ini file like this to the
render:

Initial_Frame = 1
Final_Frame = 10

Am I doing something wrong?

Thanks,
Tal


Post a reply to this message

From: Tal
Subject: Re: Animated post_process
Date: 6 Oct 2005 17:40:01
Message: <web.4345990b58772cd3d475239f0@news.povray.org>
Since I'm getting no response for my post, I think I'll just have to respond
to myself ;).  Let me add that I can't get any post processing to work with
animation.  For example, using the find_edges.pov script, if I animate the
script only one post-processed bitmap with edges is outputed.  Although when
it renders, it renders 10 separate normal image files.

Is there something I need to add to the save_file line? Is there
a different way of starting the animations that I should be using?

So to be specific, I used find_edges.pov located in scenes/megapov/postproc.
I added a .ini file that only has an Initial_Frame and a Final_Frame line
in it.  I'm using megapov 1.2.1.

Has anyone else encountered this problem before?  Is the program behaving
properly and I just don't know it?  I.e. is animation not supposed to
produce a post-processed image for each frame?

"Tal" <tal### [at] csutexasedu> wrote:
> I'm trying to make two versions of an animation, one rendered normally
> and one rendered as a depth map using MegaPOV's post_process.  I
> figured that the post_process step would operate on each step in the
> animation and write to a different file.  What happens is I end up
> with the fully rendered animation, but with only a single
> post-processed depth file.
>
> This is easy to reproduce, just use the depth.pov example from MegaPOV
> (I'm using version 1.2.1) and add an .ini file like this to the
> render:
>
> Initial_Frame = 1
> Final_Frame = 10
>
> Am I doing something wrong?
>
> Thanks,
> Tal


Post a reply to this message

From: Christoph Hormann
Subject: Re: Animated post_process
Date: 6 Oct 2005 17:55:04
Message: <di468u$ihe$1@chho.imagico.de>
Tal wrote:
> Since I'm getting no response for my post, I think I'll just have to respond
> to myself ;).  [...]

Well - ABX probably did not have the time to have a look at this yet.

You are most likely right that post processing does not work in 
combination with the animation feature.  Whether this is a bug or just a 
limitation is up to interpretation...

Christoph

-- 
POV-Ray tutorials, include files, Landscape of the week:
http://www.tu-bs.de/~y0013390/ (Last updated 24 Jul. 2005)
MegaPOV with mechanics simulation: http://megapov.inetart.net/


Post a reply to this message

From: ABX
Subject: Re: Animated post_process
Date: 7 Oct 2005 03:25:05
Message: <sf8ck19popjs8jm54vr1p0vt2hfa5mpubf@4ax.com>
On Thu, 06 Oct 2005 23:51:26 +0200, Christoph Hormann <chr### [at] gmxde>
wrote:
> > Since I'm getting no response for my post, I think I'll just have to respond
> > to myself ;).  [...]
>
> Well - ABX probably did not have the time to have a look at this yet.
>
> You are most likely right that post processing does not work in 
> combination with the animation feature.  Whether this is a bug or just a 
> limitation is up to interpretation...

Sorry for the late answer. I wasn't aware about any animation limitation and
writing code I didn't see any relation to animating (AFAIR I was doing
animations during developement) so I would say it's a bug. Bookmarked.

ABX


Post a reply to this message

From: Matt Denham
Subject: Re: Animated post_process
Date: 24 Nov 2005 12:15:01
Message: <web.4385f46058772cd374f3166b0@news.povray.org>
"Tal" <tal### [at] csutexasedu> wrote:
> Since I'm getting no response for my post, I think I'll just have to respond
> to myself ;).  Let me add that I can't get any post processing to work with
> animation.  For example, using the find_edges.pov script, if I animate the
> script only one post-processed bitmap with edges is outputed.  Although when
> it renders, it renders 10 separate normal image files.
>
> Is there something I need to add to the save_file line? Is there
> a different way of starting the animations that I should be using?
>
> So to be specific, I used find_edges.pov located in scenes/megapov/postproc.
> I added a .ini file that only has an Initial_Frame and a Final_Frame line
> in it.  I'm using megapov 1.2.1.
>
> Has anyone else encountered this problem before?  Is the program behaving
> properly and I just don't know it?  I.e. is animation not supposed to
> produce a post-processed image for each frame?
>

The only thing that could potentially be considered a bug about this is that
it doesn't automatically append a frame number under this situation (I
suppose it's debatable whether or not this is actually a bug, as Christoph
said).

You can manually do this - save_file concat("whatever-", str(frame_number,
-3, 0), ".png") - and you'll get files "whatever-000.png",
"whatever-001.png", etc. as desired.

Hopefully that helps somewhat. :-)


Post a reply to this message

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