Fix heightmap rigid body offset with mesh
Added write image method
Enlarge image if size is not a pow of 2
Fix offset of terrain mesh to match rigid body
Some fix on heigmap data extraction
Initialized filename to texture buffer mapping for reuse
of send texture
Use texture mapper in blModel
Use texture map for terrain
Keep texture loaded on reload