povray icon indicating copy to clipboard operation
povray copied to clipboard

Running large .pov file fails without error message

Open PlanetEarthSoftware opened this issue 3 years ago • 7 comments

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

  • Incarnation: POV-Ray for Windows
  • Affected build version: 3.7.0.msvc10.win64

Runtime Environment

  • Operating system: Microsoft Windows [Version 10.0.19043.1165] Windows 10 Home 21H1
  • Hardware architecture: x86-64
  • CPU model: Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz 2.90 GHz

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)

PlanetEarthSoftware avatar Sep 06 '21 08:09 PlanetEarthSoftware

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.

c-lipka avatar Sep 06 '21 08:09 c-lipka

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 avatar Sep 06 '21 09:09 PlanetEarthSoftware

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 avatar Sep 06 '21 09:09 PlanetEarthSoftware

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

PlanetEarthSoftware avatar Sep 07 '21 08:09 PlanetEarthSoftware

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.

c-lipka avatar Sep 07 '21 08:09 c-lipka

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 avatar Sep 08 '21 00:09 PlanetEarthSoftware

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

PlanetEarthSoftware avatar Oct 03 '21 06:10 PlanetEarthSoftware