Notifications
Clear all

[Closed] extending multi sub panel

lo all . im looking for a way to extend the multi sub panel via script/plugin or other.
currently Muti/sub allows only 10 shader to be shown after you need to scroll up and down.
it doesnt take account of the size of the material editor. So i want to extend to fill the space ( red cross) any idea?? i would be a real life saver. i look on the help file and the only help i found was the dalmatian texture. no very useful…

12 Replies
 JHN

As far as I know this is hard wired. There is a mental ray material if I’ right, but I don’t know if that is limited to the number of materials on screen.

I don’t think there’s a solution really.

-Johan

This sounds like a great scripting challenge, make a better multisub. There are quite a few things about the current multisub that needs love to make it more efficient.

id love to see this thing fixed by autodesk, its been in its horrible state for as long as i can remember.
I assume this is still one of the most commonly used materials(well not a material as such…)?

 JHN

I don’t think it’s a scripting challenge really, it’s not exposed to maxscript, if I’m right… There has been many requests for this as long as I’m using max, I’ve never seen a script that replaces this one…

Hopefully I’m proved wrong!

-Johan

1 Reply
(@blue)
Joined: 11 months ago

Posts: 0

It can definately be done as a scripted plugin. Here is my starter code:


  -------------------------------------------------
  -------------------------------------------------
  -- Super Sub Material
  -- written by: Thomas Blue
-- history:
  --	Wednesday, June 28, 2006 - started development
  --
  -- TODO:
  --
  -------------------------------------------------
  -------------------------------------------------
  plugin material superSubMaterial
  name:"Super Sub"
  classID:#(0x6c44a2d8, 0x3193df7)
  extends:multimaterial replaceUI:true version:1
  ( 
  	parameters main rollout:params
  	(
  		-- add delegates
  	)
  	rollout params "Super Sub Parameters"
  	(
  		-- add ui elements
  	)
  	on create do
  	(
  		-- setup initial material settings
  	)
  )

i know its posible to create scripted plugin .hence the dalmatian texture tutorial.
so there must be a way do create a new multi-sub?

Agreed; I think this would make a great challenge!

 rdg

I had bad expirences with scripted materials.
They don’t render with mental ray and you will have to install them on any render slave.

MSG 0.0 error: Texture map “Map #1 ( Dalmatian )” is not supported by mental ray and will not render.

I propose a SuperMultiSub-utililty. Something like a meta-material that generates/updates a generic MultiSub-Material.
And we aren’t restricted to the material editor.

Georg

 JHN

Hi Georg,

Yeah that’s not a bad idea, I’ve had similar experiences with scripted materials as well, but a script that you could put in the ME menu would be a good idea, for updating purposes…
Or maybe just extending the multisub with one extra button wich pops up the extra interface, easy install, no extra menu items or hotkeys etc…

-Johan

 rdg

Or maybe just extending the multisub with one extra button

and it is no multisub nomore

But we could extend [Menu_179] – “Medit – Utilities” on install.

I wish a ‘randomize(n)’ button and spinner, to gererate n sub-materials with random colors.

Using callbacks the ultilty could be always in sync with the material editor.

Georg

Page 1 / 2