[Closed] Getting installed renderer – how to?
I already asked a similar question a while ago. I’m currently developing a tool that should get all in max registered renderer and put them into a dropdown list for selection purposes. Afterwards, the user should be able to set the materials in the material editor to the specific material corresponding to the selected renderer.
Is there a general workaround for this or do I have to install the demo versions of Brazil, FinalRender, Maxwell and Fryrender first? – I’m running 3ds max 9 and V-Ray.
Currently, my tool can set all material slots to standard or V-Ray materials.
rendererClass.classes -- returns an array of the installed renderer classes
#(Default_Scanline_Renderer, VUE_File_Renderer, Brazil_r_s_Pro_Beta_Edition_v2_0__build_1587, Brazil_r_s_V1_2_63, Luminaire_Test_Renderer, Missing_Renderer)
You’ll want to ignore the “Missing_Renderer”
fn isB1 class = (
class.classID as string == "#(1387076610, 288174012)"
)
fn isB2 class = (
class.classID as string == "#(95494396, 474502030)"
)
now why on earth would I have mental ray listed in there? Or are ADSK making that available retroactively to users of older 3ds Max versions now?
( And here I thought that Luminaire would have been a hint as to max release version in use there; http://maxplugins.de/max5.php?search=Luminaire&sort=Author )