POV-Ray : Newsgroups : povray.windows : Missing light in interior of box Server Time
24 Nov 2024 15:54:31 EST (-0500)
  Missing light in interior of box (Message 1 to 2 of 2)  
From: Jon S  Berndt
Subject: Missing light in interior of box
Date: 21 Jan 1999 10:23:03
Message: <36a74657.0@news.povray.org>
I have posted an image to the images newsgroup with the subject line: "A
nice ocean view". Someone pointed out to me something I hadn't noticed until
now: The sunlight is casting long shadows of the railings onto the patio
just outside the hallway. The sunlight should be entering the hallway but
does not. The hallway is actually a box in which I have used CSG to remove
sections I didn't want. Then, I put a wall outside of that with an archway
cut into it. The sunlight does not pass through that archway. Here is how I
did my archway:

// create a box that extends between the 2 specified points
difference {
  box
  {
    <-10,  0, 26.0>  // one corner position <X1 Y1 Z1>
    < 10, 3, 26.5>  // other corner position <X2 Y2 Z2>
    texture {Wallpaper}
  }
  box {
    <-3, 0, 25>, <3, 7, 27>
    texture {Wallpaper}
  }
}

difference {
  box
  {
    <-10,  3, 26.0>  // one corner position <X1 Y1 Z1>
    < 10, 20, 26.5>  // other corner position <X2 Y2 Z2>
    texture {Wall_Texture}
  }
  cylinder {
    <0, 7, 25>, <0, 7 27>, 3
    texture {Wall_Texture}
  }
  box {
    <-3, 0, 25>, <3, 7, 27>
    texture {Wall_Texture}
  }
}

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

Can anyone tell me why "sunlight" will not pass through this archway?

Jon Berndt


Post a reply to this message

From: Jon Berndt
Subject: Re: Missing light in interior of box
Date: 21 Jan 1999 11:56:15
Message: <36a75c2f.0@news.povray.org>
I was wrong. It's just that the diffuse lighting setting is 0.55 and the
alignement of the sunlight nearly hid it. The sunlight is getting into the
hallway.

Jon

Jon S. Berndt wrote in message <36a74657.0@news.povray.org>...
>I have posted an image to the images newsgroup with the subject line: "A
>nice ocean view". Someone pointed out to me something I hadn't noticed
until
>now: The sunlight is casting long shadows of the railings onto the patio
>just outside the hallway. The sunlight should be entering the hallway but
>does not. The hallway is actually a box in which I have used CSG to remove
>sections I didn't want. Then, I put a wall outside of that with an archway
>cut into it. The sunlight does not pass through that archway. Here is how I
>did my archway:
>
>// create a box that extends between the 2 specified points
>difference {
>  box
>  {
>    <-10,  0, 26.0>  // one corner position <X1 Y1 Z1>
>    < 10, 3, 26.5>  // other corner position <X2 Y2 Z2>
>    texture {Wallpaper}
>  }
>  box {
>    <-3, 0, 25>, <3, 7, 27>
>    texture {Wallpaper}
>  }
>}
>
>difference {
>  box
>  {
>    <-10,  3, 26.0>  // one corner position <X1 Y1 Z1>
>    < 10, 20, 26.5>  // other corner position <X2 Y2 Z2>
>    texture {Wall_Texture}
>  }
>  cylinder {
>    <0, 7, 25>, <0, 7 27>, 3
>    texture {Wall_Texture}
>  }
>  box {
>    <-3, 0, 25>, <3, 7, 27>
>    texture {Wall_Texture}
>  }
>}
>
>// ----------------------------------------
>
>Can anyone tell me why "sunlight" will not pass through this archway?
>
>Jon Berndt
>
>
>
>
>


Post a reply to this message

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