POV-Ray : Newsgroups : povray.general : problem with differencing height_field : Re: problem with differencing height_field Server Time
10 Aug 2024 05:22:23 EDT (-0400)
  Re: problem with differencing height_field  
From: Paul Vanukoff
Date: 24 Feb 2000 13:58:31
Message: <38b57f57@news.povray.org>
D'oh! Never mind - I need to use a cylinder, not a disc! Oops.

--
Paul Vanukoff
van### [at] primenetcom

"Paul Vanukoff" <van### [at] primenetcom> wrote in message
news:38b57c21@news.povray.org...
>
> Ok, I'm stumped. Anyone know why this doesn't work?
>
>
> #declare o_chairseat=
> difference
> {
>  union
>  {
>   torus
>   {
>    0.5, 0.05
>    scale < 1.0, 0.5, 1.0>
>    translate < 0.0, 0.4, 0.0>
>   }
>   disc
>   {
>    < 0.0, 0.425, 0.0>, < 0.0, 0.375, 0.0>, 0.5
>   }
>  }
>  height_field
>  {
>   gif "simplechairhf.gif"
>   smooth
>   translate <-0.5, 0.0,-0.5>
>   scale < 1.5,-0.1, 1.5>
>   translate < 0.0, 0.426, 0.0>
>  }
> }
>
> My intended effect is to rough up the upper surface of the disc/torus
union
> using the heightfield. The gif is nothing special, just some light noise.
> What I get though is the disc/torus union with the height_field kind of
> attached to the top of it. What gives? I can post images to p.b.i if
> requested.
>
>
>
> --
> Paul Vanukoff
> van### [at] primenetcom
>
>
>


Post a reply to this message

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