POV-Ray : Newsgroups : povray.general : problem with differencing height_field : problem with differencing height_field Server Time
10 Aug 2024 05:21:07 EDT (-0400)
  problem with differencing height_field  
From: Paul Vanukoff
Date: 24 Feb 2000 13:44:49
Message: <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.