REDsdk 4.1 API Changes

File name Change details
RED.h

New RED::IOTools error codes - a first range of simple codes

  • RED_UNSUPPORTED_EXTENSION: Wrong file extension.
  • RED_FBX_DLL_NOT_FOUND: Missing DLL.
  • RED_FBX_DLL_ERROR: FBX DLL loading error.
  • RED_FBX_LOAD_ERROR: Error loading a file.
  • RED_FBX_SAVE_ERROR: Error saving a file.
REDCID.h

New classes CIDs

  • New classes CID defines.
REDIGraphicDevice.h

Windows 10 support

  • RED_HW_OS_PROPRIETARY_DRIVER driver string.
  • New RED::OS_WIN_TEN_32 and RED::OS_WIN_TEN_64 operating system enumerations,
  • New RED::GPUID driver strings for Windows 10.

Mac OS X removal of driver strings that could not be customized.

REDImageTools.h Added the RED::IFF_TGA enumeration for the loading of .TGA images.
REDIMaterial.h New RED::IMaterial::SetupRealisticMaterial method. Directly create your own realistic materials.
REDIMaterialController.h Renamed all RED_MATCTRL_GENERIC_XXX defines into RED_MATCTRL_XXX. All properties common to the generic and realistic material share names.
REDIOTools.h New file. Header of the RED::IOTools class.
REDISoftLight.h

New methods

  • RED::ISoftLight::GetSeed method. Query the light source seed for random nubmer generation,
  • RED::ISoftLight::GetWCSSample for direct sampling.
REDIWindow.h New RED::FTF_PATH_TRACING feedback mode for all rendering methods. Uses path-tracing for the rendering.
REDRenderLayer.h New RED::RenderLayer::LT_PATH: Accumulation render layer for the path-tracing feedback mode.
REDRenderShader.h New RED_SHAD_TARGET_BSDF for the definition of path-tracing shaders.
REDShaderProgramID.h New RED::SC_PATH built-in shader program category .
REDSoftShaderCallback.h New enumeration and members of the RED::SoftFrameBufferSample class for path-tracing needs.