With the standard bitmap, you can do the following:
I have not figured out how to do the same with the VRayBitmap. The property .bitmap in the Bitmaptexture is a special bitmap controller, but in a VRayBitmap, the .bitmap property is just a text string. Is there a way to query the map pixel dimensions with a VRayBitmap?
Thanks
Code:
myMap = Bitmaptexture fileName:"C:\test.png" myWidth = myMap.bitmap.width myHeight = myMap.bitmap.height
I have not figured out how to do the same with the VRayBitmap. The property .bitmap in the Bitmaptexture is a special bitmap controller, but in a VRayBitmap, the .bitmap property is just a text string. Is there a way to query the map pixel dimensions with a VRayBitmap?
Thanks
Comment