POV-Ray : Newsgroups : povray.binaries.images : A bad height-field (first binary post. pliz tell if wrong) : Re: A bad height-field (first binary post. pliz tell if wrong) Server Time
12 Aug 2024 19:37:28 EDT (-0400)
  Re: A bad height-field (first binary post. pliz tell if wrong)  
From: Rohan Bernett
Date: 23 Aug 2003 01:30:01
Message: <web.3f46fb57a0a977dfaa7c54710@news.povray.org>
Here's an idea that could help with the problem, but it would involve
patching POVRay. Add an interpolation feature to the heightfield object, so
that POVRay can smooth things out in whichever dimension you select.

For example you could have something like this:

height_field{
  gif "land.gif"
  interpolate <1,8,1>, 1
  pigment{rgb 1}
  translate<-0.5,0,-0.5>
  }

The interpolate value indicates how much to boost the resolution by in that
dimension, and which method to use to do it. Eg here it would boost the
vertical resolution 8 times, using interpolation method 1 (whatever that
gets assigned to).

Rohan _e_ii


Post a reply to this message

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