POV-Ray : Newsgroups : povray.binaries.images : merge TGA file in POVRay Server Time
7 Nov 2024 19:21:43 EST (-0500)
  merge TGA file in POVRay (Message 1 to 2 of 2)  
From: gaprie
Subject: merge TGA file in POVRay
Date: 17 May 2014 01:50:00
Message: <web.5376f7b79c7928012ebcdc450@news.povray.org>
Hello everyone,

I would like to ask, if I have 2 pieces of Povray rendering result of TGA images
and want to merge them into one whole image. Anyone ever tried?

For example, the object "pawns.pov" which has a pixel size of 400 (w) x300 (h),
I render into 2 parts:

"pawns_top.tga" (rendered from rows 1-150) with the command:
#povray +W400 +H300 +SR1 +ER150 FT +Opawns_top pawns.pov
"pawns_bottom.tga" (rendered from lines 151-300) with the command:
#povray +W400 +H300 +SR151 +ER300 +FT +Opawns_bottom pawns.pov

And I wish I merge into "pawns.tga"

I have tried with the following command from the link
"http://povray.tashcorp.net/tutorials/qd_multicpu_render/"
# cp pawns_top.tga pawns.tga
# tail-c +19 pawns_bottom.tga >> pawns.tga

No error message,. But the merged image only contains images of paws_top.

Thank you for all your help ^ _ ^.

Regards,
Galih


Post a reply to this message

From: jhu
Subject: Re: merge TGA file in POVRay
Date: 17 May 2014 02:40:01
Message: <web.53770429eceb71fd19b0ec40@news.povray.org>
See http://www.imagemagick.org

Easiest to install via your distro's package management system (eg for
Debian/Ubuntu: apt-get install imagemagik). Then use the 'convert' program to
stitch images together. (See
http://news.povray.org/povray.text.tutorials/thread/%3Cweb.52e993ec552e7103d19b0ec40%40news.povray.org%3E/).


Post a reply to this message

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