Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3457550
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:52:26+00:00 2026-05-18T09:52:26+00:00

Starting situation: Using povray I create 4 partial images of a scene. povray +SR1

  • 0

Starting situation:

Using povray I create 4 partial images of a scene.

povray +SR1 +ER200 +SC0 +EC200 +W400 +H400 +OPART1 povray.pov
povray +SR1 +ER200 +SC201 +EC400 +W400 +H400 +OPART11 povray.pov
povray +SR201 +ER400 +SC0 +EC200 +W400 +H400 +OPART2 povray.pov
povray +SR201 +ER400 +SC201 +EC400 +W400 +H400 +OPART22 povray.pov

Problem to solve:

  • Merge the 4 images programmatically.

Things to take in consideration:

  • Most of the partial images are NOT valid images and cannot be opened. For example, the first partial image can be opened, showing a rectangle with the image at the top left and everything else is black. But the rest of the images contain only the information regarding his zone. We could say that those images are broken.
  • The output format is set with the +F and could be PPM, PNG, Uncompressed and Compressed Targa. A valid solution could use any of those formats.
  • Focus on how to merge the images. You know the rectangle that each partial image have.

Things that have been tried:

  • Concatenating the images with Tail as described in http://povray.tashcorp.net/tutorials/qd_multicpu_render/ . It only works if the partial images are complete on the width axis, that is if PART1 is a set of lines, PART2 another set of lines…and no column division. But we have column division.
  • Use ImageMagick. It cannot open the partial images. It says they are broken.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T09:52:26+00:00Added an answer on May 18, 2026 at 9:52 am

    I found how this could be achieved.

    You need to patch Povray so that it saves information about the offset of PNG files.

    This is the Patch.
    https://gist.github.com/721862

    You need to download the sources for povray and apply the patch. To apply the patch you save the patch file in povray-3.6.1/source/patch.patch and then:

    cp patch.patch povray-3.6.1/source/
    cd povray-3.6.1/source/
    patch png_pov.cpp patch.patch
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Starting Situation These two commands should be equivalent. jQuery('a').filter(':contains(about)'); and jQuery.find('a').filter(':contains(about)'); Problem In fact,
I'm just starting to learn verilog, and I've come across a situation where I'm
I'm starting to play with OpenGL from Java, and I'm encountering a situation where
Here's the situation - I have a vb.net exe compiled for X86 machines using
So, here's my situation. I'm using PyDev in Eclipse, Python interpreter version 2.7.2 in
I am using AJAX in asp:net and am trying to handle a situation where
We're just starting with SVN (were using CVS before :shame:) and I have a
i'm starting a project adn i'm using symfony, my first time with symfony, really
I'm using EF 4.1 code first. Running into a very weird situation: Database does
the situation is following, i am running xCode 4.1 on MacOS 10.7, starting iPhone

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.