POV-Ray : Newsgroups : povray.binaries.images : Heightfield with road : Re: Heightfield with road Server Time
2 Aug 2024 20:21:23 EDT (-0400)
  Re: Heightfield with road  
From: John VanSickle
Date: 22 Jun 2007 15:44:00
Message: <467c2680@news.povray.org>
SharkD wrote:
> I've created a scene with a heightfield. I want to place a road over the
> heightfield. I created a macro to generate a spline-shaped road that is
> interpolated through points on the heightfield. The problem is that the
> road cuts into (or floats over) the terrain depending on the slope of the
> terrain around it. I don't expect there's a way to fix this. The only thing
> I can think of is to modifiy the heightfield. Unfortunately, the resolution
> of my heightfield is not great enough to do this.
> 
> What do the professionals do when they are facing similar problems?

Build a long, skinny mound that runs along the roadway.  Texture the 
bottom like the grass of the HF, and the top like the roadway.  Make it 
slope gently away from the road so that it looks like a natural part of 
the HF.

Regards,
John


Post a reply to this message

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