POV-Ray : Newsgroups : povray.newusers : photons - I can't reproduce demo pictures from povray.org's documentation Server Time
5 Nov 2024 05:24:32 EST (-0500)
  photons - I can't reproduce demo pictures from povray.org's documentation (Message 1 to 4 of 4)  
From: Christian Parpart
Subject: photons - I can't reproduce demo pictures from povray.org's documentation
Date: 31 Jul 2002 20:59:50
Message: <3d488805@news.povray.org>
Hi all,

I can't reproduce the demo images shown in the official povray documentation 
showing the use of photons.

image:
http://www.povray.org/documentation/images/photons2.png

documentation url:
http://www.povray.org/documentation/view/208/

I really tried most everything I know...

Please can some one give me a tiny example of how to use it right?
I created a lense using two spheres to be intersected with a pigment color 
white and filter of 0.9. I also switched on photons in my light source and 
in the global_section. What did I miss? I do not get the sme results as the 
picgure (photons2.png) shows.

Many thanks,
Christian.


Post a reply to this message

From: Peter Popov
Subject: Re: photons - I can't reproduce demo pictures from povray.org's documentation
Date: 1 Aug 2002 08:45:31
Message: <r8bikuknrclrbaksof591vu68jtkenh579@4ax.com>
On Thu, 01 Aug 2002 02:59:49 +0200, Christian Parpart
<cpa### [at] surakwarenet> wrote:

>I created a lense using two spheres to be intersected with a pigment color 
>white and filter of 0.9. I also switched on photons in my light source and 
>in the global_section. What did I miss? I do not get the sme results as the 
>picgure (photons2.png) shows.

Did you put a photons block on your lens object? Something like:

object {
  Lens
  material { Lens_material }
  photons { target on refraction on }
}

check the manual for the object photon block.


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Christian Parpart
Subject: Re: photons - I can't reproduce demo pictures from povray.org's documentation
Date: 1 Aug 2002 09:40:50
Message: <3d493a61@news.povray.org>
Peter Popov inspired the electrons to say:
> On Thu, 01 Aug 2002 02:59:49 +0200, Christian Parpart
> <cpa### [at] surakwarenet> wrote:
> 
>>I created a lense using two spheres to be intersected with a pigment color
>>white and filter of 0.9. I also switched on photons in my light source and
>>in the global_section. What did I miss? I do not get the sme results as
>>the picgure (photons2.png) shows.
> 
> Did you put a photons block on your lens object? Something like:
> 
> object {
>   Lens
>   material { Lens_material }
>   photons { target on refraction on }
> }

Well, okay, yes, I did my object give the photons section as you did too. 
But it may be the the Lense declaration may be wrong.. and, btw, I don't 
have a material used in this way you did. Is my wrong?

Hm... my source url is
http://cparpart.surakware.net/public/lense.pov

The result url is as follows:
http://cparpart.surakware.net/public/lense.png (original)
http://cparpart.surakware.net/public/lense.jpg (converted)

I'd be happy if there's anything wrong that you can find ;-)

Thanks in advance,
Christian Parpart.


Post a reply to this message

From: Marc-Hendrik Bremer
Subject: Re: photons - I can't reproduce demo pictures from povray.org's documentation
Date: 1 Aug 2002 13:41:28
Message: <3d4972c8@news.povray.org>
"Christian Parpart" <cpa### [at] surakwarenet> schrieb im Newsbeitrag
news:3d493a61@news.povray.org...

> Well, okay, yes, I did my object give the photons section as you did too.
> But it may be the the Lense declaration may be wrong.. and, btw, I don't
> have a material used in this way you did. Is my wrong?

You don't have to use the "material"-keyword, but your lens need some
interior. Define some ior- and maybe dispersion-value. F.e.

object {
  Lense
  interior {ior 1.2 dispersion 1.05} // ADD THIS LINE
  photons { target reflection on refraction on }
}

will burn some hole in your floor :-)

Regards,

Marc-Hendrik


Post a reply to this message

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