Announcement

Collapse
No announcement yet.

V-Ray support for the Max 2011 ribbon

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • V-Ray support for the Max 2011 ribbon

    Hi,

    I was wondering if V-Ray will support the new Max 2011 ribbon. It would be great being able to add VRayLights, VRayPlane, VRaySun etc. as buttons all next to each other in a ribbon tab.

    Thanks in advance.
    Sevensheaven.nl — design | illustration | visualization | cartoons | animation

  • #2
    you can make your own ribbon toolbar i think
    Chris Jackson
    Shiftmedia
    www.shiftmedia.sydney

    Comment


    • #3
      Yep, but right now you can't add V-Ray stuff to it.
      Sevensheaven.nl — design | illustration | visualization | cartoons | animation

      Comment


      • #4
        Originally posted by Metin_7 View Post
        Yep, but right now you can't add V-Ray stuff to it.
        Yes you can, you just need a small macroscript to add the functions you want.

        We're building a customized ribbon here with a create and modify tab, and added vraylight, physicalcam, vrayplane, all with the macroscripts, you just run these lines of code and you'll be able to add it to your ribbon:

        Code:
        macroScript VRay_Light
        enabledIn:#("max", "viz", "vizr") 
                    category:"VRay"
                    internalCategory:"VRay"
                    ButtonText:"VRay Light"
                    tooltip:"Create VRay Light" 
                    icon:#("PhotometricLights",4)
        (
             on execute do StartObjectCreation vraylight
             on isChecked return mcrUtils.IsCreating vraylight
             on IsVisible Return isKindOf vraylight  MAXWrapper 
        )
        
        macroScript VRay_Plane
        enabledIn:#("max", "viz", "vizr") 
                    category:"VRay"
                    internalCategory:"VRay"
                    ButtonText:"VRay Plane"
                    tooltip:"Create VRay Plane" 
                    icon:#("Standard",10)
        (
             on execute do StartObjectCreation vrayplane
             on isChecked return mcrUtils.IsCreating vrayplane
             on IsVisible Return isKindOf vrayplane  MAXWrapper 
        )
        
        macroScript VRay_cam
        enabledIn:#("max", "viz", "vizr") 
                    category:"VRay"
                    internalCategory:"VRay"
                    ButtonText:"VRay Phsysical Camera"
                    tooltip:"Create VRay Physical Camera" 
                    icon:#("Cameras",1)
        (
             on execute do StartObjectCreation VRayPhysicalCamera 
             on isChecked return mcrUtils.IsCreating VRayPhysicalCamera 
             on IsVisible Return isKindOf VRayPhysicalCamera  MAXWrapper 
        )
        I just had to borrow some icons from standard's max icon.

        Regards.

        Comment


        • #5
          Cool, thanks a lot!
          Sevensheaven.nl — design | illustration | visualization | cartoons | animation

          Comment


          • #6
            but do you know a way to add ribbon items with script? using the dialog is a lot of work, and it's impossible to copy parts of the ribbon to other computers...
            Marc Lorenz
            ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
            www.marclorenz.com
            www.facebook.com/marclorenzvisualization

            Comment

            Working...
            X