POV-Ray : Newsgroups : povray.windows : Wall of China Problem : Re: Wall of China Problem Server Time
28 Jul 2024 16:28:12 EDT (-0400)
  Re: Wall of China Problem  
From: Dan Connelly
Date: 25 Jul 1998 12:34:36
Message: <35B9FB0C.96AB7BBB@flash.net>
Depending on the complexity of the terrain and the scales
involved, it might also be a good idea to run the original height
field through a smoothing filter (using appropriate software --
hf_gray_16 images can't be trivially filtered by most paint programs)
to prevent the wall from tracking every small length-scale deviation
in the underlying ground.  Then the smoothed version can be used for
the wall, with the unmodified version for the ground.



Reinhard Rettelbach wrote:
> 
> also try this:
> 
> intersection{
> height_field {tga "your_landscape_file.tga"
>               texture {your_wall_texture}
>               translate your_wall_height*y
>              }
> union {
>         box{//a box with appropriate dimensions and something higher
>             // than your_wall_height
>             texture {your_wall_texture}
>             }
>         height_field {tga "your_landscape_file.tga"
>                       texture {your_landscape_texture}
>                      }
>       }
>            }
> 
> It works, I just tried it without appropriate teturing and scaling.
-- 
http://www.flash.net/~djconnel/


Post a reply to this message

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