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
--------------------------------------------------------------------
I thought that you can convert bitmap to type: TextureMap with a string
--------------------------------------------------------------------
displaceTextureMap = bitmaptexture.displaceBitMap
--------------------------------------------------------------------
But I get an error
Unable to convert: BitMap:D:\Imagine\NurbecK@issyk.col\Dest_DHigh.png to type: TextureMap