I’m having trouble with this simple script
try(
i= medit.GetActiveMtlSlot()
)
catch(i=1)
temp = random 25 400
print temp
randN = temp as string
meditMaterials[i] = FStorm ()
meditMaterials[i].name = "FStorm metal " + randN
relieve = FStormBitmap()
relieve.filename = "D:\iskander\texturas\IVP\@yoe\briks default 12.png"
meditMaterials[i].bump_texture = relieve
I need to make some fstorm materials and I will using a lots materials with the same bump and gloss maps, I’m doing the material already OK, but when I’m to assign the texture to the FStorm bitmap I’m getting this error:
“
Bitmap Manager Error
File D:\iskander exturas\IVP\@yoe\briks default 12.png could not be found.
”
The file is there and is usable by fstorm, actually I can assign it manually by max interface
Please note in the error that instead of D:\iskander\texturas it states: D:\iskander exturas <??? What could be happening here?
Announcement
Collapse
No announcement yet.
trouble with a script
Collapse
X
-
Ha! writing here it's doing me exactly the same behavior... I had to edit my reply and put another... "\" for to this page registered it just one, even to write this I had to put it twice... dammit! 😂
-
never mind... it seems I had to use "/" instead of "\" or at least it's working like that, kind of weird I have been using a script to load some hdri environments the other way with no problems at all :S
Leave a comment:
Leave a comment: