Announcement

Collapse
No announcement yet.

RS scripting: wich method are allowed?

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

  • RS scripting: wich method are allowed?

    Hi all,
    I saw there is possible to drive Vfr from Rhinoscript by using the Rhino.GetPluginObject options.
    this is great but I need to know wich method/variables are exposed to make my own plugins.

    I really need a LightManager, and I would like to release this for free, could you help me?

  • #2
    whoa - this would be amazing. is there any chance these variables can be made public? there are a lot of little things that would be enhanced by giving us this ability.
    emil mertzel
    vray4rhinoWiki

    Lookinglass Architecture and Design

    Comment


    • #3
      so it turns out that several of the methods are very simply named. for instance, turning on/off batch render in global switches is done with SetBatchRenderOn True (or False). I'll work on a list. I'm tempted to write something to discover them for me.
      emil mertzel
      vray4rhinoWiki

      Lookinglass Architecture and Design

      Comment


      • #4
        here's the low-hanging fruit:


        Global Switches

        Lighting
        Lights: SetLightsOn boolean
        Hidden Lights: SetHiddenLightsOn boolean
        Default Lights: SetDefaultLightsOn boolean
        Shadows: SetShadowsOn boolean

        Misc
        Batch Render SetBatchRenderOn boolean

        Materials
        Reflection/refraction: SetReflectionOn boolean
        Maps SetMapsOn boolean
        Filter maps for GI SetFilterMapsOn boolean
        Glossy effects SetGlossyEffectsOn boolean

        System

        Distributed Rendering
        On SetDistributedRenderingOn boolean
        Hosts SetDistributedRenderingAddServer("hostname") string
        Asset Collection SetDistributedRenderingAssetCollectionOn boolean



        Camera
        Camera Type
        Type SetCameraType 0 = Default
        1 = Spherical
        2 = Cylindrical(point)
        3 = Cylindrical(ortho)
        4 = Box
        5 = Fish Eye
        6 = Warped Spherical


        Depth of field
        On SetDepthOfFieldOn boolean
        Basic Params
        Aperture SetDepthOfFieldAperture float



        Indirect Illumination (GI)
        On SetGIOn boolean


        RTEngine
        General Options
        Enable SetRTEngineOn boolean
        Last edited by fooprobe; 10-09-2012, 04:32 PM.
        emil mertzel
        vray4rhinoWiki

        Lookinglass Architecture and Design

        Comment


        • #5
          here's the low-hanging fruit:


          Global Switches

          Lighting
          Lights: SetLightsOn boolean
          Hidden Lights: SetHiddenLightsOn boolean
          Default Lights: SetDefaultLightsOn boolean
          Shadows: SetShadowsOn boolean

          Misc
          Batch Render: SetBatchRenderOn boolean

          Materials
          Reflection/refraction: SetReflectionOn boolean
          Maps: SetMapsOn boolean
          Filter maps for GI: SetFilterMapsOn boolean
          Glossy effects: SetGlossyEffectsOn boolean

          System

          Distributed Rendering
          On: SetDistributedRenderingOn boolean
          Hosts: "SetDistributedRenderingAddServer(""hostname"" )" host name
          Asset Collection: SetDistributedRenderingAssetCollectionOn boolean



          Camera
          Camera Type
          Type: SetCameraType 0 = Default
          1 = Spherical
          2 = Cylindrical(point)
          3 = Cylindrical(ortho)
          4 = Box
          5 = Fish Eye
          6 = Warped Spherical


          Depth of field
          On: SetDepthOfFieldOn boolean
          Basic Params
          Aperture: SetDepthOfFieldAperture float



          Indirect Illumination (GI)
          On: SetGIOn boolean


          RTEngine
          General Options
          Enable: SetRTEngineOn boolean
          emil mertzel
          vray4rhinoWiki

          Lookinglass Architecture and Design

          Comment


          • #6
            There's a discussion of this, and a suggestion for tools which list the available methods and parameters, in the Sticky item in this section of the forum titled "V-Ray for Rhino 1.5 -- is command line/automated rendering still possible?"; look particularly on pg. 2.

            Comment


            • #7
              outstanding! that's what i get for not reading the whole sticky. great resource!
              emil mertzel
              vray4rhinoWiki

              Lookinglass Architecture and Design

              Comment

              Working...
              X