View Full Version : slow opening of hypershade
brainspoon 10-19-2005, 01:30 PM Hi,
I have to wait more than 20 seconds everytime I open up the hypershade.
I think the problem are the dozens of mental ray shaders that it loads up. When I look into the task manager I can see that xpm2bmp is running while waiting for the hypershade to open up.
So I thought that it might be smart to convert the xpm icons to bmp but then it does not find the icons.
Is there a solution for that problem?
Thanks in advance
andreas
|
|
Try opening the hypershader in a panel. This way hypershade will open slow only the first time but after that it will open very fast... ofcourse if you open it in an panel aswell
BTW in maya 7 the hypershader and the CreateRenderNode window open much much faster than before :)
brainspoon
10-19-2005, 08:15 PM
why can't maya run that xpm2bmp once and keep the converted icons in memory instead of rebuilding them everytime I open the hypershade window or directly read bmp icons if they are available.
Emil3d
10-19-2005, 08:52 PM
It is slow, no question about that, although I’ve never counted the seconds, I can tell you it feels like you said. I guess it’s slow because it is huge. Initially I had a hotkey that toggled between opening and closing it, but later on, I removed the closing action from the hot key and now it only opens it. I try to never close it and minimize it instead. The open hotkey actually maximizes it, but I cannot figure a way to make a hot key for minimizing it. Some time ago Jozvex, suggested that I can use the Multilister instead and I found myself using it more often recently because it opens in a instant and does pretty decent job. Well it doesn’t have the full functionality of the Hypershade but for basic texture and shader usage it is OK and even has some stuff that Hypershade doesn’t – like showing the material samples not only as spheres but also as cubes, cones, or cylinders..
leigh
10-19-2005, 09:19 PM
Create a new hotkey using this:
tearOffPanel "Hypershade" "hyperShadePanel" true;
hyperShadePanelSetActiveTabLayout hyperShadePanel1 firstPaneTabs false;
hyperShadePanelMenuCommand("hyperShadePanel1", "asList");
This will open the Hypershade with text only (XSI style) so it's instant. I use this all the time. It only works with Maya 7 though - not sure what version you're running.
annaleah
10-20-2005, 12:40 AM
Ive never had a problem with Hypershade opening...
How many active shadersa are we talking about?
Ive had scenes with twenty to thirty and havent had problems.
brainspoon
10-20-2005, 12:47 AM
Maybe i did not make me clear enough. I am sorry for that. I ment custom mental ray shaders that are in the maya.rayrc file.
I think there around 50-80 shader.
annaleah
10-20-2005, 01:18 AM
Well...If thats the cause then maybe you could make different maya.rayrc's.
You shouldnt need 80 mental ray shaders at once should you?
If you dont then make a maya.rayrc and name it copy_maya.rayrc and the copy holds all shaders you have.Then add them to the main maya.rayrc as you need them.
If you do need 80 different shaders from mental ray then I would really like to see this render...lol
I use puppets shader collection.
He put all shaders into one .mi and .dll and so it only counts (I guess)as one line in your rayrc file.
http://www.puppet.cgtalk.ru/download/shaders_p_e.shtml
Then I have a l_glass shader and other things from Jan Sandstrom...but only a few.
I guess it can become like plugins.I only load manually plugins I will need also.THen add as needed.
Just a thought.Im not even sure if this is even going to help this situation.
yoshi99
10-20-2005, 03:20 AM
It sounds like you need more RAM to run Maya fast and smooth!!:D
brainspoon
10-20-2005, 08:13 AM
I think 2 gigs should be more than enough ;)
Cameo
10-20-2005, 08:22 PM
Yea slow hypershade can be irritating, had it myself when working on some large projects. What I generally do is save the maya file with it open for a start so it kind of gets calculated in the startup of the scene anyway when you click open and go for a coffee. Secondly when using it during a session, just minimise it rather than close it completely when not in use. It will pop straight up when you maximise it. They are about the only things I've found I can do to help with hypershade slowness.
azshall
10-20-2005, 10:07 PM
Create a new hotkey using this:
This will open the Hypershade with text only (XSI style) so it's instant. I use this all the time. It only works with Maya 7 though - not sure what version you're running.
hm..
i tried copy/pasting this code.. it does not work fo rme... it just loads the hypershade is it does default.
az
CGTalk Moderation
10-20-2005, 10:07 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.