REDsdk 4.2

Welcome to REDsdk 4.2.

API changes

For those that directly want to jump into the details, see all API changes here: REDsdk 4.2 API changes.

Overview of changes

Key features delivered for REDsdk 4.2 are:

Some minor features that have been added too:

Multiple importance sampling

Multiple Importance Sampling (MIS for short) is a modification in the way glossy reflection and glossy refractions are propagated by the software ray-tracer. MIS improves the quality of rendered images, in improving the visual quality of the reflection of lights in the image. Below is an example with no MIS on the left and MIS on the right. The right image has more complete reflections.

Effect of Multiple Importance Sampling (MIS)

There's no option relative to MIS. MIS is enabled by default. It'll slow down renderings by 10-20% that can be easily compensated in reducing the value of the RED::OPTIONS_RAY_GLOSSY_SAMPLING_RATE.

Light baking

Light baking is a new light rendering mode. By default, in REDsdk, all lights in the scene are rendered each frame, dynamically. The new RED::RM_BAKED render mode of a light source can be turned on to capture the contribution of the light into a global illumination cache. Then, once baked in the GI cache, the light is ignored for the rendering of the scene. So this is a static way of adding lighting contributions to a model. As this'll be detailed in the next paragraph, baked lights contributions are rendered at the same time the cache is rendered, and hopefully GI caches can now be rendered by the CPU and by the GPU.

GI replay with light baking on the GPU

A global illumination cache that was recorded could only be used by the software renderer of REDsdk before this release. Now, GI caches can be replayed both by the CPU and by the GPU. The tutorial here illustrates this: GI and light baking.

An example scene with GI replayed by the GPU

Animation framework

REDsdk 4.2 introduces a new set of APIs dedicated to animation. A new architecture is delivered for manipulating skeletal animations, mesh skinning, blending animation clips and controlling motion in REDsdk. See the full new book dedicated to animations here: Animation system.

A skeletal animation example.

A complete day and night sky model

REDsdk features a physical sky model for a long time. But this model was partly incomplete due to the missing moon and stars in it. Technically speaking this was quite a challenge to engineer a complete model capable of simulating both night and day skies in an unified way. The new model we deliver with REDsdk 4.2 uses a new turbidity model, and simulates the atmosphere at all altitudes from the ground to orbit. It also includes a multiple scattering contribution, a ground albedo term whose effect has been reviewed. Finally, the new sky can be generated through a background texture, making it dynamically refined with the scene.

The new sky model with moon and stars

See the new book on the sky model here: Sky model.

Realistic material enhancements

The realistic material has been enhanced in several ways:

The Using the realistic material tutorial has been updated to take all changes into consideration.

Please note also the delivery of a few helper tasks dedicated to the setup of some important material categories:

Leather materials

REDsdk 4.2 adds a new bunch of materials to render leather materials. See below some samples:

A few leather material samples.