About Background Rendering

The Setup Background Render dialog box helps you define some options to render in the background.

This page discusses:

Render Mode

You can select the appropriate render mode in batch mode.

Use the Render mode list to choose a render mode:

  • Stellar produces high quality and physically realistic images with advanced global illumination effects, and supported multiview display, materials, and ambiences.
  • Distributed Stellar produces high-quality images using a cluster of computers.

    To make the Render Mode list available, activate Enable distributed rendering, and define the cluster host name and port in Me > Preferences> Styling > Live Rendering > Network .

    You also need to install and start the cluster to be able to connect to it from the 3DEXPERIENCE platform. For more information, see Managing a Ray Tracing Cluster.

    Important: This option is usable only if you have the DIR license.

Production Outputs

You can define the following options to overload the output properties of the viewpoint or the camera, and to define the file format of the image.

The following options are available:

Option Description
Name Defines the name of the rendering job.
Note: The default name is: $p-$d.
  • $p corresponds to the name of the experience.
  • $d corresponds to the date.

For more information, see Name a Job.

Profile Defines the window size for the output.

The behavior of the Camera's aspect ratio profile differs from the behaviors of other profiles.

To calculate the resolution and the aspect ratio of your outputs, the Camera's aspect ratio profile does not use the predefined resolution specific to each rendering. Instead, this profile uses the custom values, or preset values defined in the Aspect Ratio property of the camera used for the rendering.

When you select this profile, a new option named Longest edge appears and lets you define the length of the longest edge used to calculate the output resolution.

The behavior of the Camera's aspect ratio also depends on the type of rendering that you perform:

Type of Rendering Behavior Description
Rendering an image in Authoring mode

The profile uses the camera ratio of the current camera that is seen through, if any.

Otherwise, the profile uses the ratio of the main viewport.

Rendering an image in Play mode

If there is a camera in the experience, the profile uses the aspect ratio of the current camera.

Otherwise, the profile uses the ratio of the main viewport.

Rendering a video

If there is a camera in the experience, the profile uses the aspect ratio of the current camera.

Otherwise, the profile uses the ratio of the main viewport.

Rendering a batch The profile uses the ratio of the camera that gets rendered.
RayTrace behavior APIs The profile uses the ratio of the camera that hosts the RayTrace behavior getting called.

Tip: Hover over the Name box to display a tooltip that indicates information related to the name syntax and composition of your final output (camera name, width, height).

For more information, see Name a Job.

Units Defines the unit for the resolution.
Format Defines the output format for the image.
Important: The Gamma and Enable Color Grading options require a Low Dynamic Range (LDR) input. Therefore, they are ignored when you select a High Dynamic Range (HDR) format (.hdr or .exr).
Color space Keeps the color consistency using an International Color Consortium (ICC) profile.

The following color spaces are available:

  • sRGB
  • Adobe RGB
  • CIE RGB
  • ColorMatch RGB
  • ProPhoto.

This list is available only for output images in PNG, TIF or JPG format. Otherwise, the sRGB color space is applied by default, and the list is grayed.

Video Settings

The video settings help you customize the options of your video.

The following options are available:

Option Description
Framerate Defines the number of frames per second (FPS).
Produce video When selected, automatically generates an AVI video file using the rendered frames.
Use H.264 compression Generates videos using the x264 encoding library.

All rendered images are generated in a dedicated directory, in addition to the video file using the H.264 codec.

Important: The video width must be a multiple of 2, and the height must be a multiple of 4.

Stereo Effects

The stereo effects options let you customize the stereo settings with values based on real-world values.

The following options are available:

Option Description
Activate stereo Activates the stereo effects options.
Number of views (X) Defines the number of views of the same scene.

Five or eight views are specific to auto-stereoscopic vision.

Interocular distance Defines the distance between the center of human eyes.

By default, the value is 6.50 cm.

Stereo distance Defines the distance between the camera point of view and the position of the stereo screen.

By default, the value is 2.80 m.

Depth scale factor Defines the scale of the virtual world by comparison with the real world.

  • A value of 1.000: the virtual scene looks as it would appear in the real world.
  • A value superior to 1.000: the virtual scene looks bigger than in the real world.
  • A value inferior to 1.000: the virtual scene looks smaller than in the real world.

By default, the value is 1.000.

Screen view height Defines the distance between your eye and the center of the stereo screen.

By default, the value is 0.00 m.

Image Layers

Image layers options let you choose the render passes.

The following options are available:

Option Description Example
Beauty Contains the rendered image with the following combined contributions of layers: Diffuse, Specular, Glossy, Emission, and Alpha.
Diffuse Contains the diffuse contribution on the first ray bounce of the rendered image.
Specular Contains the specular contribution on the first ray bounce of the rendered image that is to say a mirror reflection or specular refraction.
Glossy Contains the glossy contribution on the first ray bounce of the rendered image that is to say all the nondiffuse and nonperfect specular contributions.
Alpha Contains the alpha value indicating the opacity of a pixel with respect to the background.

The range is from 0 (fully transparent, background totally visible) to 1 (fully opaque, background not visible).

Depth Contains the depth of the hit point along the Z coordinate in the camera space.

The depth is zero at the camera position, and extends positive into the scene.

All points on a plane normal to the camera direction have the same depth.

The furthest pixels from the camera are white, and the closest pixels are black.

Distance Contains the radial distance between the camera origin and the hit point measured in the camera space.

The depth is zero at the camera position and extends positive into the scene.

All points on a sphere centered at the camera position have the same distance.

The distance is related to depth by a factor that is the inner product of the ray direction and the negative Z-axis (0,0,-1).

