|
|
Ken <tyl### [at] pacbellnet> wrote:
: That is a bit misleading Peter. While HF's are solid from the point of
: view that they may be used in CSG operations because pov can clearly
: determine their inside and outside for all practical purposes they
: are not really a solid object in as much as they are a triangle mesh
: object that much more closely resembles a shell of an object and not
: a solid object like a box or a sphere would be. You can verify this
: yourself by making a HF object that looks like a mountain peak. If
: you flip it over it will now look like a deep valley.
Your answer is a bit misleading too. There are no solid objects in povray.
Heightfields work with CSG as any other "solid" object.
If you are worried about the heightfield being an open surface, you can
make it closed very easyly:
intersection
{ height_field { ... }
box { 0,1 }
}
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|