POV-Ray : Newsgroups : povray.newusers : density_maps Server Time
24 Nov 2024 20:27:24 EST (-0500)
  density_maps (Message 1 to 6 of 6)  
From: OpalPlanet
Subject: density_maps
Date: 28 Jun 2007 17:35:02
Message: <web.468428dc5085fcb339928d3a0@news.povray.org>
Can anyone give me a list of the types of density_maps that exist in POV?
(specifically for use with media)?

I know spherical, cyllindrical, and onion - what am i missing?

Thanks,
OpalPlanet


Post a reply to this message

From: Warp
Subject: Re: density_maps
Date: 28 Jun 2007 17:37:46
Message: <46842a2a@news.povray.org>
OpalPlanet <ecs### [at] msncom> wrote:
> Can anyone give me a list of the types of density_maps that exist in POV?
> (specifically for use with media)?

  You can use any pattern as a density map. It's no different from using
patterns with color maps, pigment maps, texture maps, etc.

-- 
                                                          - Warp


Post a reply to this message

From: OpalPlanet
Subject: Re: density_maps
Date: 28 Jun 2007 17:45:01
Message: <web.46842b9f3334b23c39928d3a0@news.povray.org>
that's what I thought, but when I use gradient I get an error -

density{
  gradient density_map{
   [0 rgb 0]
   [.5 rgb 1]
   [1 rgb 0]
   }//end map
   scale 5
  warp{turbulence 20}
  }
???
-OpPl

Warp <war### [at] tagpovrayorg> wrote:
> OpalPlanet <ecs### [at] msncom> wrote:
> > Can anyone give me a list of the types of density_maps that exist in POV?
> > (specifically for use with media)?
>
>   You can use any pattern as a density map. It's no different from using
> patterns with color maps, pigment maps, texture maps, etc.
>
> --
>                                                           - Warp


Post a reply to this message

From: Warp
Subject: Re: density_maps
Date: 28 Jun 2007 17:48:02
Message: <46842c92@news.povray.org>
OpalPlanet <ecs### [at] msncom> wrote:
> that's what I thought, but when I use gradient I get an error

  Because gradient requires a parameter: The direction vector.

-- 
                                                          - Warp


Post a reply to this message

From: OpalPlanet
Subject: Re: density_maps
Date: 28 Jun 2007 17:50:02
Message: <web.46842bee3334b23c39928d3a0@news.povray.org>
never mind, I figured it out
Thx again
OpPl

Warp <war### [at] tagpovrayorg> wrote:
> OpalPlanet <ecs### [at] msncom> wrote:
> > Can anyone give me a list of the types of density_maps that exist in POV?
> > (specifically for use with media)?
>
>   You can use any pattern as a density map. It's no different from using
> patterns with color maps, pigment maps, texture maps, etc.
>
> --
>                                                           - Warp


Post a reply to this message

From: Alain
Subject: Re: density_maps
Date: 28 Jun 2007 17:52:54
Message: <46842db6$1@news.povray.org>
OpalPlanet nous apporta ses lumieres en ce 2007/06/28 17:43:
> that's what I thought, but when I use gradient I get an error -
> 
> density{
>   gradient density_map{
>    [0 rgb 0]
>    [.5 rgb 1]
>    [1 rgb 0]
>    }//end map
>    scale 5
>   warp{turbulence 20}
>   }
> ???
> -OpPl
> 
> 
> 
Have you tried
density{gradient y density_map{...}}?

-- 
Alain
-------------------------------------------------
Expert, n.: Someone who comes from out of town and shows slides.


Post a reply to this message

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