---
title: "Exporting EXR and Deep EXR in One Render"
canonical: "https://documentation.chaos.com/space/VMAYA/111741677/Exporting%20EXR%20and%20Deep%20EXR%20in%20One%20Render"
format: markdown
---
This page provides a tutorial on Exporting .exr and deep .exr in one render. 


## **Overview**

---


## **Set the Render Elements**

---

## **Using the OutputDeepWriter plugin**

---

You can access the **OutputDeepWriter** plugin documentation from two places - the plgparams tool information or an .*html* file.

### Access through the Plgparams tool

Run the **plgparams** tool that comes along with the V-Ray for Maya installation. To see full information on how to access a [node from plugin](https://docs-chaos.atlassian.net/wiki/spaces/VMAYA/pages/111740084/Rendering+and+Post-Processing#NodefromPlugin), follow the link.

To point **plgparams** to the folder where your plugin resides, use this command:


```
plgparams -plugindir <plugin folder>
```


The standard place of the tool is in the bin folder of your V-Ray installation, under the *vray* folder:

- Windows: *C:\Program Files\Autodesk\MayaNNNN\vray\bin*
- Linux: */usr/autodesk/mayaNNNN/vray/bin*
- macOS: */Applications/Autodesk/mayaNNNN/vray/bin*


If you run the **plgparams** tool from the **bin** folder, you can access the **OutputDeepWriter** plugin information by typing the following:

```
plgparams -plugindir "../vrayplugins" "OutputDeepWriter"
```

### Access through an HTML file

Navigate to the *PluginDoc *folder in the same *vray* location as above. Look for an .*html* file called **OutputDeepWriter**.


## **Exporting a deep exr**

---

To export a deep .*exr* using **OutputDeepWriter** plugin, you have to put it in the **Post Translate Python Script **of the** Render Settings window**. *For more information on how to use Post Translate Python API, visit the **[Python Access to the Translated V-Ray Scene](https://docs-chaos.atlassian.net/wiki/spaces/VMAYA/pages/111745019)** page*.

An example code is as follows:

```python
from vray.utils import *

odw=create('OutputDeepWriter', 'vrayOutputDeepWriter')
odw.set('file', <output_file>)
```

After 'file', enter your output file directory and the (desired) name of the deep .*exr*.


![image](media://0a4d5a29-5ddb-4438-817b-77b941847fa5)

Example Post Translate Python Script that exports deep .*exr* file


The maya.cmds python module or pymel.core can be used to query the active workspace and save the deep file to a path relative to the project.

```python
from vray.utils import *
import maya.cmds as cmds

ws=cmds.workspace(q=True, act=True)
rd=ws+'/images/'
fn='scene_deep.exr'
o=rd+fn

odw=create('OutputDeepWriter', 'vrayOutputDeepWriter')
odw.set('file', str(o))
```


## **Exporting an exr**

---

At the same time, set the **Image Format** to **exr (multichannel)** in the **Image File Output** rollout of the **Common** tab in the Render Settings. Note, that no other image format can export both .*exr* files.





Now when you render, you are exporting two separate .*exr* files at the same time (one of them deep .*exr*). 


![image](media://8d229cb1-c546-487c-b6f3-6c37a26ff2e5)