The furthest pixels from the camera are white, and the closest ones are black.

Normal Contains the unit surface normal in the camera space used for shading at the hit point.
Material ID Displays each object that has a different material with its own unique-flattened color.

Each rendered material is assigned an integer ID based on a unique Material PLM ID. Therefore, the material always has the same color in the Material ID layers in your current session when you:

  • render the same product under various viewpoints
  • add or remove materials
  • modify the material properties.

The color is also kept across sessions when you open, save, close, and then reopen the product.

However, it is not kept when you export the product as a 3DXML file, and then import the file in your session.

Important: The material opacity is taken into account. Therefore, semiopaque values can require more samples to remove the noise while transparency is treated as an opaque material.
Emission Identifies areas that emit light.
Irradiance Quantifies the amount of light received by an object.
Ambient occlusion Shows how exposed to ambient lighting is each point in the scene.

The range is from black (fully occluded) to white (not occluded).

Hardware

The hardware options let you select the rendering backend.

Option Description
CPU Executes the job on the CPU.
GPU Executes the job on the GPU.

For more information about installing and starting a remote server, see Ray Tracing Cluster Monitoring. You must have the appropriate role to perform this procedure.

Miscellaneous

Other options help you define the background render.

The following options are available:

Option Description
Insert logo in saved images Adds a logo to the lower-right corner of saved images.

Logos are in C:\Program Files\Dassault Systemes\B429\win_b64 \resources\graphic\logos. You can replace them.

Denoiser Enables the denoiser that converts a noisy image into a smooth image, and improves convergence time for rendering.

The following layers are denoised:

  • Diffuse
  • Specular
  • Glossy
  • Emission
  • Irradiance
  • Ambient occlusion.

Depth, Normals, and Material ID do not require any denoising.

Images are rendered in linear color space without any postprocessing effects like tone mapping or color correction.

Important: You can run batch jobs on a GPU only.
  • When the job is executed on the local machine without NVIDIA GPUs, only the Beauty, Irradiance, and Ambient Occlusion layers are denoised.
  • The job cannot complete when executed on a remote machine without NVIDIA GPUs.
  • If you select CPU in the Hardware area, the denoising is still applied on the GPU.

360° images Generates 360° images in batch mode.

When you select this option, the Profile automatically switches to Custom and the values for the Width and Height options are locked to a 2:1 ratio. The icon also appears on the left for your information.

The Width option is grayed out but you can modify the Height value. When you do so, the Width value automatically changes accordingly to keep the 2:1 ratio.

Tiled rendering Breaks down the image into several smaller high definition-resolution tiles that are rendered separately.

This reduces the use of memory resources and enables a high-resolution rendering on machines with limited resources (CPU or GPU memory).

As the image is saved only at the end of the process, there is no image preview while the rendering is in progress.

When you select this option, you can select files in EXR or PNG format only in the Format list. If a nonsupported format was previously selected, then the format automatically changes to OpenEXR. Similarly, when you select Edit job... in the Background Render Monitor panel, the format is forced to OpenEXR, and the Format list is grayed.

Important:
  • When you select this option, Time per frame is grayed in the Stop Criteria area.
  • You cannot use the following postprocessing effects in the Cameras panel:
    • Automatic exposure.
    • Vignetting for tone mapping.
    • Glow effect.
    • Enable filter for color grading.
  • Logos are not supported. Therefore, the Insert logo in saved images option is grayed.
Multipart Renders EXR files with multiple layers in a single image file.

You can display layers individually in an EXR viewer.

When you select Multipart, the $l tag is removed from the File name and Folder fields. The correspondence between layers and part names is as follows:

  • Beauty: RGB(A)
  • Diffuse: diffuse.RGB
  • Specular: specular.RGB
  • Glossy: glossy.RGB
  • Emissive: emissive.RGB
  • Depth: depth.Z
  • Distance: distance.Z
  • Material ID: material_id.RGBA
  • Normal: normal.RGB
  • Irradiance: irradiance.RGB
  • Ambient occlusion: ambient_occlusion.Y
  • Alpha: alpha.Y.

Important:
  • When used in combination with Tiled rendering, the
  • When rendering in stereo mode, one multipart EXR file containing all the selected layers is created per eye.
  • Do not use this option in combination with Insert logo in saved images or Produce video.

Stop Criteria

You can define various criteria to stop the rendering.

The following criteria are available:

Criterion Description
Iterations per frame Defines the number of iterations required to produce one single frame.
Time per frame Defines the maximum time to produce one single frame.

Use the list on the right to select the unit of time: seconds, minutes, or hours.

Note: If the render time exceeds the limit you specify, then the rendering stops.
Quality threshold Stops the rendering when the quality threshold is reached.

This automatically enables adaptive sampling in the following cases:


The "adaptive sampling" technique adapts sampled rays on the pixels of the images where it is most useful, instead of using the same sampling on all pixels. Therefore, some pixels of the images get more render iterations than others.

Adaptive sampling is a time-to-quality improvement, which is transparently activated by the Stellar render engine under certain conditions. If any of the conditions is not fulfilled, then Stellar automatically falls back to uniform sampling (the default behavior).

In that case, the rendering still works, but can be slower. This might occur especially in scenes where the noise is not equally distributed, or on large parts of the image shown in the background.

Important: When adaptive sampling is enabled, the Background Render Monitor cannot provide any intermediate thumbnail, and preview until the rendering of an image is finished. Only the initial rasterizer capture is provided for the thumbnail. The preview (the same preview that is visible when a new job is pending) is not updated until the rendering completion.

If you combine the above criteria, the first reached criterion stops the rendering task.