POV-Ray : Newsgroups : povray.binaries.images : XRay Test : Re: XRay Test Server Time
31 Jul 2024 12:13:17 EDT (-0400)
  Re: XRay Test  
From: Alain
Date: 13 Oct 2009 22:46:57
Message: <4ad53ba1$1@news.povray.org>
SharkD a écrit :
> On 10/13/2009 6:49 PM, Chris B wrote:
>> Render of a skull using the slope pattern:
>>
>> #declare XRayTexture = texture {
>> pigment {
>> slope{z}
>> pigment_map {
>> [0 color rgbt 2*<1,1,1,0.1>]
>> [0.75 color rgbt <0.1,0.6,2,1>]
>> [1 color rgbt <1,1,1,1>]
>> }
>> }
>> finish {ambient 1}
>> }
>> object{
>> skull26__null__
>> translate 0.1*x texture {XRayTexture}
>> no_shadow
>> }
>>
>> object{
>> skull26__null__ rotate -y*90
>> texture {XRayTexture}
>> no_shadow
>> }
> 
> Very nice! Is this MegaPOV only?
> 
> Mike

No!

The slope pattern is a POV-Ray native feature.
In the windows version's documentation, look at section 3.5.11.30  Slope

In some cases, it can looks somewhat like the aoi texture from mega-POV.


Alain


Post a reply to this message

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