rendererClass
The RendererClass is a MAXClass wrapper of the plug-in renderer superclass which was
added in
3ds Max 4 so that a renderer instance can be worked with in MAXScript.
The property .classes provides an array of all installed RendererClass objects, which
allows for example the procedural creation of renderer class instances, the checking
for available renderers on the current system and so on.
EXAMPLES
|
RendererClass.classes
--> #(Default_Scanline_Renderer, VUE_File_Renderer, Quicksilver_Hardware_Renderer, mental_ray_renderer, Missing_Renderer)
--
renderers.current = RendererClass.classes[3]()
--> mental_ray_renderer:mental_ray_renderer
--
--
--
theRenderer = for i in RendererClass.classes where \
matchPattern (i as string) pattern:"Quicksilver*" collect i
--> #(Quicksilver_Hardware_Renderer)
if theRenderer.count == 1 do renderers.current = theRenderer[1]()
--> Quicksilver_Hardware_Renderer:Quicksilver_Hardware_Renderer--
--
--
--
--
--
|
The shipping
RendererClass classes are:
Default_Scanline_Renderer : RendererClass
Quicksilver_Hardware_Renderer : RendererClass
VUE_File_Renderer : RendererClass