POV-Ray : Newsgroups : povray.general : Height field box : Re: Height field box Server Time
5 Jul 2024 10:37:07 EDT (-0400)
  Re: Height field box  
From: MichaelJF
Date: 28 Jul 2015 12:50:01
Message: <web.55b7b1d925cae44a96aeed0d0@news.povray.org>
"StavroMueller" <nomail@nomail> wrote:
> I'm trying to render some data using the height field technique, which is
> working great.  However, I would really like to be able to remove the box sides
> of the height field, so I just see the surface.  The issue is that the box sides
> are colored with the color gradient, which is very messy looking.  Also, I want
> to plot some of this surface with semitransparency based on height - which works
> well, but then you can see the sides of the box through the semitransparent
> part, which ruins the effect I was after.
>
> Any ideas gratefully received.

You can convert height fields into meshes which represent the surface only.
Shapes.inc has some interesting macros to achieve this (HF_Square is the one you
can use, most likely). I propose to play around with that.

Best regards,
Michael


Post a reply to this message

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