POV-Ray : Newsgroups : povray.advanced-users : Photons and Media Creation / Reaction : Re: Photons and Media Creation / Reaction Server Time
29 Jul 2024 06:22:29 EDT (-0400)
  Re: Photons and Media Creation / Reaction  
From: gregmcd
Date: 14 Nov 2002 15:44:50
Message: <3dd40b42@news.povray.org>
Hey Tom -

Thanks for the note and suggestion. Your suggestion shows how it works and I
get it, the problem I'm having is doing it in Moray.

When I look on the Media tab on the Scene Setting configuration screen, it
says that Named Media Must be created in the texture editor and given a
name. They will then appear here. There is empty list box next to this
statement. My problem is I'm not sure how to create this Name Media texture
in the editor so it will appear in this list box. I've created standard
textures using the media statement but it never appears in this box nor does
it seem to work. Any ideas on this?

Greg

"Tom Melly" <tom### [at] tomandlucouk> wrote in message
news:3dd3d1b7@news.povray.org...
> "GMC" <gmc### [at] speakeasynet> wrote in message
news:3dd341e3@news.povray.org...
>
> <snip>
>
> Here's the simplest scene I could come up with that uses both media and
photons,
> but you're right - a good tutorial would be an asset.
>
> #version 3.5;
>
> #include "colors.inc"
> #include "textures.inc"
>
> global_settings {
>   assumed_gamma 1.0
>   photons {
>     spacing 0.01 // larger = worse
>   }
> }
>
> camera {
>   location  <0.0, 10, -20.0>
>   look_at   <0.0, 0,  0.0>
> }
>
> light_source {
>   0*x
>   color rgb <1,1,1>
>   spotlight
>   translate <40, 80,0>
>   point_at <0, 0, 0>
>   radius 1
>   falloff 2
> }
>
> media {scattering{1, rgb 0.1} method 3}
>
> plane{y,0 pigment{Gray}} // this object won't affect photons, but will
show them
>
> cylinder{<2,5,0>,<2.1,5,0>,1
>   texture{pigment{White} finish{Mirror}}
>   photons{ // this object will affect photons
>     target
>     refraction on
>     reflection on
>   }
> }
>
>
>


Post a reply to this message

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