last update 08-Aug-2008
Loading...

 

GTools_MultiLight Script:

1476 kb

 Examples:

3318 kb

 

  17,686 kb
RightClick Save As.

 Demostration:

 

                     

 

                     Requires: 3DMax 2009
                                    
                     Version: 0.55

                     To do list: - Support for other Renders: Mental Ray, Final Render
                                      - Optionto return the intensity and color of the composition lights to the scene.
                                      - Global Control of intensity,Gamma and Tint.

What it does :

What the script does is that it will let you interactively change various parameters like intensity, gamma, tint, etc. of each light or self emitting material.
So you can tweak the lighting on you project or you can change drastically the appearance of your project, for example a scene from day to night and anything in between. Of course all this can be animated.

It does this by going trough the presets looking at which lights and materials you want to be visible or On for that preset, then it will turn off all other lights as for the materials the self emitting material will get replaced by a regular vraymaterial with what ever the original material had for the diffuseMap.
Once all the presets are finished the script will put back the original materials on each object.

The Scripts does modify you scene so please do save a copy of it.

General Information:

The script consist of 2 sections.

- Render: Here you set up presets in which you can have a single light, material or groups of lights and materials, for instance you can have all the lights of the ceiling on a preset even if they are different types or some are self emitting materials.
You could also choose to make the presets automatically from all you scene lights and materials.
Once you have all your presets you can save this list of presets to file in case you want to come back later or just want to have different scenarios.
Then you Render all these presets or sumit it to the network.
Once it’s done you will end up with a HDRI file per preset.

- Compose: here you can compose all those hdri files by loading them and adjust any of the parameters, and animate them as need it.
Once you are done you can render it or sumit it to the network.
Of course you can also save this composition in case you want to come back later or have different ones.

Note:At the moment Vray is the only render fully supported.

_______________________________________________________________________________________________

Superted Lights and Materials:

Lights:
- All Max Lights
- All Vray Lights

Materials:
   The following Materials can be use by itself , Inside a MultiSub Material, or inside a Shellac material

- VrayLight Material:

_______________________________________________________________________________________________

Description:

Render:

- Select Lights and Material:
    It shows all the lights and self emitting materials on the current scene, and here is were you select the lights and/or materials that you would like to include in a presets.

- : It will collapse or expand the tree view

- : When clicking on lights or materials on the tree view, objects and lights on the viewport can be selected just to make sure it’s what you want, this applies to both the select and presets sections. However on large projects selecting and deselecting objects all the time becomes slow, if that is the case just uncheck this and they will not be selected.

- : Clicking here will add all Lights and materials to the presets, lights that are instances will be add it as a single preset.

- : Add the selected lights and/or materials to a preset. You will be presented with a dialog asking for the name of the preset.   Make sure that name is unique.

- : remove the selected preset.

- : Clear the selection in the tree view.

- : Let's you open a preset list from a file.

- : Let's you save the Presets list to a file

- : Checking this will display on the listener all the objects that are on the currently selected preset.

- : Select were you want to save the files.

- :it will open this dialog first.
                      
                       where you can set the Animation Range and Format for rendering.
                        you can choose either HDRI or EXR for the format.
                       When you click OK, the HDRI´s images will be render it or sumited to the network.

- : It will show the following dialog. 
                                                                          - Priority: Submitted Job Priority.
                                                                          - Suspended: Summit the Job suspended.

        And then it will connect to the server. Once it’s connected you can click render to summit the images to the farm.

- : This tells the script to work on the entire scene or the selected objects.
   This can be handy when you have a big project and are not well organized, that is the lights don’t have a meaningful name.
   You can select the light on the viewport and they will show on the tree view so you can add them to a preset.

- . Here you choose the render engine, either Vray, Mental Ray or Final Render. At the moment only Vray is supported.

________________________________________________________________________________________________

Composer:

- : Open a saved composition.

- : Save the current composition, it will ask you for a name and location.
         The composition will be saved with the animation if it has.

- : Select all the hdri files you whish to include in the composition. Ctrl + Click to select multiple files.

- : Check it if you have animated something and you want to see it interactively in both the preview and all the parameters.

- : Show the current composition preview window. IMPORTANT: Displaying a high resolution preview will be very slow!!!, try using low resolution for the preview.

- : Set the size of the composition: by default it’s the size of the original hdri file.
     This will also be the final resolution, so remember to put it back to 100%

- : Lock the aspect ratio of the size spinners to the original image.

- : Set the resolution of the preview to that percentage of the original image. I highly recommend using the lowest resolution you can to make it faster.

    Image Adjustments:

   

- Right Clicking on any thumbs brings this dialog:

- Change HDRI Image: Swap the currently clicked hdri for another one.
   Any  animation on the current hdri will be lost!.
- Remove Current HDRI Image: Self explanatory.
- Add New HDRI Image: Self explanatory.
- Instance Composition to material Editor: It will make an instance of the
   composition the material editor, in case you want to do something else to it.
   Also it’s  required if you want to adjust the keys on the curve editor.
- ON- Current HDRY Only: it will turn off all other hdri images.
- OFF all HDRI's: Self explanatory.
- On all HDRI's: Self explanatory.
- Delete all Keys: Delete all animation keys of the composition.
- Change Thumbs Brightness:
    
   Sometimes the hdri's are too dark as they might have only
   one light on for the complete scene, if you want to see it more clearly
   you can change this multiplier to brighten the thumbs.


All the following parameters are animatable.

- on/off: Self explanatory.

- Opacity: Changes the transparency of the current HDRI.

- Multiplier: Change the multiplier of the current HDRI.

- Gamma: Change the gamma of the current HDRI.

- Hue: Change the hue of the current HDRI. The hue can be changed with the spinner or by dragging on the gray line under the spinners.

- Sat: Change the Saturation of the current HDRI.

- Tint: Change the Tint Color of the current HDRI.

- Tint Spinner: Change the Tint Color Multiplier of the current HDRI

______________________________________________________________________________________________

- Render Path: Choose the location were you want to save the images.

- Render: Render the current composition.

- Net Render: It will show the following dialog. 
                                                                          - Priority: Submitted Job Priority.
                                                                          - Suspended: Summit the Job suspended.

        And then it will connect to the server. Once it’s connected you can click render to summit the images to the farm
      

- : here you can select the prefix for the render images, the format and the animation range.
  

______________________________________________________________________________________________

Purchase:
If you are interested in the Script please make a donation of $30.00 dlls and I will email it once I get the confirmation from Paypal.

Disclaimer:
While I have been using the script in production, I can’t guarantee that there will not be any problems with it.

The Script its not yet 100% ready, i´m releasing it because of the amount of people that have asked for it. The script is work in progress, please keep in mind that you might find issues with it, if you do please contact me and i will fix them as soon as i can.
If you have a suggestion or just want to say something about it. Please contact me at gtools@evvisual.com or you can post a question at the CG Talk forum.


Use it at your own risk. I can not be held responsible for any damage they might cause from their use. This scripts can not be included in any retail product with out explicit permission from the author.