POV-Ray : Newsgroups : povray.advanced-users : Warping of textures? : Re: Warping of textures? Server Time
16 May 2024 15:55:55 EDT (-0400)
  Re: Warping of textures?  
From: Thomas de Groot
Date: 23 Feb 2015 07:17:27
Message: <54eb1a57@news.povray.org>
On 23-2-2015 12:54, Cousin Ricky wrote:
> On 02/23/2015 03:46 AM, James Holsenback wrote:
>> On 02/23/2015 02:43 AM, James Holsenback wrote:
>> texture {
>>    pigment {
>>      granite scale 8 poly_wave 2 lambda 6 warp { spherical }
>>      color_map {
>>        [0 srgb <0.95, 0.91, 0.91>*0.9]
>>        [1 srgb <0.95, 0.91, 0.91>]
>>        }
>>      }
>>    }
>
> This is still just a warped pigment, wrapped in a texture.  My question
> is can a texture as a unit be warped?
>
You can do this:

texture {
   granite
   texture_map {
     [0 MyTexture1]
     [1 MyTexture2]
   }
   warp {turbulence 1}
}

-- 
Thomas


Post a reply to this message

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