POV-Ray : Newsgroups : povray.beta-test.binaries : Light_sources in light_groups don't cast shadows. Server Time
31 Oct 2024 19:51:04 EDT (-0400)
  Light_sources in light_groups don't cast shadows. (Message 1 to 8 of 8)  
From: JRG
Subject: Light_sources in light_groups don't cast shadows.
Date: 24 Nov 2001 08:43:41
Message: <3bffa40d@news.povray.org>
Read the same thread in beta.test for explanation.
This is the scene:
camera
{
  location  <0, 2, -4>
  look_at   <0, 0, 0>
}

light_group {
 light_source
 {
  <0, 5, -3>
  rgb 1
 }

 text {ttf "times.ttf" "TEXT" 1,0 pigment {rgb 1} translate <-1,1,-2>}
 torus {1.75,0.25 pigment {rgb 1}}
}

The first image shows the bug. The second one shows how it should look (I
commented out the light_group).


--
Jonathan.


Post a reply to this message


Attachments:
Download 'light1.png' (16 KB) Download 'light2.png' (13 KB)

Preview of image 'light1.png'
light1.png

Preview of image 'light2.png'
light2.png


 

From: Bob H 
Subject: Re: Light_sources in light_groups don't cast shadows.
Date: 24 Nov 2001 09:02:55
Message: <3bffa88f$1@news.povray.org>
Interesting because I see the shadowed result here (2nd image) without
changing the scene.  (v3.5b7 on P3 WinXP)

"JRG" <jrg### [at] hotmailcom> wrote in message
news:3bffa40d@news.povray.org...
> Read the same thread in beta.test for explanation.
>
> The first image shows the bug. The second one shows how it should look (I
> commented out the light_group).


Post a reply to this message

From: JRG
Subject: Re: Light_sources in light_groups don't cast shadows.
Date: 24 Nov 2001 09:04:21
Message: <3bffa8e5@news.povray.org>
Maybe it's due to the OS?

"Bob H." <omn### [at] msncom> ha scritto nel messaggio
news:3bffa88f$1@news.povray.org...
> Interesting because I see the shadowed result here (2nd image) without
> changing the scene.  (v3.5b7 on P3 WinXP)
>
> "JRG" <jrg### [at] hotmailcom> wrote in message
> news:3bffa40d@news.povray.org...
> > Read the same thread in beta.test for explanation.
> >
> > The first image shows the bug. The second one shows how it should look
(I
> > commented out the light_group).
>
>
>


Post a reply to this message

From: JRG
Subject: Re: Light_sources in light_groups don't cast shadows.
Date: 24 Nov 2001 09:06:24
Message: <3bffa960@news.povray.org>
Or are you using any particular ini option?
Perhaps posting your ini settings might be interesting.

"Bob H." <omn### [at] msncom> ha scritto nel messaggio
news:3bffa88f$1@news.povray.org...
> Interesting because I see the shadowed result here (2nd image) without
> changing the scene.  (v3.5b7 on P3 WinXP)
>
> "JRG" <jrg### [at] hotmailcom> wrote in message
> news:3bffa40d@news.povray.org...
> > Read the same thread in beta.test for explanation.
> >
> > The first image shows the bug. The second one shows how it should look
(I
> > commented out the light_group).
>
>
>


Post a reply to this message

From: JRG
Subject: Re: Light_sources in light_groups don't cast shadows.
Date: 24 Nov 2001 09:08:39
Message: <3bffa9e7@news.povray.org>
I got it. -UL makes it work correctly. A bug indeed.

"Bob H." <omn### [at] msncom> ha scritto nel messaggio
news:3bffa88f$1@news.povray.org...
> Interesting because I see the shadowed result here (2nd image) without
> changing the scene.  (v3.5b7 on P3 WinXP)
>
> "JRG" <jrg### [at] hotmailcom> wrote in message
> news:3bffa40d@news.povray.org...
> > Read the same thread in beta.test for explanation.
> >
> > The first image shows the bug. The second one shows how it should look
(I
> > commented out the light_group).
>
>
>


Post a reply to this message

From: Bob H 
Subject: Re: Light_sources in light_groups don't cast shadows.
Date: 24 Nov 2001 09:11:57
Message: <3bffaaad@news.povray.org>
"JRG" <jrg### [at] hotmailcom> wrote in message
news:3bffa960@news.povray.org...
> Or are you using any particular ini option?
> Perhaps posting your ini settings might be interesting.

No.  Just:

; Width of image in pixels.  Accepts integer values.
;
Width = 320
;
; Height of image in pixels.  Accepts integer values.
;
Height = 240
;
; File format to write render image to.
;
Output_File_Type=N
;
; File Output Buffer (amount to write to memory before writing to disk)
;
Buffer_Output=On
Buffer_Size=4096
;
; Sets minimum number of objects before auto bounding kicks in.
;
Bounding_Threshold = 6
;
; Turn display on
Display=On
Display_Gamma=2.3
;
; Turn verbose mode on
Verbose=On

And I tried bmp, tga, and png file outputs too, all same.  Didn't expect any
difference really.

bob h


Post a reply to this message

From: Mark Wagner
Subject: Re: Light_sources in light_groups don't cast shadows.
Date: 25 Nov 2001 00:51:11
Message: <3c0086cf@news.povray.org>
Bob H. wrote in message <3bffaaad@news.povray.org>...

>; Sets minimum number of objects before auto bounding kicks in.
>;
>Bounding_Threshold = 6


Try changing this to 0.  You've only got two objects in the scene, so
bounding boxes are not used.  It might be a problem with the bounding box
code.  Use (or non-use) of bounding boxes has been a cause of apparently
platform-dependent behavior before.

--
Mark


Post a reply to this message

From: bob h
Subject: Re: Light_sources in light_groups don't cast shadows.
Date: 25 Nov 2001 02:12:33
Message: <3c0099e1@news.povray.org>
"Mark Wagner" <mar### [at] gtenet> wrote in message
news:3c0086cf@news.povray.org...
> Bob H. wrote in message <3bffaaad@news.povray.org>...
>
> >; Sets minimum number of objects before auto bounding kicks in.
> >;
> >Bounding_Threshold = 6
>
> Try changing this to 0.  You've only got two objects in the scene, so
> bounding boxes are not used.  It might be a problem with the bounding box
> code.  Use (or non-use) of bounding boxes has been a cause of apparently
> platform-dependent behavior before.

That changed it alright, very curious.  So must be the bounding/light
buffer.  Too bad I don't know POV program source code to fix it myself.

I went from 0 up to 6 again and not until 6 did it have a shadow, also was
slower to render of course.  Guess I just happened to have that set to the
magic number for this particular example.  I'm supposing 4 letters plus a
torus counts as five things.

--
text{ttf"arial","bob h",.1,0pigment{rgb 9}translate<-1,-.2,3>}


Post a reply to this message

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