POV-Ray : Newsgroups : povray.binaries.images : textured texture : Re: textured texture Server Time
10 Aug 2024 15:15:18 EDT (-0400)
  Re: textured texture  
From: Shay
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

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