Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
adding to the menu

adding to the menu

2003-12-01       - By "Horvátth Szabolcs"

 Back
Reply:     1     2     3     4     5  

>You can't do it, because they completely screwed up when they
>implemented Mental Ray for Maya, and it blows the menu away and
>recreates it every time it is shown.

You always can modify the maya scripts to include your menus in the first place.
The render menu is in the RenRenderMenu.mel.
I include a sample to get an impression how you can do it.

>I initially had my Render Passes plugin neatly under the render menu,
>until Mental Ray came along.

5.0.1 should have fixed these problems. Have you tried it with that version?


Cheers,
Szabolcs



global proc RenRenderMenu( string $parent )
{
  popupMenu -e -deleteAllItems $parent;
  setParent -m $parent;

  if( `menu -q -ni $parent` != 0 ) {
    return;
  }

  // query API for the procedure associated with building the render menu
  // for the current renderer
  //
  string $command = eval("renderer -query -renderMenuProcedure `currentRenderer`
");

  eval $command $parent;

  setParent -m $parent;
  menuItem -divider true;

//SZ
  menuItem -l "Split Frame on Network..."
      -annotation "Splits the rendering of the frame to separate computers"
      -c "sz_MayaTileRender" SplitRenderRenderWindowItem;
  menuItem -l "Remote Render Frame..."
      -annotation "Render the current frame on a remote computer"
      -c "sz_MayaRemoteRenderFrame" EgykockaAlfredRenderWindowItem;
  menuItem -divider true;
//END

  //....
  // Create submenu to allow for renderer selection

  menuItem
    -subMenu         true
    -label           "Render using"
    -annotation
      "Change current renderer"
    ("renMenuRenderUsingItemMenuItem");

  menuItem
    -edit
    -postMenuCommand
      ("buildRenderMenuRenderUsingSubmenu renMenuRenderUsingItemMenuItem")
    ("renMenuRenderUsingItemMenuItem");
}





-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
List-help: <mailto:listar@(protected)?Subject=help>
List-archive: <http://www.highend3d.com/maya/devarchive/>