POV-Ray : Newsgroups : povray.general : combining partial images Server Time
27 Nov 2024 14:43:41 EST (-0500)
  combining partial images (Message 1 to 10 of 38)  
Goto Latest 10 Messages Next 10 Messages >>>
From: stevenvh
Subject: combining partial images
Date: 8 Jul 2008 09:55:00
Message: <web.487371a8ec7fa205c0721a1d0@news.povray.org>
I made a set of partial images using Start_Column, End_Column, Start_Row and
End_Row.
Now I want to combine them, but Photoshop can't read the images. Are the files
not standard bitmap files (PNG in my case)?
Any tools around to do this?

TIA
Steven


Post a reply to this message

From: Warp
Subject: Re: combining partial images
Date: 8 Jul 2008 10:38:19
Message: <48737bdb@news.povray.org>
stevenvh <nomail@nomail> wrote:
> I made a set of partial images using Start_Column, End_Column, Start_Row and
> End_Row.
> Now I want to combine them, but Photoshop can't read the images. Are the files
> not standard bitmap files (PNG in my case)?
> Any tools around to do this?

  Try with the Gimp. IIRC, it ignores the errors and reads the images.
You can then re-save them.

-- 
                                                          - Warp


Post a reply to this message

From: stevenvh
Subject: Re: combining partial images
Date: 8 Jul 2008 12:55:01
Message: <web.48739bba7ec83d1bc0721a1d0@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> stevenvh <nomail@nomail> wrote:
> > I made a set of partial images using Start_Column, End_Column, Start_Row and
> > End_Row.
> > Now I want to combine them, but Photoshop can't read the images. Are the files
> > not standard bitmap files (PNG in my case)?
> > Any tools around to do this?
>
>   Try with the Gimp. IIRC, it ignores the errors and reads the images.
> You can then re-save them.
>
> --
>                                                           - Warp

Hi Warp,
thanks for the suggestion. Installed GIMP and it does read the files alright.
However. In the POV-Ray render window the non-rendered area is checkered, so I
presumed it would be transparent. My Photoshop-idea was to load all the files
as individual layers, and then simply flatten the image.
GIMP shows the non-rendered area as black, so the simple trick won't do.


Post a reply to this message

From: stevenvh
Subject: Re: combining partial images
Date: 8 Jul 2008 13:45:01
Message: <web.4873a6cf7ec83d1bc0721a1d0@news.povray.org>
I see GIMP allows you to select areas numerically. Great. So now I can select
the partial image, and paste it in Photoshop. I still want to do this in
Photoshop because of its magnetic placement feature. I don't know if GIMP has
this too.

Anyway, when I select an area in my GIMP image, and switch to Photoshop, I get
an error "could not import the clipboard because an unexpected end-of-file was
encountered". This also happens with non-(povray-partial-images). Is this a
GIMP bug?

I'm still not comfortable about the way POV-Ray writes these partial images. If
it corrupts a file by adding information which doesn't agree with the file
format it should at least itself be able to glue the partial files together.
Otherwise it should write the according to the chosen format, IMO.


Post a reply to this message

From: Warp
Subject: Re: combining partial images
Date: 8 Jul 2008 14:43:03
Message: <4873b537@news.povray.org>
stevenvh <nomail@nomail> wrote:
> I'm still not comfortable about the way POV-Ray writes these partial images.

  If I remember correctly, something about this problem was discussed for
POV-Ray 3.7, but I don't know if it ever got past the discussion phase.

-- 
                                                          - Warp


Post a reply to this message

From: stbenge
Subject: Re: combining partial images
Date: 8 Jul 2008 19:44:36
Message: <4873fbe4$1@news.povray.org>
stevenvh wrote:
> I made a set of partial images using Start_Column, End_Column, Start_Row and
> End_Row.
> Now I want to combine them, but Photoshop can't read the images. Are the files
> not standard bitmap files (PNG in my case)?
> Any tools around to do this?

Is it possible for you to create a special file in POV-Ray in which each 
partial image is applied to its own specially-fitted box?

Sam


Post a reply to this message

From: stevenvh
Subject: Re: combining partial images
Date: 8 Jul 2008 20:45:00
Message: <web.4874093a7ec83d1bc0721a1d0@news.povray.org>
stbenge <THI### [at] hotmailcom> wrote:
> stevenvh wrote:
> > I made a set of partial images using Start_Column, End_Column, Start_Row and
> > End_Row.
> > Now I want to combine them, but Photoshop can't read the images. Are the files
> > not standard bitmap files (PNG in my case)?
> > Any tools around to do this?
>
> Is it possible for you to create a special file in POV-Ray in which each
> partial image is applied to its own specially-fitted box?
>
> Sam


I'm sorry Sam,  I re-read your question several times, but I don't understand a
word of it.


Post a reply to this message

From: stbenge
Subject: Re: combining partial images
Date: 8 Jul 2008 21:50:31
Message: <48741967@news.povray.org>
stevenvh wrote:
> stbenge <THI### [at] hotmailcom> wrote:
>> Is it possible for you to create a special file in POV-Ray in which each
>> partial image is applied to its own specially-fitted box?
>>
> I'm sorry Sam,  I re-read your question several times, but I don't understand a
> word of it.

Sorry about the vagueness of my response. The idea is simple: take the 
partially-rendered images and composite them together in POV-Ray. For 
instance, if you have rendered your image in two segments, an upper 
segment and a lower segment, you could make a new scene in which each 
segment is placed onto its own box: an upper box and a lower box. Your 
camera would be orthographic and would face the boxes so that your final 
rendered image is a composite of all the segments.

In this manner you could automate the whole process. If you need further 
help, I could test this idea myself and post the code.

Sam


Post a reply to this message

From: stevenvh
Subject: Re: combining partial images
Date: 9 Jul 2008 00:40:01
Message: <web.487440aa7ec83d1bc0721a1d0@news.povray.org>
stbenge <THI### [at] hotmailcom> wrote:
>
> Sorry about the vagueness of my response. The idea is simple: take the
> partially-rendered images and composite them together in POV-Ray. For
> instance, if you have rendered your image in two segments, an upper
> segment and a lower segment, you could make a new scene in which each
> segment is placed onto its own box: an upper box and a lower box. Your
> camera would be orthographic and would face the boxes so that your final
> rendered image is a composite of all the segments.
>
> In this manner you could automate the whole process. If you need further
> help, I could test this idea myself and post the code.
>
> Sam

No, it's clear now. But as you say, this only works with an orthographic
projection. That's not often the case in my projects, in this special case it's
even a fisheye.
Thanks for your thoughts, though.
Steven


Post a reply to this message

From: Alessio Sangalli
Subject: Re: combining partial images
Date: 9 Jul 2008 00:53:23
Message: <48744443@news.povray.org>
stevenvh wrote:

> No, it's clear now. But as you say, this only works with an orthographic
> projection. That's not often the case in my projects, in this special case it's
> even a fisheye.


I think the idea was to use the orthographic only in this final rendering.

Anyway I would just use the gimp, SAVE the images, and then open them in
photoshop and paste everything together, what's difficult on this?


bye
as


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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