POV-Ray : Newsgroups : povray.unix : Pov-Ray 3.1g (compiled from source) outputting odd... Server Time
28 Jul 2024 22:23:39 EDT (-0400)
  Pov-Ray 3.1g (compiled from source) outputting odd... (Message 3 to 12 of 12)  
<<< Previous 2 Messages Goto Initial 10 Messages
From: Dennis Clarke
Subject: Pov-Ray 3.1g (compiled from source) locking up ...
Date: 7 Aug 1999 00:04:18
Message: <37ABB03D.22E0C3DE@interlog.com>
Even bigger problems : 

 I also have a 3.1g version that will not display to X-windows.  I will
therefore run a make clean and then compile the x-windows edition.

A much bigger problem that I am having is that POV-Ray 3.1g seems to lock up
while rendering a simple image with a blob in it.  ...


$ ps -ef | grep povray
 dclarke   683   530 99 15:13:37 pts/4   524:18 /usr/local/povray31/povray

$ /usr/local/povray31/povray +I./cmyrgb.pov  +O../../output/cmy_.tga +W320 +H240
+FT -A -J +Q7 +V +GA +L/usr/local/povray31/include +SF24 +EF32 +KC +KFI0 +KFF64
+X
Persistence of Vision(tm) Ray Tracer Version 3.1g.SunOS.gcc
  This is an unofficial version compiled by:
    Dennis M. Clarke  dcl### [at] interlogcom  
  The POV-Ray Team(tm) is not responsible for supporting this version.
Copyright 1999 POV-Ray Team(tm)
Parsing Options
  Input file: ./cmyrgb.pov (compatible to version 3.1)
  Remove bounds........On  Split unions........Off
  Library paths: /usr/local/povray31/include
Output Options
  Image resolution 320 by 240 (rows 1 to 240, columns 1 to 320).
  Output file: ../../output/cmy_.tga, 24 bpp Targa
  Graphic display.....Off
  Mosaic preview......Off
  CPU usage histogram.Off
  Continued trace.....Off  Allow interruption...On  Pause when done.....Off
  Verbose messages.....On
Tracing Options
  Quality:  7
  Bounding boxes.......On  Bounding threshold: 25 
  Light Buffer.........On  Vista Buffer.........On
  Antialiasing........Off
  Radiosity...........Off
Animation Options
  Initial Frame..      24  Final Frame....      32
  Initial Clock..   0.369  Final Clock....   0.508
  Cyclic Animation.....On  Field render........Off  Odd lines/frames....Off
Redirecting 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.......No pigment type given.


Creating bounding slabs.
Scene contains 1 frame level objects; 0 infinite.

 00:00:01 so far, Rendering frame 24, going to 32.
  7:40:32 Rendering line   93 of  240. ^C     
Got 1 SIGINT.^C
Got 2 SIGINT.^C
Got 3 SIGINT.

=========== Locked up for almost 7 hours and 40 minutes ===========

I will render the same scene with povray 3.1e and see what I get ...

Dennis Clarke


Post a reply to this message

