POV-Ray : Newsgroups : povray.unix : includes : Re: includes Server Time
4 May 2024 21:19:38 EDT (-0400)
  Re: includes  
From: eeeeaaii
Date: 28 Feb 2012 18:25:01
Message: <web.4f4d616e73004f72fda0e8490@news.povray.org>
"eeeeaaii" <nomail@nomail> wrote:
> I downloaded the unix version and compiled on my Mac as described here:
>
>
http://news.povray.org/povray.macintosh/thread/%3Cweb.4e4865211f72b142975cc8f30@news.povray.org%3E/
>
> This appears to be fine except all my renders are black, and I don't have any of
> these problems:
>
> http://wiki.povray.org/content/HowTo:Fix_unexpected_image_output
>
> except... maybe the problem is a broken include file?   Apparently the 3.6.1
> distribution has include files from 3.5 in them, and they are broken and don't
> work.  For example stones.inc and stones2.inc give me an error.
>
> What's going on?

In case you don't believe me, here's the scene I'm trying to render:


//#include "colors.inc"
  background { color rgb<.1,.3,.3> }
  camera {
   location <0, 0, 0>
   angle 90
   look_at <0, 0, 1>
  }
  sphere {
    <0, 0, 6>, 2
    texture {
      pigment { color rgb<.1, .1, .2> }
    }
  }
  light_source { <0, 0, 0>, rgb<1.0, 1.0, 1.0>}


there should be absolutely no problems.  camera is correct, looking in positive
z direction.  sphere at z=6, 2 units radius, I should be able to see it.  it's
sort of darkish but it should show up against the background.

light source is at the origin, and it's white light.

The render I get is just the background color -- nothing else renders.

Here is the output:


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 Options
  Input file: wedges.pov (compatible to version 3.61)
  Remove bounds........On
  Split unions.........Off
  Library paths:
    /usr/local/share/povray-3.6
    /usr/local/share/povray-3.6/ini
    /usr/local/share/povray-3.6/include
Output Options
  Image resolution 320 by 240 (rows 1 to 240, columns 1 to 320).
  Output file: /Users/jscherer/Dropbox/rgasharedfiles/art/wedges/wedges.png, 24
 bpp PNG
  Graphic display......On  (gamma: 2.2)
  Mosaic preview.......Off
  CPU usage histogram..Off
  Continued trace......Off
Tracing Options
  Quality:  9
  Bounding boxes.......On   Bounding threshold: 3
  Light Buffer.........On
  Vista Buffer.........On   Draw Vista Buffer....Off
  Antialiasing.........Off
  Clock value:    0.000  (Animation off)

  0:00:00 Parsing
  0:00:00 Creating bounding slabs 0K tokens
Scene Statistics
  Finite objects:            1
  Infinite objects:          0
  Light sources:             1
  Total:                     2

  0:00:00 Displaying
Using 24 bit TrueColor visual
Using default window background
Mapping background image

  0:00:00 Rendering line 1 of 240
  0:00:00 Done Tracing
Render Statistics
Image Resolution 320 x 240
----------------------------------------------------------------------------
Pixels:            76800   Samples:           76800   Smpls/Pxl: 1.00
Rays:              76800   Saved:                 0   Max Level: 1/5
----------------------------------------------------------------------------
Ray->Shape Intersection          Tests       Succeeded  Percentage
----------------------------------------------------------------------------
Sphere                           76800               0      0.00
----------------------------------------------------------------------------
Calls to Noise:                   0   Calls to DNoise:              10
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Smallest Alloc:                   9 bytes
Largest  Alloc:              307208 bytes
Peak memory used:            445762 bytes
Total Scene Processing Times
  Parse Time:    0 hours  0 minutes  0 seconds (0 seconds)
  Photon Time:   0 hours  0 minutes  0 seconds (0 seconds)
  Render Time:   0 hours  0 minutes  0 seconds (0 seconds)
  Total Time:    0 hours  0 minutes  0 seconds (0 seconds)


Post a reply to this message

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