POV-Ray : Newsgroups : povray.newusers : Atmospheric tricks Server Time
29 Nov 2024 10:31:08 EST (-0500)
  Atmospheric tricks (Message 1 to 2 of 2)  
From: Fred Jansohn
Subject: Atmospheric tricks
Date: 13 Nov 1998 13:45:20
Message: <364C7B88.C912BD7D@citynet.net>
Can someone tell me if it's possible to do this:

To create a sphere with a mottled complexion with an internal light
source that will shine through the surface in such a way that it will
effect the atmosphere on the outside of the sphere.  I would like for
the atmosphere (somthing like fog) to be varied by the ammount of light
that is alowed to pass throught the surface of the sphere. An example
that I've seen correlates with this is a tree standing on a hill with a
light source in the background projecting the tree's shadow through the
fog.

I can make the sphere, give it a texture and have the light source
visible from inside showing the texture.  What I can't do is create an
atmosphere that seems "effectable".  I have been playing with media and
I'm thinking that my sphere has to be hollow.  I don't necessarily want
someone to write this for me but if you could tell me the elements
envolved (like media and hollow) and a few tips I would appreciate it.

Yes this is my first scene attempt after the tutorial.  Yes, I bit off
more than I can chew (well). Yes, I'm learning a lot!  No, I couldn't
help myself--you know how it is, one thing leads to another....

Thanks in advance, Fred
fjj### [at] hotmailcom


Post a reply to this message

From: Margus Ramst
Subject: Re: Atmospheric tricks
Date: 13 Nov 1998 20:35:35
Message: <364CDEA0.1F884007@peak.edu.ee>
For light beams to show up, your atmosphere has to be of the "scattering" type.
Sth. like this:
media {scattering {1, <1,1,1>}}
Your sphere doesn't have to be hollow (as long as the camera is not inside it).
The difference: there can be no media inside a non-hollow object, so fog doesn't
show inside the sphere.

I hope this helps
Margus


Post a reply to this message

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