Warning
Be careful if you have an animation that changes the relationship between the displacement and the size of the surface being
displaced. Choose the most extremely-displaced frame to perform the operation. Alternatively, animate the value manually.
To change the bounding box scale
- In the section of the window, turn on (it is on by default).
- Estimate how much the surface will grow when it is displacement-mapped. Consider the following:
- If the bounding box of the displaced surface will be more than 50 percent larger than the bounding box for the original surface
in , open the surface’s and enlarge the bounding box scale.
- If the bounding box of the displaced surface will be less than 50 percent larger than the bounding box for the original surface
in , open the surface’s and reduce the bounding box scale to optimize the rendering speed and memory.
- If you choose to let Maya automatically compute the proper bounding box scale for the displaced object, click in the and Maya automatically sets the bounding box scale for the surface.
- Render.
If the estimated bounding box scale is too small, a warning message appears in the render log with instructions on how to
set the bounding box scale correctly. An example message:
Warning: The bounding box is too small for shape “nurbsSphereShape1”. Reset the bounding box scale to: 1.56778 1.56778 1.56778.
You can use the following mel commands: setAttr nurbsSphereShape1.boundingBoxScale -type double3 1.56778 1.56778 1.56778;
- Adjust the bounding box scale as recommended in the render log message.
- Render again.