How to fix the final gather rebuild issue in Maya 2012

This glitch will appear in Maya 2012 with mental ray Final gather
Once FG map was enabled and giving a specific name, our render will come out as expected such as this

However when we turn off the final gather Rebuild to use the already built map

The render will come out as if we turned off the final gather completely

There are 2 solutions for this
Solutin A:
Add a secondary final gather map, and type in the Name of your map
This will force Maya to go and fetch the map

The MEL script would be
setAttr -type “string” miDefaultOptions.finalGatherMergeFiles[0] “AshManDu”;
Where AshManDu is the name of the FG map.
Note: the MEL doesn’t update the UI. It just adds the map

Solution B:
Use FG legacy approach
To do so:
In the command line run
select miDefaultOptions;
The attribute editor will load some mental ray options.  Scroll down and expand the “String Options” category and click “Add New Item”
Scroll down to the bottom of the list to see the new empty options.  Enter the following.

Name: finalgather legacy
Value: True
type:Boolean

Now we should have our render back with FG

Recent Entries

2 Responses to “How to fix the final gather rebuild issue in Maya 2012”

  1. Franck PARISIS Says:

    Hello Ashref !
    maybe another way, when your fgmap file is complet and is OFF, put the Accuracy to 0.
    Because the Accuracy is already here
    Best
    Franck

  2. Jean-Sébastien Dussault Says:

    «However when we turn off the final gather Rebuild to use the already built map»
    Hey,

    I’m pretty late commenting on this, but I believe what you’re trying to do is achieved by using «Freeze» in the rebuild option

Leave a Reply