POV-Ray : Newsgroups : povray.text.tutorials : Re: Gas Ball Server Time
24 Nov 2024 01:53:26 EST (-0500)
  Re: Gas Ball (Message 1 to 2 of 2)  
From: Rick
Subject: Re: Gas Ball
Date: 26 Apr 1999 13:01:47
Message: <37248deb.0@news.povray.org>
>Great web pages! Looking at that "Nightwatch" image, that must be one
>showing a sphere containing media. You didn't mention which ones,
>Zargon1.jpg as well. Did you try a zero density well within the unit
>size yet? And doubling up on the zero density in a map. By that I mean
>like this:
>
>               //0 index not needed
>  [0.25 rgb 0] //zero density is far within unit size
>  [0.25 rgb 0] //zero density begins here
>  [0.5 rgb 0.5] //and goes to half density here
>  [1 rgb 1]

     Bob, I have tried this and it got me going in the right direction.
Essentially, this yielded an invisible sphere that emanates light, but
there's no gas ball. I messed some more and finally got this, which seems
to work better than what I was using -- it yields an invisible sphere with
a yellow gas ball and a red ball outside the yellow one:

color_map {
      [0.0 color rgb <1, 0, 0>]  //[0.0 color rgb <1, 0, 0>]
      [0.1 color rgb <40, 0, 0>]  // [0.1 color rgb <100, 0, 0>] // THE 40
IS THE KEY
      [1 color rgb <100, 100, 0>]  //[1.0 color rgb <100, 100, 0>]

     I hope this makes sense -- this stuff is all so new to me that *I*
would have a heck of a time understanding it without POV running at the
same time to try it out.

     Thanks again for the feedback, and the kind words, too.


Post a reply to this message

From: Bob Hughes
Subject: Re: Gas Ball
Date: 26 Apr 1999 22:47:31
Message: <372516FD.4472E225@aol.com>
What type media are you using? emission, absorption, scattering or a
combination of two or three of these?
That's a pretty high density you have there is why I ask. Also, if you
had scaled the media object down you need to raise any or all of those
values too.
Learning by doing is the best way to learn after all. Just need the code
to mess with. That's probably how most people get along with it. Thing
is  once you start adding all the possibilties together and try each and
every one it gets pretty confusing, don't I know it.


Rick, Adams wrote:
> 
> >Great web pages! Looking at that "Nightwatch" image, that must be one
> >showing a sphere containing media. You didn't mention which ones,
> >Zargon1.jpg as well. Did you try a zero density well within the unit
> >size yet? And doubling up on the zero density in a map. By that I mean
> >like this:
> >
> >               //0 index not needed
> >  [0.25 rgb 0] //zero density is far within unit size
> >  [0.25 rgb 0] //zero density begins here
> >  [0.5 rgb 0.5] //and goes to half density here
> >  [1 rgb 1]
> 
>      Bob, I have tried this and it got me going in the right direction.
> Essentially, this yielded an invisible sphere that emanates light, but
> there's no gas ball. I messed some more and finally got this, which seems
> to work better than what I was using -- it yields an invisible sphere with
> a yellow gas ball and a red ball outside the yellow one:
> 
> color_map {
>       [0.0 color rgb <1, 0, 0>]  //[0.0 color rgb <1, 0, 0>]
>       [0.1 color rgb <40, 0, 0>]  // [0.1 color rgb <100, 0, 0>] // THE 40
> IS THE KEY
>       [1 color rgb <100, 100, 0>]  //[1.0 color rgb <100, 100, 0>]
> 
>      I hope this makes sense -- this stuff is all so new to me that *I*
> would have a heck of a time understanding it without POV running at the
> same time to try it out.
> 
>      Thanks again for the feedback, and the kind words, too.

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/homepage.htm
 mailto:inv### [at] aolcom?Subject=PoV-News


Post a reply to this message

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