|
![](/i/fill.gif) |
As an animation nut I think the ability to tile in 3-space and loop
seamlessly over time are wonderful features. The fact that your code
supports both for an arbitrary function is amazing. Thank you for
writing and sharing this!
Your code is working perfectly now and I plan to make extensive use of
it. Thanks again.
Hugo Asm wrote:
> 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
|
![](/i/fill.gif) |