POV-Ray : Newsgroups : povray.general : How to assemble images after distributed rendering? Server Time
29 Jul 2024 16:23:39 EDT (-0400)
  How to assemble images after distributed rendering? (Message 11 to 14 of 14)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Marvin
Subject: Re: How to assemble images after distributed rendering?
Date: 7 Jun 2011 09:55:00
Message: <web.4dee2c6ef8ea20b673cc178a0@news.povray.org>
Le_Forgeron <lef### [at] freefr> wrote:
> Le 04/06/2011 23:01, Marvin a écrit :
> > $ povray +FN +W400 +H300 +SC00 +EC99 +Omodel-000000.png radiosity3a.pov
> > $ povray +FN +W400 +H300 +SC100 +EC199 +Omodel-000001.png radiosity3a.pov
> > $ povray +FN +W400 +H300 +SC200 +EC299 +Omodel-000002.png radiosity3a.pov
> > $ povray +FN +W400 +H300 +SC300 +EC399 +Omodel-000003.png radiosity3a.pov
> >
>
> Beware of the bound of +SC/+EC too... column starts at 1

Yes, thank you for underlining this mistake of mine.

> >
http://wiki.povray.org/content/Documentation:Reference_Section_1#Partial_Output_Options
>
> So, it should be
>  +SC001 +EC100
>  +SC101 +EC200
>  +SC201 +EC300
>  +SC301 +EC400
>
> For slices from 3.6, the order in convert should be from right to left
> to avoid the white line. And do not forget the "-page +0+0" for each of
> them.

Actually, I've read now in docs that behavior I had experienced is documented
and solved in 3.7, so my bug report is redundant.

It would be good to have a backward compatible 3.6 version which would resolve
this issue, for 3.7 is still a release candidate AFAIK.

Rgds,
Marvin


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: How to assemble images after distributed rendering?
Date: 7 Jun 2011 10:34:49
Message: <4dee3709$1@news.povray.org>
On 07.06.11 15:50, Marvin wrote:
> It would be good to have a backward compatible 3.6 version which would resolve
> this issue,

What issue are you referring to specifically? The white line is a 
side-effect of 3.6 radiosity, which is an experimental feature in 3.6 and 
works as designed as long as you use a full-image, overlap image parts or 
use a multi-stage rendering. This is exactly how radiosity is designed in 
POV-Ray 3.6 - as a non-distributed rendering feature.

	Thorsten


Post a reply to this message

From: jhu
Subject: Re: How to assemble images after distributed rendering?
Date: 12 Jun 2011 18:25:01
Message: <web.4df53c42f8ea20b6491ddf0b0@news.povray.org>
"Marvin" <mto### [at] grfhr> wrote:
> Dear fellaz,
>
> After distributed rendering with cluster, I need to reassemble image from
> columns into complete image. All columns are dimensioned 400x300 (in example),
> but one contains columns 0 to 99 active, second 100 to 199 ... and final 300 to
> 399.
>
> $ povray +FN +W400 +H300 +SC00 +EC99 +Omodel-000000.png radiosity3a.pov
> $ povray +FN +W400 +H300 +SC100 +EC199 +Omodel-000001.png radiosity3a.pov
> $ povray +FN +W400 +H300 +SC200 +EC299 +Omodel-000002.png radiosity3a.pov
> $ povray +FN +W400 +H300 +SC300 +EC399 +Omodel-000003.png radiosity3a.pov
>
> I would like to reassemble images model-000000.png to model-0.000003.png (but
> not limited to 4 columns) into a resulting image of entire rendered scene.
>
> Many thanks in return. I did lots of research with ImageMagick commands, but at
> no avail - it remained stubborn in doing everything but what I wanted.
>
> Best rgds,
> Marvin

Are you using a unix-like environment for such operations? I find rendering and
reassembling rows a much easier task than columns. Have a look at something I
wrote up in the tutorials section:
http://news.povray.org/povray.text.tutorials/thread/%3Cweb.4bab09e0aad27b55ab8b233e0%40news.povray.org%3E/


Post a reply to this message

From: Marvin
Subject: Re: How to assemble images after distributed rendering?
Date: 4 Jul 2011 08:55:01
Message: <web.4e11b7fcf8ea20b61d841c9e0@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
> Le 04/06/2011 23:01, Marvin nous fit lire :
> > Dear fellaz,
> >
> > After distributed rendering with cluster, I need to reassemble image from
> > columns into complete image. All columns are dimensioned 400x300 (in example),
> > but one contains columns 0 to 99 active, second 100 to 199 ... and final 300 to
> > 399.
> >
> > $ povray +FN +W400 +H300 +SC00 +EC99 +Omodel-000000.png radiosity3a.pov
> > $ povray +FN +W400 +H300 +SC100 +EC199 +Omodel-000001.png radiosity3a.pov
> > $ povray +FN +W400 +H300 +SC200 +EC299 +Omodel-000002.png radiosity3a.pov
> > $ povray +FN +W400 +H300 +SC300 +EC399 +Omodel-000003.png radiosity3a.pov
> >
> > I would like to reassemble images model-000000.png to model-0.000003.png (but
> > not limited to 4 columns) into a resulting image of entire rendered scene.
> >
> > Many thanks in return. I did lots of research with ImageMagick commands, but at
> > no avail - it remained stubborn in doing everything but what I wanted.
> >
>
> A hint:
>
> convert model-000000.png -transparent black neo-000000.png
> convert model-000001.png -transparent black neo-000001.png
> convert model-000002.png -transparent black neo-000002.png
> convert model-000003.png -transparent black neo-000003.png
>
>  convert neo-000000.png neo-000001.png neo-000002.png neo-000003.png
> -background black -flatten neo.png

After upgrade of povray to 3.7RC3, this recipe started working fine.

So, it was a documented but in 3.6.1.

Thanks a lot!
Marvin


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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