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'
|