apply image on mapbutton
Hi Guys
I try to find how can I show the selected map from the material/map browser on the mapbutton (and not the name).
I know I need a filename to put image on the mapbutton, but the material/map browser don't return it, just something like this: "Map #1: checker"
So how can I use this to get the filename ?
Thanks in advance for any help :)
Comments
Yes, but in this case I add
Yes, but in this case I add some parameters to renderMap, that's why I used a variable :)
Thanks barigazy, you help me
Thanks barigazy, you help me a lot in this past few days.
Just a thing, you don't need to apply the map on a slot. This do the trick:
I prefer to avoid use a medit slot when it's not necessary.
But still, a big thanks :)
...
You are good when you need to solve the problem with little help.
Sometime I need to wrote bunch of snippets someone to understand :)
Anyway if you don't want to use "selRender" variable then you can do it in one line
bga
...
You neet to render active slot as bitmap an then use that image for your button.
Also look at this topic from mxs help
http://docs.autodesk.com/3DSMAX/14/ENU/MAXScript%20Help%202012/index.htm...
bga