POV-Ray : Newsgroups : povray.unofficial.patches : Still superpatch reflection problem? Server Time
2 Nov 2024 17:18:04 EDT (-0400)
  Still superpatch reflection problem? (Message 1 to 3 of 3)  
From: Hans-Detlev Fink
Subject: Still superpatch reflection problem?
Date: 25 Jun 1999 05:21:23
Message: <377349BA.8F41A263@pecos.no.spam.de>
Hi superpatchers,

the following code (a simple sky sphere, 2 lights and some water)
sends the latest superpatch (here on Solaris 7, linux not yet
tested) into an endless loop. If I remove the reflection statement
right at the end of the code all is ok.

Any ideas?

-Hans-

Scene follows:

#include "colors.inc"

#declare camera_location = <26, 4.3, -80>;
#declare camera_look_at  = <17, 0, 0>;
#declare camera_angle    = 120;


/*******************************
 * THE CAMERA
 *******************************/
camera{
  location camera_location
  look_at camera_look_at
  angle camera_angle
}


/*******************************
 * THE SKY
 *******************************/
#declare SkyBlue = rgb <0.15, 0.4, 0.7>;
#declare P_Clouds =
pigment {
  wrinkles
  turbulence 0.1
  lambda 2.2
  omega 0.707
  color_map {
    [0.60 SkyBlue ]
    [0.80 White ]
    [1.00 Gray90 ]
  }
  scale <0.5, 0.15, 1>
  rotate  z*180
}
sky_sphere {
  pigment {
    gradient y
    pigment_map {
      [0.00 rgb <0.847, 0.749, 0.847> ] // horizon
      [0.05 SkyBlue ]                   // horizon
      [1.00 SkyBlue ]
    }
  }
}


/*******************************
 * THE LIGHTS
 *******************************/

light_source { <450, 350, -200> colour rgb 3.4*<1.0, 1.0, 1.0> }
light_source { <-1300, 100, 300> colour rgb 0.7*<1.0, 1.0, 1.0> }


/*******************************
 * THE WATER
 *******************************/

plane { y, 0.0
  texture {
    pigment { color rgbt <0.0, 0.1, 0.1, 0.5> }
    finish {
      ambient 0.15
      brilliance 5
      diffuse 0.6
      metallic
      specular 0.80
      roughness 1/100
      reflection 1.0 // <--- this one is the guilty
    }
    rotate y*90
  }
}


Post a reply to this message

From: Ron Parker
Subject: Re: Still superpatch reflection problem?
Date: 26 Jun 1999 21:19:27
Message: <37767c57.755481986@news.povray.org>
On Fri, 25 Jun 1999 11:19:54 +0200, Hans-Detlev Fink
<hdf### [at] pecosnospamde> wrote:

>Hi superpatchers,
>
>the following code (a simple sky sphere, 2 lights and some water)
>sends the latest superpatch (here on Solaris 7, linux not yet
>tested) into an endless loop. If I remove the reflection statement
>right at the end of the code all is ok.
>
>Any ideas?

It doesn't break on my Windows build at work.  I'll have to see what
it does on Linux, but my debugging skills are not so hot there so it
might take a while.  If someone felt so inclined, they could
investigate this... :)


Post a reply to this message

From: Hans-Detlev Fink
Subject: Re: Still superpatch reflection problem?
Date: 28 Jun 1999 04:24:06
Message: <377730CD.3934D0B9@pecos.no.spam.de>
I could reproduce it on linux, too. It happens with the
latest superpatch as well as with my upgrade to 3.1g.
Sorry, I had not enough time to go more into details as I'm
presently in a similar situation like you ;-)
I'm not too familiar with the reflection code.

-Hans-

Ron Parker wrote:
> 
> On Fri, 25 Jun 1999 11:19:54 +0200, Hans-Detlev Fink
> <hdf### [at] pecosnospamde> wrote:
> 
> >Hi superpatchers,
> >
> >the following code (a simple sky sphere, 2 lights and some water)
> >sends the latest superpatch (here on Solaris 7, linux not yet
> >tested) into an endless loop. If I remove the reflection statement
> >right at the end of the code all is ok.
> >
> >Any ideas?
> 
> It doesn't break on my Windows build at work.  I'll have to see what
> it does on Linux, but my debugging skills are not so hot there so it
> might take a while.  If someone felt so inclined, they could
> investigate this... :)


Post a reply to this message

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