POV-Ray : Newsgroups : povray.binaries.images : Makeshift Shelter : Re: Makeshift Shelter Server Time
9 Aug 2024 15:21:40 EDT (-0400)
  Re: Makeshift Shelter  
From: Alain
Date: 28 Jan 2005 06:05:25
Message: <41fa1c75$1@news.povray.org>
Tony nous apporta ses lumieres en ce 2005-01-28 02:16:

> 
> I'm new to POVray and so I've not played much with advanced textures on 
> my own.   So I'm not sure how one would make the shadow of the shelter 
> interact with the pattern of the sand.  Right now it doesn't and that 
> gives the "flat" feeling IMHO.  Would a bump map help provide depth? or 
> maybe darkening the shadows with a colormap?
> 
> Tony
> 
> 
If you want the shadows to follow the curve of the ground, the ground need to actualy
have some 
relief. When you use a normal, the surface remains flat. You need to use an
"isosurface" with the 
surface replaced with an actual displacement of the surface.
You need something like this sample:
isosurface{function{y-F_turb3d[x/ScaleX,0,z/ScaleZ)*Amplitude}
contained_by{box{<10,1,10>,<-10,-1,-10>}
texture{Your_texture}
}

Alain


Post a reply to this message

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