|
|
Success! POV-Ray 3.7 compiled on RPi-2, and a simple render worked. To
summarize, this was what I did (before I had not selected the 3.7 stable
release). I am also using gcc/g++ 4.8.2 instead of stock Raspbian gcc 4.6 if
that matters. At first I tried "make -j 4" to take advantage of the 4 cores,
but that ran out of memory (880 MB total for the 4 ARM cores). Plain old "make"
worked, taking 58 minutes.
sudo apt-get install autoconf
sudo apt-get install libboost-all-dev
sudo apt-get install libjpeg-dev
sudo apt-get install libtiff-dev
git clone https://github.com/POV-Ray/povray.git
cd povray/
git checkout --track -b 3.7-stable origin/3.7-stable
cd unix
..../prebuild.sh
cd ..
..../configure COMPILED_BY="J.Beale on RPi2 16-FEB-2015"
make
sudo make install
--------------------------------------------------------------
povray -benchmark
[...]
Running standard POV-Ray benchmark version 2.01
Persistence of Vision(tm) Ray Tracer Version 3.7.0.unofficial (g++ 4.8 @
armv7l-unknown-linux-gnueabi)
This is an unofficial version compiled by:
J.Beale on RPi2 16-FEB-2015
[...]
Parser Options
Input file: /tmp/pov11010.pov (compatible to version 3.70)
Remove bounds........On
Split unions.........Off
Library paths:
/usr/local/share/povray-3.7/include
Clock value: 0.000 (Animation off)
Image Output Options
Image resolution.....512 by 512 (rows 1 to 512, columns 1 to 512).
Output file: Disabled
Graphic display......Off
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
==== [Parsing...] ==========================================================
Parsing 652K tokens
Building mesh2:
- vertex_vectors
- normal_vectors
Parsing 1273K tokens
- uv_vectors
- face_indices
Parsing 1865K tokens
----------------------------------------------------------------------------
Parser Statistics
----------------------------------------------------------------------------
Finite Objects: 175
Infinite Objects: 3
Light Sources: 2
Total: 180
----------------------------------------------------------------------------
Parser Time
Parse Time: 0 hours 0 minutes 6 seconds (6.117 seconds)
using 1 thread(s) with 6.105 CPU-seconds total
Bounding Time: 0 hours 0 minutes 0 seconds (0.002 seconds)
using 1 thread(s) with 0.001 CPU-seconds total
----------------------------------------------------------------------------
Render Options
Quality: 9
Bounding boxes.......On Bounding threshold: 3
Antialiasing.........On (Method 1, Threshold 0.300, Depth 3, Jitter 0.30,
Gamma 2.50)
==== [Rendering...] ========================================================
Rendered 262144 of 262144 pixels (100%)
----------------------------------------------------------------------------
Render Statistics
Image Resolution 512 x 512
----------------------------------------------------------------------------
Pixels: 294912 Samples: 775710 Smpls/Pxl: 2.63
Rays: 2453737 Saved: 10624 Max Level: 12/12
----------------------------------------------------------------------------
Ray->Shape Intersection Tests Succeeded Percentage
----------------------------------------------------------------------------
Box 53058640 21478383 40.48
Cone/Cylinder 64655811 13319259 20.60
CSG Intersection 203598454 98207761 48.24
CSG Merge 561573 74949 13.35
Fractal 1094251 206307 18.85
Height Field 1663989 217153 13.05
Height Field Box 1663989 1356298 81.51
Height Field Triangle 7042544 224658 3.19
Height Field Block 11071738 3432618 31.00
Height Field Cell 46027492 3876300 8.42
Isosurface 21581485 1002389 4.64
Isosurface Container 21582317 21582312 100.00
Isosurface Cache 279307 12899 4.62
Mesh 1203432 126554 10.52
Plane 145909900 1543549 1.06
Sphere 296836198 120371341 40.55
Superellipsoid 384813 115484 30.01
Torus 3341727 785934 23.52
Torus Bound 3341727 902338 27.00
True Type Font 520784 172572 33.14
Clipping Object 3470207 1688095 48.65
Bounding Box 900326191 272074068 30.22
----------------------------------------------------------------------------
Isosurface roots: 21564018
Function VM calls: 287594171
----------------------------------------------------------------------------
Crackle Cache Queries: 829577
Crackle Cache Hits: 825007 ( 99 percent)
----------------------------------------------------------------------------
Roots tested: 902338 eliminated: 559752
Media Intervals: 61498397 Media Samples: 554613985 (9.02)
Shadow Ray Tests: 148393870 Succeeded: 86349516
Shadow Cache Hits: 4927020
Reflected Rays: 375023 Total Internal: 2
Refracted Rays: 262143
Transmitted Rays: 636971
----------------------------------------------------------------------------
Number of photons shot: 36326
Surface photons stored: 13877
Gather function called: 1378166
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Render Time:
Photon Time: 0 hours 0 minutes 25 seconds (25.350 seconds)
using 7 thread(s) with 29.029 CPU-seconds total
Radiosity Time: No radiosity
Trace Time: 0 hours 57 minutes 36 seconds (3456.137 seconds)
using 4 thread(s) with 13785.967 CPU-seconds total
povray: removing /tmp/pov11010.ini
povray: removing /tmp/pov11010.pov
POV-Ray finished
Post a reply to this message
|
|