Hi all.
How to convert BitMap to type: TextureMap ?
--------------------------------------------------------------------
displaceBitmapStr = getBitmapOpenFileName caption:"Select displace image file" filename:locDir types:"All|*.*|"
renderWidth = displaceBitmap.width
renderHeight = displaceBitmap.height
displaceBitMap = bitmap renderWidth renderHeight filename:displaceBitmapStr
displaceTextureMap = bitmaptexture.displaceBitMap
--------------------------------------------------------------------