POV-Ray : Newsgroups : povray.binaries.images : textured texture Server Time
7 Nov 2024 17:32:06 EST (-0500)
  textured texture (Message 1 to 3 of 3)  
From: SomeOne
Subject: textured texture
Date: 20 Jul 2004 12:13:51
Message: <40fd44bf@news.povray.org>
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.

-- 
-- 
M.E.J.R.Hendrix
a s o e
u t r n
r e i s
i r e
c   n
e

Quote of the minute:
People in glass houses shouldn't throw stones. Neither should they nail up
pictures.


Post a reply to this message


Attachments:
Download 'Tarmac.jpg' (66 KB)

Preview of image 'Tarmac.jpg'
Tarmac.jpg


 

From: Shay
Subject: Re: textured texture
Date: 20 Jul 2004 12:19:43
Message: <40fd461f$1@news.povray.org>
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


Post a reply to this message

From: SomeOne
Subject: Re: textured texture
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.