POV-Ray : Newsgroups : povray.general : Scene file compatibility issue : Scene file compatibility issue Server Time
1 Aug 2024 12:24:00 EDT (-0400)
  Scene file compatibility issue  
From: 1Daedalus
Date: 27 Sep 2005 15:20:01
Message: <web.43399b04344cec4b40d52b80@news.povray.org>
I recently rendered some old scene files that created years ago using PovRAY
v1.0 and noticed some odd differences in the way light and objects
interact.

the difference.

Does anyone know what change in newer versions of PovRAY cause the objects
to be completely opaque and what I would need to change to make them only



The version 3.6 command-line used to render the scene was:

povray +MV1.0 +w320 +h200 -d -x -v -p +ft +A0.3 +ilit01.pov +olit01.tga

The scene file is:

// ---------------------------------------------------
// Scene File: lit01.pov
//

#include "colors.inc"
#include "textures.inc"

camera
{
  location  <0 1 -3>
  direction <0 0 1.5>
  up        <0 1 0>
  right     <1.33 0 0>
  look_at   <0 1 2>
  rotate    <1.25 0 0>
  rotate    <0 15.5 0>
}

// ++++++ a backdrop wall
object
{
  plane { <0 0 1> 7}
  texture { color Gray }
}

// ++++++ a neutral but patterened floor for reference
object
{
  plane { <0 1 0> 0 }
  texture
  {
    checker
      color White
      color Gray
  }
}

// ++++++ a light in a box shining through a slot
composite
{
  object
  {
    difference
    {
      box{ <-.125 -.125 -.125> <.125 .125 .125> }
      box{ <-.015 -.120 -.120> <.015 .120 .130> }
    }
    texture
    {
      color blue .45 red .35 green 1
    }
  }
  object {light_source { <0 0 -.100> color green 1} }
  translate <0 .125 .125>
}

composite
{
  object
  {
    difference
    {
       difference
       {
         box{ <-.125 -.125 -.125> <.125 .125 .125> }
         box{ <-.120 -.120 -.120> <.120 .120 .120> }
       }
       box{ <-.015 -.120  .115> <.015 .120 .130> }
    }
    texture
    {
      color blue .35 red 1 green .45
    }
  }
  object {light_source { <0 0 -.100> color red 1} }
  translate <.5 .125 .125>
}

composite
{
  object
  {
    difference
    {
      box{ <-.125 -.125 -.125> <.125 .125 .125> }
      box{ <-.015 -.120 -.120> <.015 .120 .130> }
    }
    texture
    {
      color blue 1 red .35 green .45
    }
  }
  object {light_source { <0 0 -.100> color blue 1} }
  translate <-0.5 .125 .125>
}

// ++++++ some ambient over all light
object {light_source {<2 4 -3> color Gray70}}

// ---------------------------------------------------


--- 1Daedalus


Post a reply to this message

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