...
| Stand-in | RIB Property |
|---|---|
Simplify your scene size . | Simplify your scene size. |
Modular approach (update is easily done). | Modular approach (update is easily done). |
Scene is faster to save and load. | Scene is faster to save and load. |
Motion Blur and Depth of Field will react perfectly. | Material can still be live. |
Motion Blur and Depth of Field will react perfectly even if generated without Motion Blur activated. | Material can be overridden like any object. |
| Major speed up during the scene parsing. | Camera projection is still working |
You can add any property (Softimage as well as 3Delight). | |
Transforms are still modifiable. | |
Motion Blur and Depth of Field will react perfectly even if generated without Motion Blur activated. | |
| Major speed up during the scene parsing. |
That is why the focus of this tutorial is related to the RIB archive. Since the RIB archive is a geometry property it needs an host that will support it. Most of the case it should be a simple representation of the real object. In this tutorial we will first show you how to create an host that will cover the bounding box of the original object. To be more pipeline oriented, we will use a simple Python script in order to generate the bounding box of a selected object:
...
At this point, you have just exported your first object as a RIB file and use it for rendering.
You will see that when rendering the result will display the “real” object with the exact same look. Also with this solution, you will still be able to apply transforms to the RIB object and also you will be able to edit the shader, override it or even use camera projection on it.
This can be a major advantage when you are working on very complex scenes.
| Code Block | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
# ------------------------------------------------------
# task user kernel real
# ------------------------------------------------------
# Other 0.00 0.03 0.35
# Shader Translation 0.03 0.02 0.14
# Scene Parsing 18.52 0.76 19.29
# Main Render 1.15 0.58 1.98
# ------------------------------------------------------
# total 19.70 1.39 21.75 |
| Code Block | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
# ------------------------------------------------------
# task user kernel real
# ------------------------------------------------------
# Other 0.02 0.00 0.44
# Shader Translation 0.02 0.02 0.14
# Scene Parsing 0.06 0.02 0.07
# Main Render 1.15 0.58 1.98
# ------------------------------------------------------
# total 1.25 0.6 2.63 |