Here you will find documentation on all the descriptions that Cinema 4D currently has. You can list them Alphabetically, by Type or Plugin . The sample Python and C++ code is automatically generated and in some cases may not be 100% correct. If something doesn't work then please refer to the official Cinema 4D SDK documentation for more information.

IDs and information for VPxmbsampler

VPxmbsampler

Attributes

  • ENGLISH NAME : PhysicalRenderer
  • NAME : VPxmbsampler
  • INCLUDE : VPbase
  • PATH : c4dplugin/description/vpxmbsampler.res
  • PLUGIN : c4dplugin
  • MAXON online help (may not exist): VPXMBSAMPLER

Elements

ID UI Name Type Parameters Cycle
VP_XMB_DOF DepthOfField BOOL ANIM
VP_XMB_MOTIONBLUR MotionBlur BOOL ANIM
VP_XMB_MOTION_SAMPLES_MOTION MotionSubdivisions LONG
ANIM OFF
MIN 1
MAX 6
VP_XMB_MOTION_SAMPLES_DEFORMATION DeformationSubdivisions LONG
ANIM OFF
MIN 0
MAX 6
VP_XMB_MOTION_SAMPLES_HAIR HairSubdivisions LONG
ANIM OFF
MIN 0
MAX 6
VP_XMB_RAYTRACING_SAMPLER Sampler LONG
PARENTCOLLAPSE
FIT_H
ANIM OFF
VP_XMB_RAYTRACING_SAMPLER_FIXED Fixed
VP_XMB_RAYTRACING_SAMPLER_ADAPTIVE Adaptive
VP_XMB_RAYTRACING_SAMPLER_INTERACTIVE Progressive
VP_XMB_RAYTRACING_INTERACTIVE_MODE ProgressiveMode LONG
PARENTCOLLAPSE VP_XMB_RAYTRACING_SAMPLER
FIT_H
ANIM OFF
VP_XMB_RAYTRACING_INTERACTIVE_MODE_NOEND Infinite
VP_XMB_RAYTRACING_INTERACTIVE_MODE_PASSES PassCount
VP_XMB_RAYTRACING_INTERACTIVE_MODE_TIME TimeLimit
VP_XMB_RAYTRACING_INTERACTIVE_PASSES ProgressivePassCount LONG
PARENTCOLLAPSE VP_XMB_RAYTRACING_SAMPLER
ANIM OFF
MIN 1
MAX 65536
VP_XMB_RAYTRACING_INTERACTIVE_TIME ProgressiveTimeLimit(minutes) REAL
PARENTCOLLAPSE VP_XMB_RAYTRACING_SAMPLER
ANIM OFF
MIN 0.0
MAX 16384
VP_XMB_RAYTRACING_INTERACTIVE_NET ProgressivePassCountLimit LONG
PARENTCOLLAPSE VP_XMB_RAYTRACING_SAMPLER
ANIM OFF
MIN 1
MAX 65536
VP_XMB_RAYTRACING_QUALITY SamplingQuality LONG
FIT_H
ANIM OFF
VP_XMB_RAYTRACING_QUALITY_PREVIEW Preview
VP_XMB_RAYTRACING_QUALITY_LOW Low
VP_XMB_RAYTRACING_QUALITY_NORMAL Medium
VP_XMB_RAYTRACING_QUALITY_HIGH High
VP_XMB_RAYTRACING_QUALITY_USER Automatic
VP_XMB_RAYTRACING_QUALITY_CUSTOM Custom
VP_XMB_RAYTRACING_SAMPLES SamplingSubdivisions REAL
ANIM OFF
MIN 0
MAX 16
STEP 0.1
VP_XMB_RAYTRACING_SAMPLES_SHADING_MIN ShadingSubdivisions(Min) REAL
ANIM OFF
MIN 0
MAX 16
STEP 0.1
VP_XMB_RAYTRACING_SAMPLES_SHADING_MAX ShadingSubdivisions(Max) REAL
ANIM OFF
MIN 0
MAX 16
STEP 0.1
VP_XMB_RAYTRACING_SAMPLES_SHADING_ERROR ShadingErrorThreshold REAL
ANIM OFF
MIN 0.1
MAX 100.0
STEP 0.1
UNIT PERCENT
VP_XMB_RAYTRACING_SAMPLES_SHADING_TRANS ShadingTransparencyCheck BOOL ANIM
VP_XMB_RAYTRACING_SAMPLES_HDR_THRESHOLD HDRThreshold REAL
ANIM OFF
MIN 1.0
MAX 16384.0
STEP 1.0
VP_XMB_RAYTRACING_SAMPLES_BLURRY_SHADING BlurrinessSubdivision(Max) REAL
ANIM OFF
MIN 0
MAX 16
STEP 0.1
VP_XMB_RAYTRACING_SAMPLES_BLURRY_LIGHT ShadowSubdivision(Max) REAL
ANIM OFF
MIN 0
MAX 16
STEP 0.1
VP_XMB_RAYTRACING_SAMPLES_BLURRY_AO AmbientOcclusionSubdivision(Max) REAL
ANIM OFF
MIN 0
MAX 16
STEP 0.1
VP_XMB_RAYTRACING_SAMPLES_BLURRY_SSS SubsurfaceScatteringSubdivision(Max) REAL
ANIM OFF
MIN 0
MAX 16
STEP 0.1
VP_XMB_RAYTRACING_SAMPLES_GI_ENABLED IndirectIllumination BOOL
HIDDEN
ANIM OFF
VP_XMB_RAYTRACING_SAMPLES_GI_DEPTH DiffuseDepth LONG
HIDDEN
ANIM OFF
MIN 1
MAX 8
VP_XMB_RAYTRACING_SAMPLES_GI_SAMPLES SamplingSubdivisions REAL
HIDDEN
ANIM OFF
MIN 0
MAX 16
STEP 0.1
VP_XMB_RAYTRACING_ADVANCED_ENGINE RaytracingEngine LONG ANIM
VP_XMB_RAYTRACING_ADVANCED_ENGINE_PHYSICAL Physical
VP_XMB_RAYTRACING_ADVANCED_ENGINE_EMBREE_FULL Embree(Faster)
VP_XMB_RAYTRACING_ADVANCED_ENGINE_EMBREE_XMB Embree(Smaller)
VP_XMB_RAYTRACING_ADVANCED_PREVIEW QuickPreview LONG ANIM
VP_XMB_RAYTRACING_ADVANCED_PREVIEW_NEVER Never
VP_XMB_RAYTRACING_ADVANCED_PREVIEW_PROGRESSIVE ProgressiveMode
VP_XMB_RAYTRACING_ADVANCED_PREVIEW_ALWAYS AllModes
VP_XMB_RAYTRACING_ADVANCED_PREVIEW_ONLY PreviewOnly
VP_XMB_RAYTRACING_ADVANCED_PREVIEW_MIN QuickPreviewStartResolution LONG
HIDDEN
ANIM OFF
VP_XMB_RAYTRACING_ADVANCED_PREVIEW_HALF 1/2
VP_XMB_RAYTRACING_ADVANCED_PREVIEW_QUARTER 1/4
VP_XMB_RAYTRACING_ADVANCED_PREVIEW_EIGHTH 1/8
VP_XMB_RAYTRACING_ADVANCED_PREVIEW_SIXTEENTH 1/16
VP_XMB_RAYTRACING_ADVANCED_PREVIEW_THIRTYTWOTH 1/32
VP_XMB_RAYTRACING_ADVANCED_PREVIEW_SIXTYFOURTH 1/64
VP_XMB_RAYTRACING_ADVANCED_PREVIEW_MAX QuickPreviewEndResolution LONG
HIDDEN
ANIM OFF
VP_XMB_RAYTRACING_ADVANCED_PREVIEW_HALF 1/2
VP_XMB_RAYTRACING_ADVANCED_PREVIEW_QUARTER 1/4
VP_XMB_RAYTRACING_ADVANCED_PREVIEW_EIGHTH 1/8
VP_XMB_RAYTRACING_ADVANCED_PREVIEW_SIXTEENTH 1/16
VP_XMB_RAYTRACING_ADVANCED_PREVIEW_THIRTYTWOTH 1/32
VP_XMB_RAYTRACING_ADVANCED_PREVIEW_SIXTYFOURTH 1/64
VP_XMB_RAYTRACING_ADVANCED_STATS DebugInformationLevel LONG ANIM
VP_XMB_RAYTRACING_ADVANCED_STATS_NONE None
VP_XMB_RAYTRACING_ADVANCED_STATS_REGULAR Regular
VP_XMB_RAYTRACING_ADVANCED_STATS_DETAILED Detailed
VP_XMB_RAYTRACING_DEBUG_NO_SHADE DEBUG-NoShading BOOL ANIM
VP_XMB_RAYTRACING_DEBUG_LUX DEBUG-LightSources BOOL ANIM
VP_XMB_RAYTRACING_DEBUG_LOCK_TIME DEBUG-LockTime BOOL ANIM
VP_XMB_RAYTRACING_DEBUG_TIME DEBUG-TimeRatio REAL
ANIM OFF
MIN 0.0
MAX 1.0
STEP 0.1
VP_XMB_RAYTRACING_DEBUG_SAMPLING DEBUG-SamplingMode LONG ANIM