From: Dennis Clarke
Subject: x-povray 3.1g broken after make clean ...
Date: 7 Aug 1999 00:47:10
Message: <37ABBA48.E4B78C63@interlog.com>
$ make clean
$ make xwin
gcc -O3 -c -ansi -Wall -mcpu=ultrasparc -mtune=ultrasparc
-fexpensive-optimizations -DCOMPILER_VER=\".`uname`.gcc\"
-DPOV_LIB_DIR=\"/usr/local/lib/povray31\" -I. -I.. -I../libpng -I../zlib
../atmosph.c
gcc -O3 -c -ansi -Wall -mcpu=ultrasparc -mtune=ultrasparc
-fexpensive-optimizations -DCOMPILER_VER=\".`uname`.gcc\"
-DPOV_LIB_DIR=\"/usr/local/lib/povray31\" -I. -I.. -I../libpng -I../zlib
../bbox.c
gcc -O3 -c -ansi -Wall -mcpu=ultrasparc -mtune=ultrasparc
-fexpensive-optimizations -DCOMPILER_VER=\".`uname`.gcc\"
-DPOV_LIB_DIR=\"/usr/local/lib/povray31\" -I. -I.. -I../libpng -I../zlib
../bcyl.c
gcc -O3 -c -ansi -Wall -mcpu=ultrasparc -mtune=ultrasparc
-fexpensive-optimizations -DCOMPILER_VER=\".`uname`.gcc\"
-DPOV_LIB_DIR=\"/usr/local/lib/povray31\" -I. -I.. -I../libpng -I../zlib
../bezier.c
<snip>
<snip>
gcc -O3 -c -ansi -Wall -mcpu=ultrasparc -mtune=ultrasparc
-fexpensive-optimizations -DCOMPILER_VER=\".`uname`.gcc\"
-DPOV_LIB_DIR=\"/usr/local/lib/povray31\" -I. -I.. -I../libpng -I../zlib
../optin.c
../optin.c: In function `process_variable':
../optin.c:1456: warning: suggest explicit braces to avoid ambiguous `else'
../optin.c:1469: warning: suggest explicit braces to avoid ambiguous `else'
gcc -O3 -c -ansi -Wall -mcpu=ultrasparc -mtune=ultrasparc
-fexpensive-optimizations -DCOMPILER_VER=\".`uname`.gcc\"
-DPOV_LIB_DIR=\"/usr/local/lib/povray31\" -I. -I.. -I../libpng -I../zlib
../optout.c
<snip>
<snip>
gcc -O3 -c -ansi -Wall -mcpu=ultrasparc -mtune=ultrasparc
-fexpensive-optimizations -DCOMPILER_VER=\".`uname`.gcc\"
-DPOV_LIB_DIR=\"/usr/local/lib/povray31\" -I. -I.. -I../libpng -I../zlib
-I/usr/openwin/include xwindows.c
In file included from xwindows.c:82:
/usr/openwin/include/X11/Xlib.h:2063: warning: type defaults to `int' in
declaration of `XSetTransientForHint'
/usr/openwin/include/X11/Xlib.h:2071: warning: type defaults to `int' in
declaration of `XActivateScreenSaver'
/usr/openwin/include/X11/Xlib.h:2078: warning: type defaults to `int' in
declaration of `XAddHost'
<snip>
<snip>
/usr/openwin/include/X11/Xutil.h:879: warning: type defaults to `int' in
declaration of `XUnionRegion'
/usr/openwin/include/X11/Xutil.h:903: warning: type defaults to `int' in
declaration of `XXorRegion'
gcc -O3 -c -ansi -Wall -mcpu=ultrasparc -mtune=ultrasparc
-fexpensive-optimizations -DCOMPILER_VER=\".`uname`.gcc\"
-DPOV_LIB_DIR=\"/usr/local/lib/povray31\" -I. -I.. -I../libpng -I../zlib unix.c
gcc ./atmosph.o ./bbox.o ./bcyl.o ./bezier.o ./blob.o ./boxes.o ./bsphere.o
./camera.o ./chi2.o ./colour.o ./cones.o ./csg.o ./discs.o ./express.o
./fractal.o ./gif.o ./gifdecod.o ./hcmplx.o ./hfield.o ./iff.o ./image.o
./interior.o ./lathe.o ./lbuffer.o ./lighting.o ./matrices.o ./media.o ./mem.o
./mesh.o ./normal.o ./objects.o ./octree.o ./optin.o ./optout.o ./parse.o
./parstxtr.o ./pattern.o ./pgm.o ./pigment.o ./planes.o ./png_pov.o ./point.o
./poly.o ./polygon.o ./polysolv.o ./povray.o ./ppm.o ./prism.o ./quadrics.o
./quatern.o ./rad_data.o ./radiosit.o ./ray.o ./render.o ./sor.o ./spheres.o
./super.o ./targa.o ./texture.o ./tokenize.o ./torus.o ./triangle.o ./truetype.o
./txttest.o ./userio.o ./vbuffer.o ./vlbuffer.o ./warps.o  ./xwindows.o ./unix.o
-L../libpng -lpng -L../zlib -lz -lm -L/usr/openwin/lib -lX11 -o x-povray

$ file x-povray
x-povray:	ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+ Required,
UltraSPARC1 Extensions Required, dynamically linked, not stripped
$ file /usr/local/povray31/x-povray
/usr/local/povray31/x-povray:	ELF 32-bit MSB executable SPARC32PLUS Version 1,
V8+ Required, UltraSPARC1 Extensions Required, dynamically linked, not stripped
$ ls -lap x-povray
-rwxr-xr-x   1 dclarke  staff     901360 Aug  7 00:10 x-povray
$ ls -lap /usr/local/povray31/x-povray
-rwxr-xr-x   1 dclarke  staff     857396 Jul 31 03:01
/usr/local/povray31/x-povray
$

Seems to be a bit of a filesize difference between this compile and my last one.

I'll render skyvase.pov with +D option and see what I get ...


$ find . -name x-povray -print
./povray/source/povray31/source/unix/x-povray
$ find /usr/local/povray31 -name skyvase.pov -print
/usr/local/povray31/scenes/advanced/skyvase.pov
$ ./povray/source/povray31/source/unix/x-povray
+I/usr/local/povray31/scenes/advanced/skyvase.pov +O./povray/bench/skyvase.tga
+W640 +H480 +FT +A0.300 +AM2 +R3 -J +Q9 +V +GA +L/usr/local/povray31/include +X
+D
Persistence of Vision(tm) Ray Tracer Version 3.1g.SunOS.gcc
  This is an unofficial version compiled by:
    Dennis M. Clarke  dcl### [at] interlogcom  
  The POV-Ray Team(tm) is not responsible for supporting this version.
Copyright 1999 POV-Ray Team(tm)
Parsing Options
  Input file: /usr/local/povray31/scenes/advanced/skyvase.pov (compatible to
version 3.1)
  Remove bounds........On  Split unions........Off
  Library paths: /usr/local/povray31/include
Output Options
  Image resolution 640 by 480 (rows 1 to 480, columns 1 to 640).
  Output file: ./povray/bench/skyvase.tga, 24 bpp Targa
  Graphic display......On  (type: 0, palette: 3, gamma:  2.2)
  Mosaic preview......Off
  CPU usage histogram.Off
  Continued trace.....Off  Allow interruption...On  Pause when done.....Off
  Verbose messages.....On
Tracing Options
  Quality:  9
  Bounding boxes.......On  Bounding threshold: 25 
  Light Buffer.........On  Vista Buffer.........On  Draw Vista Buffer...Off
  Antialiasing.........On  (Method 2, Threshold 0.300, Depth 3, Jitter 1.00)
  Radiosity...........Off
Animation Options
  Clock value....   0.000  (Animation off)
Redirecting 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...........

Creating bounding slabs.
Scene contains 6 frame level objects; 3 infinite

Displaying...

  -:--:-- Rendering line    1 of  480.......................................... 
0:00:03 Rendering line   21 of  480 supersampled 0 times.       
............................................................................. s 
0:00:06 Rendering line   41 of  480 supersampled 0 times.       
  0:00:09 Rendering line   61 of  480 supersampled 0 times.       ...........
supersampled 0 times.       
  0:00:13 Rendering line   81 of  480 supersampled 0 times.        ..........
supersampled 0 times.       
  0:00:19 Rendering line  101 of  480 supersampled 16 times.       ..........
supersampled 0 times.       
...............................o*oo***ooo***o.............................o..
supersampled 27 times.        0:00:25 Rendering line  121 of  480 supersampled 8
times.        
  0:00:29 Rendering line  141 of  480 supersampled 8 times.        ..........
supersampled 5 times.       
...................................oooo..oo..............................o...
supersampled 11 times.        0:00:33 Rendering line  161 of  480 supersampled 6
times.
..............^C
Got 1 SIGINT.
Aborting render...


Well .. that's all there is to that.  Clearly a problem with the makefile.  I'll
go get a backup tape and see if I can find the source and distribution files for
3.1e because that worked rather well ...


Dennis Clarke
dcl### [at] interlogcom


Post a reply to this message

From: Dennis Clarke
Subject: Pov-Ray 3.1e works fine ... perhaps the makefile is an issue ...
Date: 7 Aug 1999 01:47:34
Message: <37ABC870.C2B05067@interlog.com>
$ find . -name x-povray -print
./povray/source/povray31e/source/unix/x-povray
./povray/source/povray31g/source/unix/x-povray
$ file ./povray/source/povray31e/source/unix/x-povray
./povray/source/povray31e/source/unix/x-povray:	ELF 32-bit MSB executable
SPARC32PLUS Version 1, V8+ Required, UltraSPARC1 Extensions Required,
dynamically linked, stripped
$ find /usr/local/povray31 -name skyvase.pov -print
/usr/local/povray31/scenes/advanced/skyvase.pov
$ ./povray/source/povray31e/source/unix/x-povray
+I/usr/local/povray31/scenes/advanced/skyvase.pov
+O/usr/dclarke/povray/bench/skyvase.tga +W640 +H480 +FT +A0.300 +AM2 +R3 -J +Q9
+V +GA +L/usr/local/povray31/include +X +B2048 +D 
Persistence of Vision(tm) Ray Tracer Version 3.1e.SunOS.gcc
  This is an unofficial version compiled by:
    Dennis M. Clarke  dcl### [at] interlogcom  
  The POV-Ray Team(tm) is not responsible for supporting this version.
Copyright 1999 POV-Ray Team(tm)
Parsing Options
  Input file: /usr/local/povray31/scenes/advanced/skyvase.pov (compatible to
version 3.1)
  Remove bounds........On  Split unions........Off
  Library paths: /usr/local/povray31/include
Output Options
  Image resolution 640 by 480 (rows 1 to 480, columns 1 to 640).
  Output file: /usr/dclarke/povray/bench/skyvase.tga, 24 bpp Targa, 2048 KByte
buffer
  Graphic display......On  (type: 0, palette: 3, gamma:  2.2)
  Mosaic preview......Off
  CPU usage histogram.Off
  Continued trace.....Off  Allow interruption...On  Pause when done.....Off
  Verbose messages.....On
Tracing Options
  Quality:  9
  Bounding boxes.......On  Bounding threshold: 25 
  Light Buffer.........On  Vista Buffer.........On  Draw Vista Buffer...Off
  Antialiasing.........On  (Method 2, Threshold 0.300, Depth 3, Jitter 1.00)
  Radiosity...........Off
Animation Options
  Clock value....   0.000  (Animation off)
Redirecting 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...........

Creating bounding slabs.
Scene contains 6 frame level objects; 3 infinite.

Displaying...
Using 24 bit TrueColor visual...
  0:02:37 Rendering line  480 of  480 supersampled 6 times.         
Done Tracing
/usr/local/povray31/scenes/advanced/skyvase.pov Statistics, Resolution 640 x 480
----------------------------------------------------------------------------
Pixels:          307200   Samples:          478074   Smpls/Pxl: 1.56
Rays:           2010885   Saved:             13143   Max Level: 13/20
----------------------------------------------------------------------------
Ray->Shape Intersection          Tests       Succeeded  Percentage
----------------------------------------------------------------------------
CSG Intersection               6508534          598362      9.19
Plane                         39051204        20897723     53.51
Quadric                        6508534         2705269     41.56
Sphere                         6508534          984744     15.13
----------------------------------------------------------------------------
Calls to Noise:            2088470   Calls to DNoise:        3938830
----------------------------------------------------------------------------
Shadow Ray Tests:          7539150   Succeeded:               174531
Reflected Rays:            1532811
----------------------------------------------------------------------------
Smallest Alloc:                 12 bytes   Largest:          2097160
Peak memory used:          2434798 bytes
----------------------------------------------------------------------------
Time For Trace:    0 hours  2 minutes  37.0 seconds (157 seconds)
    Total Time:    0 hours  2 minutes  37.0 seconds (157 seconds)
$ ./povray/source/povray31e/source/unix/x-povray
+I/usr/local/povray31/scenes/advanced/skyvase.pov
+O/usr/dclarke/povray/bench/skyvase.tga +W640 +H480 +FT +A0.300 +AM2 +R3 -J +Q9
+V +GA +L/usr/local/povray31/include +X +B2048 +D +P +SP16 +EP1
Persistence of Vision(tm) Ray Tracer Version 3.1e.SunOS.gcc
  This is an unofficial version compiled by:
    Dennis M. Clarke  dcl### [at] interlogcom  
  The POV-Ray Team(tm) is not responsible for supporting this version.
Copyright 1999 POV-Ray Team(tm)
Parsing Options
  Input file: /usr/local/povray31/scenes/advanced/skyvase.pov (compatible to
version 3.1)
  Remove bounds........On  Split unions........Off
  Library paths: /usr/local/povray31/include
Output Options
  Image resolution 640 by 480 (rows 1 to 480, columns 1 to 640).
  Output file: /usr/dclarke/povray/bench/skyvase.tga, 24 bpp Targa, 2048 KByte
buffer
  Graphic display......On  (type: 0, palette: 3, gamma:  2.2)
  Mosaic preview.......On  (pixel sizes 16 to 2)
  CPU usage histogram.Off
  Continued trace.....Off  Allow interruption...On  Pause when done......On
  Verbose messages.....On
Tracing Options
  Quality:  9
  Bounding boxes.......On  Bounding threshold: 25 
  Light Buffer.........On  Vista Buffer.........On  Draw Vista Buffer...Off
  Antialiasing.........On  (Method 2, Threshold 0.300, Depth 3, Jitter 1.00)
  Radiosity...........Off
Animation Options
  Clock value....   0.000  (Animation off)
Redirecting 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...........

Creating bounding slabs.
Scene contains 6 frame level objects; 3 infinite.

Displaying...
Using 24 bit TrueColor visual...
  0:03:08 Rendering line  480 of  480 supersampled 6 times.         
Click on window to exit...
Done Tracing
/usr/local/povray31/scenes/advanced/skyvase.pov Statistics, Resolution 640 x 480
----------------------------------------------------------------------------
Pixels:          384000   Samples:          554874   Smpls/Pxl: 1.44
Rays:           2329467   Saved:             15390   Max Level: 13/20
----------------------------------------------------------------------------
Ray->Shape Intersection          Tests       Succeeded  Percentage
----------------------------------------------------------------------------
CSG Intersection               7530322          689307      9.15
Plane                         45181932        24207269     53.58
Quadric                        7530322         3130092     41.57
Sphere                         7530322         1125618     14.95
----------------------------------------------------------------------------
Calls to Noise:            2423049   Calls to DNoise:        4532884
----------------------------------------------------------------------------
Shadow Ray Tests:          8706504   Succeeded:               201596
Reflected Rays:            1774593
----------------------------------------------------------------------------
Smallest Alloc:                 12 bytes   Largest:          2097160
Peak memory used:          2434798 bytes
----------------------------------------------------------------------------
Time For Trace:    0 hours  3 minutes   8.0 seconds (188 seconds)
    Total Time:    0 hours  3 minutes   8.0 seconds (188 seconds)

Since we know that 3.1e does work then I will see if I can render my blob.pov
scene that causes 3.1g to lock up ...

Dennis Clarke
dcl### [at] interlogcom

ps: The sad thing is that I really have nothing better to do on a Friday night.

pps: The good thing is that I could care less and have a fresh coffee so I may
as well compile Pov-Ray and render stuff ...


Post a reply to this message

From: Dennis Clarke
Subject: Pov-Ray 3.1e and 3.1g lock up with my scene file ... ?!
Date: 7 Aug 1999 02:02:56
Message: <37ABCBD6.4A93481C@interlog.com>
Here is a screen shot from my workstation ... it pretty much shows what happens
when 3.1e attempts to render my scene file.  Sory about the size but I made this
as small as possible.  Will anyone be interested in attempting to render this
image?  I'd like to know that I wasn't the only one that is having this problem
...

Dennis Clarke
dcl### [at] interlogcom

System specifics : Sun Ultra 10 Creator 3D Solaris 7 256Mb RAM ...


Post a reply to this message


Attachments:
Download 'lockup.jpg' (98 KB)

Preview of image 'lockup.jpg'
lockup.jpg


 

From: Ken
Subject: Re: Pov-Ray 3.1e and 3.1g lock up with my scene file ... ?!
Date: 7 Aug 1999 02:07:26
Message: <37ABCCC1.3F59199F@pacbell.net>
Dennis Clarke wrote:
> Will anyone be interested in attempting to render this
> image?  I'd like to know that I wasn't the only one that is having this problem

Email it to me and I will try it on the v3.1g windows platform for you.

-- 
Ken Tyler

Older   Links Page: http://home.pacbell.net/tylereng/links.htm
Updated Links Page: http://home.pacbell.net/tylereng/bkmrk999.htm


Post a reply to this message

From: Dennis Clarke
Subject: Re: Pov-Ray 3.1e and 3.1g lock up with my scene file ... ?!
Date: 7 Aug 1999 02:58:58
Message: <37ABD90F.444A5F2B@interlog.com>
Ken wrote:
> 
> Dennis Clarke wrote:
> > Will anyone be interested in attempting to render this
> > image?  I'd like to know that I wasn't the only one that is having this problem
> 
> Email it to me and I will try it on the v3.1g windows platform for you.
> 
> --
> Ken Tyler
> 
> Older   Links Page: http://home.pacbell.net/tylereng/links.htm
> Updated Links Page: http://home.pacbell.net/tylereng/bkmrk999.htm

OK ... good luck and here it is ...


Post a reply to this message


Attachments:
Download 'us-ascii' (35 KB)

From: Ken
Subject: Re: Pov-Ray 3.1e and 3.1g lock up with my scene file ... ?!
Date: 7 Aug 1999 04:12:28
Message: <37ABEA05.68E9E27F@pacbell.net>
Dennis Clarke wrote:
> 
> Ken wrote:
> > Email it to me and I will try it on the v3.1g windows platform for you.
> >
> > --
> > Ken Tyler

> OK ... good luck and here it is ...

  Ok !... It took me a while but I think I have isolated the problem you
are having to one component in your blob construct. If you remove or
reduce the amount of reflection you have specified the render time goes
back down to an acceptable level. I believe you are simply experiencing
internal reflections which causes the program to send out a lot more
rays to calculate the object. By removing the reflection component it
only has to work on the transparent surfaces and the specular and phong
highlights you have specified.
 It's up to you if you want to live with these long render times but
personally I would either seriously reduce the reflection to something
like 0.05 or less or eliminate it completely. Any other changes I attempted
had little or no effect on the render time but turning off the reflection
was immediately noticeable. I also noticed little difference as to image
quality with it tuned off.

P.S. I never really hit a point where my system was "locked up". It simply
started taking a long time to render once I got to the second frame of the
animation. As the second frame progressed I could watch the pps counter
drop at a visible rate so eventually it might have appeared to have locked
up but of course it really was working only in slow motion.

I have a pentium 200 running win 98 with 128 megs of ram.

-- 
Ken Tyler

Older   Links Page: http://home.pacbell.net/tylereng/links.htm
Updated Links Page: http://home.pacbell.net/tylereng/bkmrk999.htm


Post a reply to this message

From: Dennis Clarke
Subject: Re: Pov-Ray 3.1e and 3.1g lock up with my scene file ... ?!
Date: 7 Aug 1999 15:58:43
Message: <37AC8FE7.48E0C2FD@interlog.com>
Ken wrote:
> 
> Dennis Clarke wrote:
> >
> > Ken wrote:
> > > Email it to me and I will try it on the v3.1g windows platform for you.
> > >
> > > --
> > > Ken Tyler
> 
> > OK ... good luck and here it is ...
> 
>   Ok !... It took me a while but I think I have isolated the problem you
> are having to one component in your blob construct. If you remove or
> reduce the amount of reflection you have specified the render time goes

There must be a big difference between your Win98 version of POVRay and my unix
build because even after I commented out the reflections in the blob components
I still had a system that looks like its locked up.  ITs not locked up, it just
isnt doing anything meaningful.  Here is a truss of the process running, if you
can call it that :

$ ps -ef | grep povray
 dclarke  3144  2492 99 15:43:15 pts/7    6:34 /usr/local/povray31/x-povray
+I./cmyrgb.pov +O../../output/cmy_.tga +W320 +H240
 dclarke  3181  3129  0 15:50:13 pts/6    0:00 grep povray
$ truss -t!ioctl,time -p 3144
    Received signal #20, SIGWINCH [default]
    Received signal #15, SIGTERM [caught]
      siginfo: SIGTERM pid=3186 uid=1001
sigaction(SIGTERM, 0xFFBD4DD0, 0xFFBD4E50)      = 0
sigaction(SIGINT, 0xFFBD4DD0, 0xFFBD4E50)       = 0
sigaction(SIGPIPE, 0xFFBD4DD0, 0xFFBD4E50)      = 0
sigaction(SIGFPE, 0xFFBD4DD0, 0xFFBD4E50)       = 0
write(2, "\n G o t   1   S I G T E".., 15)      = 15
setcontext(0xFFBD5030)
    Received signal #15, SIGTERM [caught]
      siginfo: SIGTERM pid=3186 uid=1001
sigaction(SIGTERM, 0xFFBD9EA0, 0xFFBD9F20)      = 0
sigaction(SIGINT, 0xFFBD9EA0, 0xFFBD9F20)       = 0
sigaction(SIGPIPE, 0xFFBD9EA0, 0xFFBD9F20)      = 0
sigaction(SIGFPE, 0xFFBD9EA0, 0xFFBD9F20)       = 0
write(2, "\n G o t   2   S I G T E".., 15)      = 15
setcontext(0xFFBDA100)
    Received signal #15, SIGTERM [caught]
      siginfo: SIGTERM pid=3196 uid=0
sigaction(SIGTERM, 0xFFBD8768, 0xFFBD87E8)      = 0
sigaction(SIGINT, 0xFFBD8768, 0xFFBD87E8)       = 0
sigaction(SIGPIPE, 0xFFBD8768, 0xFFBD87E8)      = 0
sigaction(SIGFPE, 0xFFBD8768, 0xFFBD87E8)       = 0
write(2, "\n G o t   3   S I G T E".., 15)      = 15
setcontext(0xFFBD89C8)

        *** process killed ***

    which is to say that I needed to su root to kill the process.  Other than a
lot of calls to time() and ioctl() there is really only the occasional write()
to the terminal.  Once my render hits line 111 of 240, everything just stops.

Dennis Clarke

ps: How did I build this 3.1e version? see
http://www.interlog.com/~dclarke/povray/povray.html


Post a reply to this message


Attachments:
Download 'smime.p7s.dat' (3 KB)

From: Dennis Clarke
Subject: Pov-Ray 3.1e not locked. Just dead slow.
Date: 7 Aug 1999 16:40:47
Message: <37AC99C0.89DD72B9@interlog.com>
I had a blob with six spheres that looked like so : 

#declare blobber = blob {
                             threshold 0.65
                             sphere { < ( -1.0 * sock ) , 0.0, 0.0>, 1.0, 1.0
                                 texture {
                                     // ruby color
                                     pigment { color rgbf <1.0, 0.0, 0.0, 0.9> }
                                         finish {
                                             ambient 0.1
                                             diffuse 0.1
                                             //reflection 0.25
                                             //specular 0.8
                                             roughness 0.0003
                                             //phong 0.8
                                             //phong_size 250
                                         }
                                 }
                             }
                             sphere { < ( 1.0 * sock ) , 0.0, 0.0>, 1.0, 1.0
                                 texture {
                                     pigment { color rgbf <0.0, 1.0, 0.0, 0.9> }
                                         finish {
                                             ambient 0.1
                                             diffuse 0.1
                                             //reflection 0.25
                                             //specular 0.8
                                             roughness 0.0003
                                             //phong 0.8
                                             //phong_size 250
                                         }
                                 }
                             }
                             sphere { < 0.0, ( 1.0 * sock ), 0.0 >, 1.0, 1.0
                                 texture {
                                     pigment { color rgbf <0.0, 0.0, 1.0, 0.9> }
                                         finish {
                                             ambient 0.1
                                             diffuse 0.1
                                             //reflection 0.25
                                             //specular 0.8
                                             roughness 0.0003
                                             //phong 0.8
                                             //phong_size 250
                                         }
                                 }
                             }
                             //sphere { < 0.0, ( -1.0 * sock ), 0.0 >, 1.0, 1.0
                             //    texture {
                             //        pigment { color rgbf <1.0, 1.0, 0.0, 0.9>
}
                             //            finish {
                             //                ambient 0.1
                             //                diffuse 0.1
                             //                //reflection 0.25
                             //                //specular 0.8
                             //                roughness 0.0003
                             //                //phong 0.8
                             //                //phong_size 250
                             //            }
                             //    }
                             //}
                             //sphere { < 0.0, 0.0, ( 1.0 * ock ) >, 1.0, 1.0
                             //    texture {
                             //        pigment { color rgbf <1.0, 0.0, 1.0, 0.9>
}
                             //            finish {
                             //                ambient 0.1
                             //                diffuse 0.1
                             //                //reflection 0.25
                             //                //specular 0.8
                             //                roughness 0.0003
                             //                //phong 0.8
                             //                //phong_size 250
                             //            }
                             //    }
                             //}
                             //sphere { < 0.0, 0.0, ( -2.0 * ock ) >, 1.0, 1.0
                             //    texture {
                             //        pigment { color rgbf <0.0, 1.0, 1.0, 0.9>
}
                             //            finish {
                             //                ambient 0.1
                             //                diffuse 0.1
                             //                //reflection 0.25
                             //                //specular 0.8
                             //                roughness 0.0003
                             //                //phong 0.8
                             //                //phong_size 250
                             //            }
                             //    }
                             //}

                             interior{ ior 1.5
                                     }
                        }

and you will note that three of the spheres are commented out so that I could
test for a bug.  I didn't find a bug but what I did find was that the following
command :

truss -t!ioctl,time -o truss_blob.out /usr/local/povray31/x-povray
+I./cmyrgb.pov +O../../output/cmy_.tga +W320 +H240 +FT +A0.3 +AM2 +R3 -J +Q9 +V
+GA +X +B2048 +D +P +SP1 +EP1 +SF9 +EF12 +KC +KFI0 +KFF64

would render frame 9 in 22 seconds ...

Displaying...
Using 24 bit TrueColor visual...
 00:00:00 so far, Rendering frame 9, going to 12.
  0:00:22 Rendering line  240 of  240 supersampled 0 times.        
Click on window to exit...
Done Tracing
./cmyrgb.pov Statistics, Resolution 320 x 240
----------------------------------------------------------------------------
Pixels:           76800   Samples:          103875   Smpls/Pxl: 1.35
Rays:            161551   Saved:                 0   Max Level: 5/32
----------------------------------------------------------------------------
Ray->Shape Intersection          Tests       Succeeded  Percentage
----------------------------------------------------------------------------
Blob                            311859          111165     35.65
Blob Component                  371105          345693     93.15
Blob Bound                      935577          371105     39.67
----------------------------------------------------------------------------
Roots tested:               260926   eliminated:              181088
Calls to Noise:             844023   Calls to DNoise:         856900
----------------------------------------------------------------------------
Shadow Ray Tests:           150308   Succeeded:                53792
Refracted Rays:              57676
----------------------------------------------------------------------------
Smallest Alloc:                 12 bytes   Largest:          2097160
Peak memory used:          2303846 bytes
----------------------------------------------------------------------------
Time For Trace/Frame:    0 hours  0 minutes  22.0 seconds (22 seconds)
Time For Trace Total:    0 hours  0 minutes  22.0 seconds (22 seconds)
          Total Time:    0 hours  0 minutes  22.0 seconds (22 seconds)


Parsing.......No pigment type given.


Scene contains 1 frame level objects; 0 infinite.

Displaying...
 00:00:22 so far, Rendering frame 10, going to 12.
  0:05:32 Rendering line  240 of  240 supersampled 0 times.        
Click on window to exit...$


BUT FRAME 10 was over 5 minutes! Why?  Because the blob components entered each
others field area at frame 10 but not in frame 9.  In frame 9 they were just
spheres but in frame 10 we get a bit of pinching as the components begin to
merge.  If the reflection, specular and phong lines are left in the scene file
then the whole process is much like a rocket sled hitting a wall of jello.  Even
after 10 hours the computer has not rendered a single line.

What the heck goes on here?  IT must be because the individual components all
have different colors.  If I change the blob to the following : 

#declare blobber = blob {
                             threshold 0.65
                             sphere { < ( -1.0 * sock ) , 0.0, 0.0>, 1.0, 1.0
                                 //texture {
                                 //    pigment { color rgbf <1.0, 0.0, 0.0, 0.9>
}
                                 //        finish {
                                 //            ambient 0.1
                                 //            diffuse 0.1
                                 //            //reflection 0.25
                                 //            //specular 0.8
                                 //            roughness 0.0003
                                 //            //phong 0.8
                                 //            //phong_size 250
                                 //        }
                                // }
                             }
                             sphere { < ( 1.0 * sock ) , 0.0, 0.0>, 1.0, 1.0
                                 //texture {
                                 //    pigment { color rgbf <0.0, 1.0, 0.0, 0.9>
}
                                 //        finish {
                                 //            ambient 0.1
                                //             diffuse 0.1
                                //             //reflection 0.25
                                //             //specular 0.8
                                //             roughness 0.0003
                                //             //phong 0.8
                                //             //phong_size 250
                                //         }
                                // }
                             }
                             sphere { < 0.0, ( 1.0 * sock ), 0.0 >, 1.0, 1.0
                                 //texture {
                                 //    pigment { color rgbf <0.0, 0.0, 1.0, 0.9>
}
                                 //        finish {
                                 //            ambient 0.1
                                 //            diffuse 0.1
                                 //            //reflection 0.25
                                 //            //specular 0.8
                                 //            roughness 0.0003
                                 //            //phong 0.8
                                 //            //phong_size 250
                                 //        }
                                // }
                             }
                             //sphere { < 0.0, ( -1.0 * sock ), 0.0 >, 1.0, 1.0
                             //    texture {
                             //        pigment { color rgbf <1.0, 1.0, 0.0, 0.9>
}
                             //            finish {
                             //                ambient 0.1
                             //                diffuse 0.1
                             //                //reflection 0.25
                             //                //specular 0.8
                             //                roughness 0.0003
                             //                //phong 0.8
                             //                //phong_size 250
                             //            }
                             //    }
                             //}
                             //sphere { < 0.0, 0.0, ( 1.0 * ock ) >, 1.0, 1.0
                             //    texture {
                             //        pigment { color rgbf <1.0, 0.0, 1.0, 0.9>
}
                             //            finish {
                             //                ambient 0.1
                             //                diffuse 0.1
                             //                //reflection 0.25
                             //                //specular 0.8
                             //                roughness 0.0003
                             //                //phong 0.8
                             //                //phong_size 250
                             //            }
                             //    }
                             //}
                             //sphere { < 0.0, 0.0, ( -2.0 * ock ) >, 1.0, 1.0
                             //    texture {
                             //        pigment { color rgbf <0.0, 1.0, 1.0, 0.9>
}
                             //            finish {
                             //                ambient 0.1
                             //                diffuse 0.1
                             //                //reflection 0.25
                             //                //specular 0.8
                             //                roughness 0.0003
                             //                //phong 0.8
                             //                //phong_size 250
                             //            }
                             //    }
                             //}

                                 texture {
                                     pigment { color rgbf <1.0, 1.0, 1.0, 0.9> }
                                         finish {
                                             ambient 0.1
                                             diffuse 0.1
                                             //reflection 0.25
                                             //specular 0.8
                                             roughness 0.0003
                                             //phong 0.8
                                             //phong_size 250
                                         }
                                 }

                             interior{ ior 1.5
                                     }
                        }

Then frame 10 renders ...

Displaying...
Using 24 bit TrueColor visual...
 00:00:00 so far, Rendering frame 10, going to 10.
  0:01:04 Rendering line  240 of  240 supersampled 0 times.        
Click on window to exit...
Done Tracing
./cmyrgb.pov Statistics, Resolution 320 x 240
----------------------------------------------------------------------------
Pixels:           76800   Samples:          132461   Smpls/Pxl: 1.72
Rays:            451288   Saved:                 0   Max Level: 32/32
----------------------------------------------------------------------------
Ray->Shape Intersection          Tests       Succeeded  Percentage
----------------------------------------------------------------------------
Blob                           1329580          714404     53.73
Blob Component                 2069305         1787820     86.40
Blob Bound                     3988740         2069305     51.88
----------------------------------------------------------------------------
Roots tested:              1279187   eliminated:              977700
Calls to Noise:            1006629   Calls to DNoise:        1052992
----------------------------------------------------------------------------
Shadow Ray Tests:           880070   Succeeded:               395577
Reflected Rays:             194999   Total Internal:          194999
Refracted Rays:             123828
----------------------------------------------------------------------------
Smallest Alloc:                 12 bytes   Largest:          2097160
Peak memory used:          2310466 bytes
----------------------------------------------------------------------------
Time For Trace/Frame:    0 hours  1 minutes   4.0 seconds (64 seconds)
Time For Trace Total:    0 hours  1 minutes   4.0 seconds (64 seconds)
          Total Time:    0 hours  1 minutes   4.0 seconds (64 seconds)


SO unless I have a mainframe or a Sun E10000 with 64 processors, don't bother
rendering a 64 frame animation with multicolor blob elements.  

Dennis Clarke


Post a reply to this message

From: TigerHawk
Subject: Re: Pov-Ray 3.1g (compiled from source) outputting odd...
Date: 8 Aug 1999 00:53:38
Message: <37AE6084.C3062BF9@sitc.net>
Well, I tried what you said and it worked like a charm. Thanks for the
help....I wish Pov-Ray compile docs were a bit more helpful in that matter
(though, I guess they really don't have to be wish so few people compiling it
themselves).

Good luck, and happy tracing!

Tim Soderstrom
TigerHawk

cab5 wrote:

> It could be two things that I know of.  First the simple thing.  Make
> sure you built the xwindows binary, not just the unix binary (which
> doesn't know about X, so it tries to output an ascii approximation of
> the image to the console or the xterm you called it from.)
>
> I found I still had this problem, even with the X windows compile.  The
> problem only happened when I did a "make newunix" followed by a "make
> xwin".  In theory, this shouldn't be a problem but... try doing a "make
> clean ; make newxwin" and see if the x-povray binary works properly for
> you.  I wonder if this qualifies as a bug in the makefile?
>


Post a reply to this message

<<< Previous 2 Messages Goto Initial 10 Messages

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