POV-Ray : Newsgroups : povray.binaries.images : Heightfield with road : Re: Heightfield with road Server Time
2 Aug 2024 14:18:10 EDT (-0400)
  Re: Heightfield with road  
From: SharkD
Date: 21 Jun 2007 18:55:01
Message: <web.467b00de35b0b28817967ea70@news.povray.org>
I'm using Chris Colefax's spline macro to generate the road. Also, the road
banks around corners. I don't know if I can create the sweep and not have
it interfere with the road surface.

"Rarius" <rar### [at] rariuscouk> wrote:
> You have two problems, one that the road gets buried and another that the
> road floats above the ground.
>
> 1) Road gets buried. I think you could fix this by differencing out of the
> ground a cone-sweep...make an object that is a union of a LOT of cones that
> follow the spline of the road. make the base of the cone the same width (or
> slightly wider than) the road and make it high enough to clear any hill.
> Just make the top wide enough to give a good slope along the side of the
> road.
>
> 2) Use tha same cone-sweep and scale it by -1 vertically... union that to
> the road and you'll get the banks supporting the road.
>
> I hope this helps
>
> Rarius


Post a reply to this message

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