Example Code

The following code does not use the correct values when setting the data. You should check directly in C4D for the correct values that you should use in place of the ones that are shown. This code is just to show you how to access the values for getting and setting the parameters.

Python

import c4d
from c4d import gui
def main():
    videoPost = c4d.BaseVideoPost(c4d.VPxmbsampler)
    
    #You can set parameters two different ways. 
    #First way              
    videoPost[c4d.VP_XMB_DOF] = True
    videoPost[c4d.VP_XMB_MOTIONBLUR] = True
    videoPost[c4d.VP_XMB_MOTION_SAMPLES_MOTION] = 1
    videoPost[c4d.VP_XMB_MOTION_SAMPLES_DEFORMATION] = 1
    videoPost[c4d.VP_XMB_MOTION_SAMPLES_HAIR] = 1
    videoPost[c4d.VP_XMB_RAYTRACING_SAMPLER] = c4d.VP_XMB_RAYTRACING_SAMPLER_FIXED
    videoPost[c4d.VP_XMB_RAYTRACING_INTERACTIVE_MODE] = c4d.VP_XMB_RAYTRACING_INTERACTIVE_MODE_NOEND
    videoPost[c4d.VP_XMB_RAYTRACING_INTERACTIVE_PASSES] = 1
    videoPost[c4d.VP_XMB_RAYTRACING_INTERACTIVE_TIME] = 0.1
    videoPost[c4d.VP_XMB_RAYTRACING_INTERACTIVE_NET] = 1
    videoPost[c4d.VP_XMB_RAYTRACING_QUALITY] = c4d.VP_XMB_RAYTRACING_QUALITY_PREVIEW
    videoPost[c4d.VP_XMB_RAYTRACING_SAMPLES] = 0.1
    videoPost[c4d.VP_XMB_RAYTRACING_SAMPLES_SHADING_MIN] = 0.1
    videoPost[c4d.VP_XMB_RAYTRACING_SAMPLES_SHADING_MAX] = 0.1
    videoPost[c4d.VP_XMB_RAYTRACING_SAMPLES_SHADING_ERROR] = 0.1
    videoPost[c4d.VP_XMB_RAYTRACING_SAMPLES_SHADING_TRANS] = True
    videoPost[c4d.VP_XMB_RAYTRACING_SAMPLES_HDR_THRESHOLD] = 0.1
    videoPost[c4d.VP_XMB_RAYTRACING_SAMPLES_BLURRY_SHADING] = 0.1
    videoPost[c4d.VP_XMB_RAYTRACING_SAMPLES_BLURRY_LIGHT] = 0.1
    videoPost[c4d.VP_XMB_RAYTRACING_SAMPLES_BLURRY_AO] = 0.1
    videoPost[c4d.VP_XMB_RAYTRACING_SAMPLES_BLURRY_SSS] = 0.1
    videoPost[c4d.VP_XMB_RAYTRACING_SAMPLES_GI_ENABLED] = True
    videoPost[c4d.VP_XMB_RAYTRACING_SAMPLES_GI_DEPTH] = 1
    videoPost[c4d.VP_XMB_RAYTRACING_SAMPLES_GI_SAMPLES] = 0.1
    videoPost[c4d.VP_XMB_RAYTRACING_ADVANCED_ENGINE] = c4d.VP_XMB_RAYTRACING_ADVANCED_ENGINE_PHYSICAL
    videoPost[c4d.VP_XMB_RAYTRACING_ADVANCED_PREVIEW] = c4d.VP_XMB_RAYTRACING_ADVANCED_PREVIEW_NEVER
    videoPost[c4d.VP_XMB_RAYTRACING_ADVANCED_PREVIEW_MIN] = c4d.VP_XMB_RAYTRACING_ADVANCED_PREVIEW_HALF
    videoPost[c4d.VP_XMB_RAYTRACING_ADVANCED_PREVIEW_MAX] = c4d.VP_XMB_RAYTRACING_ADVANCED_PREVIEW_HALF
    videoPost[c4d.VP_XMB_RAYTRACING_ADVANCED_STATS] = c4d.VP_XMB_RAYTRACING_ADVANCED_STATS_NONE
    videoPost[c4d.VP_XMB_RAYTRACING_DEBUG_NO_SHADE] = True
    videoPost[c4d.VP_XMB_RAYTRACING_DEBUG_LUX] = True
    videoPost[c4d.VP_XMB_RAYTRACING_DEBUG_LOCK_TIME] = True
    videoPost[c4d.VP_XMB_RAYTRACING_DEBUG_TIME] = 0.1
    videoPost[c4d.VP_XMB_RAYTRACING_DEBUG_SAMPLING] = 1
    
    #Second way, using the base container.
    bc = videoPost.GetDataInstance()
    bc.SetBool(c4d.VP_XMB_DOF,True)
    bc.SetBool(c4d.VP_XMB_MOTIONBLUR,True)
    bc.SetInt32(c4d.VP_XMB_MOTION_SAMPLES_MOTION,1)
    bc.SetInt32(c4d.VP_XMB_MOTION_SAMPLES_DEFORMATION,1)
    bc.SetInt32(c4d.VP_XMB_MOTION_SAMPLES_HAIR,1)
    bc.SetInt32(c4d.VP_XMB_RAYTRACING_SAMPLER,c4d.VP_XMB_RAYTRACING_SAMPLER_FIXED)
    bc.SetInt32(c4d.VP_XMB_RAYTRACING_INTERACTIVE_MODE,c4d.VP_XMB_RAYTRACING_INTERACTIVE_MODE_NOEND)
    bc.SetInt32(c4d.VP_XMB_RAYTRACING_INTERACTIVE_PASSES,1)
    bc.SetFloat(c4d.VP_XMB_RAYTRACING_INTERACTIVE_TIME,0.1)
    bc.SetInt32(c4d.VP_XMB_RAYTRACING_INTERACTIVE_NET,1)
    bc.SetInt32(c4d.VP_XMB_RAYTRACING_QUALITY,c4d.VP_XMB_RAYTRACING_QUALITY_PREVIEW)
    bc.SetFloat(c4d.VP_XMB_RAYTRACING_SAMPLES,0.1)
    bc.SetFloat(c4d.VP_XMB_RAYTRACING_SAMPLES_SHADING_MIN,0.1)
    bc.SetFloat(c4d.VP_XMB_RAYTRACING_SAMPLES_SHADING_MAX,0.1)
    bc.SetFloat(c4d.VP_XMB_RAYTRACING_SAMPLES_SHADING_ERROR,0.1)
    bc.SetBool(c4d.VP_XMB_RAYTRACING_SAMPLES_SHADING_TRANS,True)
    bc.SetFloat(c4d.VP_XMB_RAYTRACING_SAMPLES_HDR_THRESHOLD,0.1)
    bc.SetFloat(c4d.VP_XMB_RAYTRACING_SAMPLES_BLURRY_SHADING,0.1)
    bc.SetFloat(c4d.VP_XMB_RAYTRACING_SAMPLES_BLURRY_LIGHT,0.1)
    bc.SetFloat(c4d.VP_XMB_RAYTRACING_SAMPLES_BLURRY_AO,0.1)
    bc.SetFloat(c4d.VP_XMB_RAYTRACING_SAMPLES_BLURRY_SSS,0.1)
    bc.SetBool(c4d.VP_XMB_RAYTRACING_SAMPLES_GI_ENABLED,True)
    bc.SetInt32(c4d.VP_XMB_RAYTRACING_SAMPLES_GI_DEPTH,1)
    bc.SetFloat(c4d.VP_XMB_RAYTRACING_SAMPLES_GI_SAMPLES,0.1)
    bc.SetInt32(c4d.VP_XMB_RAYTRACING_ADVANCED_ENGINE,c4d.VP_XMB_RAYTRACING_ADVANCED_ENGINE_PHYSICAL)
    bc.SetInt32(c4d.VP_XMB_RAYTRACING_ADVANCED_PREVIEW,c4d.VP_XMB_RAYTRACING_ADVANCED_PREVIEW_NEVER)
    bc.SetInt32(c4d.VP_XMB_RAYTRACING_ADVANCED_PREVIEW_MIN,c4d.VP_XMB_RAYTRACING_ADVANCED_PREVIEW_HALF)
    bc.SetInt32(c4d.VP_XMB_RAYTRACING_ADVANCED_PREVIEW_MAX,c4d.VP_XMB_RAYTRACING_ADVANCED_PREVIEW_HALF)
    bc.SetInt32(c4d.VP_XMB_RAYTRACING_ADVANCED_STATS,c4d.VP_XMB_RAYTRACING_ADVANCED_STATS_NONE)
    bc.SetBool(c4d.VP_XMB_RAYTRACING_DEBUG_NO_SHADE,True)
    bc.SetBool(c4d.VP_XMB_RAYTRACING_DEBUG_LUX,True)
    bc.SetBool(c4d.VP_XMB_RAYTRACING_DEBUG_LOCK_TIME,True)
    bc.SetFloat(c4d.VP_XMB_RAYTRACING_DEBUG_TIME,0.1)
    bc.SetInt32(c4d.VP_XMB_RAYTRACING_DEBUG_SAMPLING,1)

