POV-Ray : Newsgroups : povray.binaries.images : textured texture : Re: textured texture Server Time
7 Nov 2024 15:35:33 EST (-0500)
  Re: textured texture  
From: SomeOne
Date: 22 Jul 2004 08:52:59
Message: <40ffb8ab@news.povray.org>
Shay wrote:
>> SomeOne wrote:
>>
>>> Here's my latest image. Comments are welcome.
>>>
>>> For the texture on the ground I took a picture of a piece of road.
>>> I then used that picture as a bumpmap.
>>> The problem I now have is that I want to apply a normal{ waves ...
>>> texture to the ground aswell. However, If I include that then it
>>> overrides the bumpmap. Or the bumpmap overrides the waves normal.
>>> Depending on the order in which they are placed. Any suggestions
>>> about how to combine them are welcome.
>>>
>>>
>>
>> // untested code
>>
>> #local f_Road = function { pigment { image_map { sys "road_image" }
>> } } #local f_Wave = function { pigment { waves } }
>>
>> #local Norm = normal {
>> function {
>> f_Road(x,y,z).gray + f_Wave(x,y,z).gray
>> }
>> }
>>
>>   -Shay

Hmm. WHat I did was to define a plane{ ... } with a
texture{normal{bump_map{...}}} and a separate pigment{waves}. The attached
picture is the result. Now to find out how to make it accept a pigment{color
...} aswell...


Post a reply to this message


Attachments:
Download 'Tarmac2.jpg' (57 KB)

Preview of image 'Tarmac2.jpg'
Tarmac2.jpg


 

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