POV-Ray : Newsgroups : povray.binaries.animations : Half success with water (DivX 5.05, 274kb file) : problem fixed Server Time
19 Jul 2024 02:24:12 EDT (-0400)
  problem fixed  
From: Hugo Asm
Date: 24 Sep 2003 05:45:07
Message: <3f7167a3$1@news.povray.org>
Noo noo you're not stupid. :o)  I've realised the problem and fixed it.

The gap is caused by the way, height_field's are stitched together. Your map
is actually seamless - to the eye, looking down on an orthographical view of
the map. But for height_field's to link properly, the last row of pixels and
the last column of pixels, has to be an exact copy of the first row, and the
first column. I've taken care of this now.

I post the updated code again at p.b.s-f.. You will have to render the maps
again (sorry) and now, you need to use "squared" resolutions. In other
words, resolutions such as 256*300 is not going to work, but 256*256 should
do fine, or 300*300. Image width should be the same as image height.

(Of course, this rule only apply to the pre-rendered maps.. not afterwards,
when you use the maps.)

Good luck!
Hugo


Post a reply to this message

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