POV-Ray / povray

The Persistence of Vision Raytracer: http://www.povray.org/
GNU Affero General Public License v3.0
1.35k stars 282 forks source link

Running large .pov file fails without error message #437

Open PlanetEarthSoftware opened 2 years ago

PlanetEarthSoftware commented 2 years ago

I have a large 10 GiB .pov file I have generated and was hoping to render, POV-Ray is 64 bit and I have 16 GiB of memory. No error message is shown.

POV-Ray Version

Runtime Environment

Steps to Reproduce

  1. Start POV-Ray 64 bit
  2. Hit the Sel-Run tollbar icon
  3. Select the large .pov file [ download and unzip https://genethomas.com/tmp/500.zip ]

Expected Behavior

Should render file and display the image or say it has run out of memory or some other error.

Actual Behavior

The rendering finishes almost immediately and a blank image is shown. The messages windows does not show any errors that have not occurred with good runs I have done before.

Output

-

Additional context (optional)

-

Workaround (optional)

-

Suggested Solution (optional)

-

c-lipka commented 2 years ago

The integrated editor of POV-Ray for Windows is based on a rather outdated 3rd-party component ("CodeMax"). That component, to the best of my knowledge, has remained unchanged since 32-bit times, so may be fundamentally incapable of handling files larger than 2 or 4 GB.

POV-Ray may still be able to render the file, using "Select File and Render" from the "Render" menu (Alt+S). This will just try to parse and render the file, without opening it in the editor.

PlanetEarthSoftware commented 2 years ago

When I do that is flickers as if rendering for a second then shows a blank black final image in the new window. The same blank black is written to a .png file. No error messages are show here either.

PlanetEarthSoftware commented 2 years ago

The following is shown in the Messages window, nothing that successful renders I have done have shown,

Rendering with 4 threads. Parser Options Input file: A:\Projects\QuaternionMandelbrotViewer\500.pov Remove bounds........On Split unions.........Off Library paths: C:\Temp\POV-Ray-v3.7\include C:\WINDOWS\Fonts Clock value: 0.000 (Animation off) Image Output Options Image resolution.....640 by 480 (rows 1 to 480, columns 1 to 640). Output file..........A:\Projects\QuaternionMandelbrotViewer\500.png, 24 bpp PNG Dithering............Off Graphic display......On (gamma: sRGB) Mosaic preview.......Off Continued trace......Off Information Output Options All Streams to console..........On Debug Stream to console.........On Fatal Stream to console.........On Render Stream to console........On Statistics Stream to console....On Warning Stream to console.......On Parse Warning: No objects in scene. Parse Warning: assumed_gamma not specified, so gamma_correction is turned off for compatibility with this pre POV-Ray 3.7 scene. See the documentation for more details. Parse Warning: This scene did not contain a #version directive. Please be aware that as of POV-Ray 3.7,

PlanetEarthSoftware commented 2 years ago

I have zipped up my large .pov file that exercises this fault, it can be downloaded from https://genethomas.com/tmp/500.zip

c-lipka commented 2 years ago

Having downloaded the ZIP file, I see a single .pov file of ~10 MB size in there. I take it that is all that's needed to (try to) render the scene?

Be advised that it may take a couple of days before I get around to digging into the issue.

PlanetEarthSoftware commented 2 years ago

I take it that is all that's needed to (try to) render the scene? yes. it is one huge mesh. It #includes "colors.inc".

PlanetEarthSoftware commented 2 years ago

That single .pov file is 10 GB not MB. Has there been any movement on this?