A while ago I unhid the blackbody shader in Max 2009 without any problems. I’ve just received my copy of Max 2010 and when I followed the same directions that work for Max 2009, I couldn’t get the shader to unhide. I added the “, texture” after “apply light” in the base.mi file, but there was no “hidden” to put a “#” in front of. Just to be clear, here’s what the 2009 base.mi file looked like after following the directions:
#-------------------------------------------- Light utils
declare shader
color “mib_cie_d” (
scalar “temperature”,
scalar “intensity”
)
version 1
apply light, texture
gui “gui_mib_cie_d” {
control “Global” “Global” (
“hidden”
)
}
end declare
declare shader
color “mib_blackbody” (
scalar “temperature”,
scalar “intensity”
)
version 1
apply light, texture
gui “gui_mib_blackbody” {
control “Global” “Global” (
“hidden”
)
}
end declare
Unfortunately, the base.mi file in 2010 looks like this:
#-------------------------------------------- Light utils
declare shader
color “mib_cie_d” (
scalar “temperature”,
scalar “intensity”
)
version 1
apply light
end declare
declare shader
color “mib_blackbody” (
scalar “temperature”,
scalar “intensity”
)
version 1
apply light
end declare
Like I said earlier, I put the “, texture” in front of “apply light”, but after closing down and restarting Max the blackbody shader was nowhere to be found. Then I tried just copying the whole Light Utilities portion of the 2009 base.mi file into the 2010 base.mi file. While this method unhid the blackbody shader I got an error upon starting Max that says: “API 0.0 error: found second definition of GUI “gui_mib_blackbody” using first” and “API 0.0 error: found second definition of GUI “gui_mib_cie_d” using first”.
Any suggestions what I should do to correctly modify the base.mi file so that I unhide the blackbody shader but don’t get any errors? Or am I just being stupid and the blackbody shader is no longer hidden and it’s residing someplace I haven’t looked?
Thanks!!!
Travis