POV-Ray : Newsgroups : moray.win : Limitation: density_map in the Material editor Server Time
18 Apr 2024 06:46:47 EDT (-0400)
  Limitation: density_map in the Material editor (Message 1 to 7 of 7)  
From: Neil Kolban
Subject: Limitation: density_map in the Material editor
Date: 2 Jan 2005 02:54:07
Message: <41d7a89f$1@news.povray.org>
Folks,
I was unable to find a way to enter simple values in the Material Editor for
density_maps ... see below.  Anyone know how to enter this through the
Material Editor (except as hand coding)?

Neil
media    {      absorption 1      density      {        spherical
density_map        {          [0 rgb 0]          [0.5 rgb 0]          [0.7
rgb .5]          [1 rgb 1]        }      }    }


Post a reply to this message

From: Tim Cook
Subject: Re: Limitation: density_map in the Material editor
Date: 2 Jan 2005 03:08:47
Message: <41d7ac0f$1@news.povray.org>
interior : media : density : colormap noise pattern -> spherical

-- 
Tim Cook
http://home.bellsouth.net/p/PWP-empyrean

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

From: Neil Kolban
Subject: Re: Limitation: density_map in the Material editor
Date: 2 Jan 2005 11:42:45
Message: <41d82485@news.povray.org>
Tim,
Unfortunately, that produces:

 density
            {
               agate
               agate_turb 1.0
               color_map
               {
                  [ 0.0     rgbft <0.0, 0.0, 0.0, 0.0, 0.0> ]
                  [ 1.0     rgbft <1.0, 1.0, 1.0, 0.0, 0.0> ]
               }
            }
         }

and not

 density
            {
              density_map
               {
                  [ 0.0     rgb ... ]
                  [ 1.0     rgb ... ]
               }
            }
         }


Your suggestion produces a color_map which alters the colors of the media
through its depth and not the density of the media through its depth.

Neil

"Tim Cook" <z99### [at] bellsouthnet> wrote in message
news:41d7ac0f$1@news.povray.org...
> interior : media : density : colormap noise pattern -> spherical
>
> -- 
> Tim Cook
> http://home.bellsouth.net/p/PWP-empyrean
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
> N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
> PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
> D++(---) G(++) e*>++ h+ !r--- !y--
> ------END GEEK CODE BLOCK------


Post a reply to this message

From: Tim Cook
Subject: Re: Limitation: density_map in the Material editor
Date: 2 Jan 2005 16:24:14
Message: <41d8667e$1@news.povray.org>
interior : media : density : densitymap noise pattern

-- 
Tim Cook
http://home.bellsouth.net/p/PWP-empyrean

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

From: Neil Kolban
Subject: Re: Limitation: density_map in the Material editor
Date: 2 Jan 2005 17:47:27
Message: <41d879ff$1@news.povray.org>
Tim,
Unfortunately, from there, one can't create a simple RGB value but instead
must add a

o Density Noise Pattern
o Block pattern with densities
o Colormap noise pattern
o Density Map noise pattern

What I am looking for is a "solid density" similar to "solid color"

To see that what I am looking for is possible, see the sample on 2.3.6.3.2
of the POV-Ray manual on "Absorbing media".  I can't create their example
using Moray without hand coding the media.  I can't use the Media Editor in
Moray to create that one.

Neil

"Tim Cook" <z99### [at] bellsouthnet> wrote in message
news:41d8667e$1@news.povray.org...
> interior : media : density : densitymap noise pattern
>
> -- 
> Tim Cook
> http://home.bellsouth.net/p/PWP-empyrean
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
> N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
> PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
> D++(---) G(++) e*>++ h+ !r--- !y--
> ------END GEEK CODE BLOCK------


Post a reply to this message

From: Tim Cook
Subject: Re: Limitation: density_map in the Material editor
Date: 2 Jan 2005 22:29:04
Message: <41d8bc00$1@news.povray.org>
Neil Kolban wrote:
> What I am looking for is a "solid density" similar to "solid color"

What's the difference between a solid density densitymap and a solid 
density, and a density map with identical map entries (dunno myself, 
just asking)?

> 2.3.6.3.2

er?  I don't seem to have that section, what version of POV are you 
running?  (I'm running 3.5, as 3.6.x had some problems when I used it)

> I can't create their example
> using Moray without hand coding the media.  I can't use the Media Editor in
> Moray to create that one.

hrmm well, that is why the 'direct code' feature is there in Moray 3.5... ;)

-- 
Tim Cook
http://home.bellsouth.net/p/PWP-empyrean

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

From: Lutz Kretzschmar
Subject: Re: Limitation: density_map in the Material editor
Date: 3 Jan 2005 19:11:48
Message: <ipnjt09lnd9qul1hnm00i1b0oudatfvuus@4ax.com>
On Sun, 2 Jan 2005 01:52:03 -0600, "Neil Kolban" <kol### [at] kolbancom>
wrote:

> Folks,
> I was unable to find a way to enter simple values in the Material Editor for
> density_maps ... see below.  
Yeah, looks like we missed that combination....

- Lutz
  email : lut### [at] stmuccom
  Web   : http://www.stmuc.com/moray


Post a reply to this message

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