|
|
Michael Smith wrote:
> How do I get the entire imagemap to cover the entire heightfield only once?
You have to understand how height_fields and image maps work. The height_field
is created on a square centered at <0,0,0>, proceeding to <1,0,1>. The
image_map is created at <0,0,0>, and proceeds to <1,1,0>. The first thing you
have to do in both cases is to center the height_field by translating by
<-.5,0,-.5>, and the image_map by translating it by <-.5,-.5,0>. This should be
done before scaling. From there, it is a simple matter of rotating the
image_map x*90 to make it "lay down" onto the height_field. Hope this helps.
Post a reply to this message
|
|