POV-Ray : Newsgroups : povray.beta-test : Rendering include files? : Re: Rendering include files? Server Time
30 Jul 2024 20:21:16 EDT (-0400)
  Re: Rendering include files?  
From: Francois Labreque
Date: 2 Oct 2001 08:50:58
Message: <3BB9B7FC.4030800@videotron.ca>
Warp wrote:

> Francois Labreque <fla### [at] videotronca> wrote:
> : When playing around a scene, by mistake I hit the "run" button while an 
> : include file was active.  Instead of issuing the usual error message 
> : "Scene does not contain any object or glows!", it only issued a warning 
> : and rendered it!!!!
> 
>   The malfunction being?
> 


Going to the trouble of shooting 480800 rays and outputing a black 
800x600 image when it already knows this is not a scene.   I can 
understand parsing the file as it might have side effects such as 
producing output for animations or something of the sort, but previous 
versions did not go through the actual process of rendering an empty scene.

Compare the output of trying to render "glass.inc" from the include 
directory:

POV 3.5 Beta4:
----------------------------------------------------------------------------
Warning: No objects in scene.

Scene contains 0 frame level objects; 0 infinite.

Statistics for C:\Program Files\POV-Ray for Windows 
v3.5\include\glass.inc, Resolution 800 x 600
----------------------------------------------------------------------------
Pixels:          480800   Samples:          480800   Smpls/Pxl: 1.00
Rays:            480800   Saved:                 0   Max Level: 1/5
----------------------------------------------------------------------------
Ray->Shape Intersection          Tests       Succeeded  Percentage
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Calls to Noise:                  0   Calls to DNoise:             10
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Smallest Alloc:                 25 bytes   Largest:            16044
Peak memory used:            94683 bytes
----------------------------------------------------------------------------
Time For Trace:    0 hours  0 minutes   2.0 seconds (2 seconds)
     Total Time:    0 hours  0 minutes   2.0 seconds (2 seconds)

POV-Ray finished
----------------------------------------------------------------------------


POV 3.1:
----------------------------------------------------------------------------
#version Glass_Inc_Temp;
#end

  <----ERROR

C:\Program Files\POV-Ray for Windows v3.1\include\glass.inc:159: error: 
No objects in scene.

Returned from renderer (non-zero return value)
----------------------------------------------------------------------------



MegaPOV 0.7:
----------------------------------------------------------------------------
#version Glass_Inc_Temp;
#end


  <----ERROR

C:\Program Files\POV-Ray for Windows v3.1\include\glass.inc:159: error: 
No objects or glows in scene.

Returned from renderer (non-zero return value)
----------------------------------------------------------------------------

-- 
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/*    flabreque    */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/*        @        */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/*   videotron.ca  */}camera{location<6,1.25,-6>look_at a orthographic}


Post a reply to this message

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