if __name__=='__main__':
    main()
             

C++

#include "c4d.h"
#include "../c4dplugin/description/vpxmbsampler.h"
void SampleFunction()
{
    BaseDocument *pDoc = GetActiveDocument();
    BaseVideoPost *pVideoPost = BaseVideoPost::Alloc(VPxmbsampler);  
    
    //You can set parameters two different ways. 

    //First way              
    //Some objects do not store all their data in the container. You need to use GetParameter()/SetParameter() instead. 

    DESCFLAGS_SET flags = DESCFLAGS_SET_PARAM_SET;
    pVideoPost->SetParameter(DescID(VP_XMB_DOF),GeData(true),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_MOTIONBLUR),GeData(true),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_MOTION_SAMPLES_MOTION),GeData(1),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_MOTION_SAMPLES_DEFORMATION),GeData(1),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_MOTION_SAMPLES_HAIR),GeData(1),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_SAMPLER),GeData(VP_XMB_RAYTRACING_SAMPLER_FIXED),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_INTERACTIVE_MODE),GeData(VP_XMB_RAYTRACING_INTERACTIVE_MODE_NOEND),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_INTERACTIVE_PASSES),GeData(1),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_INTERACTIVE_TIME),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_INTERACTIVE_NET),GeData(1),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_QUALITY),GeData(VP_XMB_RAYTRACING_QUALITY_PREVIEW),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_SAMPLES),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_SAMPLES_SHADING_MIN),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_SAMPLES_SHADING_MAX),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_SAMPLES_SHADING_ERROR),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_SAMPLES_SHADING_TRANS),GeData(true),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_SAMPLES_HDR_THRESHOLD),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_SAMPLES_BLURRY_SHADING),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_SAMPLES_BLURRY_LIGHT),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_SAMPLES_BLURRY_AO),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_SAMPLES_BLURRY_SSS),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_SAMPLES_GI_ENABLED),GeData(true),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_SAMPLES_GI_DEPTH),GeData(1),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_SAMPLES_GI_SAMPLES),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_ADVANCED_ENGINE),GeData(VP_XMB_RAYTRACING_ADVANCED_ENGINE_PHYSICAL),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_ADVANCED_PREVIEW),GeData(VP_XMB_RAYTRACING_ADVANCED_PREVIEW_NEVER),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_ADVANCED_PREVIEW_MIN),GeData(VP_XMB_RAYTRACING_ADVANCED_PREVIEW_HALF),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_ADVANCED_PREVIEW_MAX),GeData(VP_XMB_RAYTRACING_ADVANCED_PREVIEW_HALF),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_ADVANCED_STATS),GeData(VP_XMB_RAYTRACING_ADVANCED_STATS_NONE),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_DEBUG_NO_SHADE),GeData(true),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_DEBUG_LUX),GeData(true),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_DEBUG_LOCK_TIME),GeData(true),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_DEBUG_TIME),GeData(0.1),flags);
    pVideoPost->SetParameter(DescID(VP_XMB_RAYTRACING_DEBUG_SAMPLING),GeData(1),flags);
    pVideoPost->Message(MSG_UPDATE);            

    //Second way, using the base container.
    BaseContainer *bc =     pVideoPost->GetDataInstance();
    bc->SetBool(VP_XMB_DOF,true);
    bc->SetBool(VP_XMB_MOTIONBLUR,true);
    bc->SetInt32(VP_XMB_MOTION_SAMPLES_MOTION,1);
    bc->SetInt32(VP_XMB_MOTION_SAMPLES_DEFORMATION,1);
    bc->SetInt32(VP_XMB_MOTION_SAMPLES_HAIR,1);
    bc->SetInt32(VP_XMB_RAYTRACING_SAMPLER,VP_XMB_RAYTRACING_SAMPLER_FIXED);
    bc->SetInt32(VP_XMB_RAYTRACING_INTERACTIVE_MODE,VP_XMB_RAYTRACING_INTERACTIVE_MODE_NOEND);
    bc->SetInt32(VP_XMB_RAYTRACING_INTERACTIVE_PASSES,1);
    bc->SetFloat(VP_XMB_RAYTRACING_INTERACTIVE_TIME,0.1);
    bc->SetInt32(VP_XMB_RAYTRACING_INTERACTIVE_NET,1);
    bc->SetInt32(VP_XMB_RAYTRACING_QUALITY,VP_XMB_RAYTRACING_QUALITY_PREVIEW);
    bc->SetFloat(VP_XMB_RAYTRACING_SAMPLES,0.1);
    bc->SetFloat(VP_XMB_RAYTRACING_SAMPLES_SHADING_MIN,0.1);
    bc->SetFloat(VP_XMB_RAYTRACING_SAMPLES_SHADING_MAX,0.1);
    bc->SetFloat(VP_XMB_RAYTRACING_SAMPLES_SHADING_ERROR,0.1);
    bc->SetBool(VP_XMB_RAYTRACING_SAMPLES_SHADING_TRANS,true);
    bc->SetFloat(VP_XMB_RAYTRACING_SAMPLES_HDR_THRESHOLD,0.1);
    bc->SetFloat(VP_XMB_RAYTRACING_SAMPLES_BLURRY_SHADING,0.1);
    bc->SetFloat(VP_XMB_RAYTRACING_SAMPLES_BLURRY_LIGHT,0.1);
    bc->SetFloat(VP_XMB_RAYTRACING_SAMPLES_BLURRY_AO,0.1);
    bc->SetFloat(VP_XMB_RAYTRACING_SAMPLES_BLURRY_SSS,0.1);
    bc->SetBool(VP_XMB_RAYTRACING_SAMPLES_GI_ENABLED,true);
    bc->SetInt32(VP_XMB_RAYTRACING_SAMPLES_GI_DEPTH,1);
    bc->SetFloat(VP_XMB_RAYTRACING_SAMPLES_GI_SAMPLES,0.1);
    bc->SetInt32(VP_XMB_RAYTRACING_ADVANCED_ENGINE,VP_XMB_RAYTRACING_ADVANCED_ENGINE_PHYSICAL);
    bc->SetInt32(VP_XMB_RAYTRACING_ADVANCED_PREVIEW,VP_XMB_RAYTRACING_ADVANCED_PREVIEW_NEVER);
    bc->SetInt32(VP_XMB_RAYTRACING_ADVANCED_PREVIEW_MIN,VP_XMB_RAYTRACING_ADVANCED_PREVIEW_HALF);
    bc->SetInt32(VP_XMB_RAYTRACING_ADVANCED_PREVIEW_MAX,VP_XMB_RAYTRACING_ADVANCED_PREVIEW_HALF);
    bc->SetInt32(VP_XMB_RAYTRACING_ADVANCED_STATS,VP_XMB_RAYTRACING_ADVANCED_STATS_NONE);
    bc->SetBool(VP_XMB_RAYTRACING_DEBUG_NO_SHADE,true);
    bc->SetBool(VP_XMB_RAYTRACING_DEBUG_LUX,true);
    bc->SetBool(VP_XMB_RAYTRACING_DEBUG_LOCK_TIME,true);
    bc->SetFloat(VP_XMB_RAYTRACING_DEBUG_TIME,0.1);
    bc->SetInt32(VP_XMB_RAYTRACING_DEBUG_SAMPLING,1);
    pVideoPost->Message(MSG_UPDATE);                                                      
}