Hi,
I got the result from the command below.
vray vfbControl -saveLayersToJSON;
// Result: {"Version":1,"class":"root","properties":{"version ":1,"name":"","enable":true,"expand":false,"expand able":true},"sub-layers":[{"class":"chaos.displayCorrection","properties":{" version":1,"name":"Display Correction","enable":true,"expand":true,"expandabl e":true,"profile":1,"exposure":0.0,"save_rgb_primi tives":false,"ocio_file":"C:\\Program Files\\Autodesk\\Maya2024\\resources\\OCIO-configs\\Maya2022-default\\config.ocio","ocio_colorspace":0,"ocio_di splaydevice":0,"ocio_viewtransform":0,"ocio_savein image":false,"icc_file":"","icc_profile_data":null ,"icc_rendintent":0,"blkptconv":false},"sub-layers":[{"class":"chaos.ref.sourcefolder","properties":{"v ersion":1,"name":"Source: RGB","enable":true,"expand":false,"expandable":fal se,"blend_mode":0,"opacity":1.0,"show_preview":tru e,"src_type":0},"sub-layers":[{"class":"chaos.ref.lightmix","properties":{"versi on":1,"name":"LightMix","enable":false,"expand":fa lse,"expandable":true},"sub-layers":[]},{"class":"chaos.ref.composite","properties":{"ve rsion":1,"name":"Composite","enable":false,"expand ":false,"expandable":true,"blend_mode":0,"opacity" :1.0,"show_preview":true},"sub-layers":[{"class":"folder","properties":{"version":1,"name" :"Folder","enable":true,"expand":true,"expandable" :true,"blend_mode":0,"opacity":1.0,"show_preview": true},"sub-layers":[{"class":"chaos.ref.re","properties":{"version":2, "name":"Missing element background","enable":true,"expand":false,"expandab le":true,"blend_mode":0,"opacity":1.0,"show_previe w":true,"re_index":-1,"re_internal_name":"background","re_internal_ali as":124,"re_internal_type":2,"re_internal_username ":"","ignore_alpha":true,"multiplier":1.0,"col or":[1.0,1.0,1.0]},"sub-layers":[]},{"class":"chaos.ref.re","properties":{"version": 2,"name":"Missing element selfIllum","enable":true,"expand":false,"expandabl e":true,"blend_mode":2,"opacity":1.0,"show_preview ":true,"re_index":-1,"re_internal_name":"selfIllum","re_internal_alia s":104,"re_internal_type":2,"re_internal_username" :"","ignore_alpha":true,"multiplier":1.0,"color ":[1.0,1.0,1.0]},"sub-layers":[]},{"class":"chaos.ref.re","properties":{"version": 2,"name":"Missing element lighting","enable":true,"expand":false,"expandable ":true,"blend_mode":2,"opacity":1.0,"show_preview" :true,"re_index":-1,"re_internal_name":"lighting","re_internal_alias ":107,"re_internal_type":2,"re_internal_username": "","ignore_alpha":true,"multiplier":1.0,"color ":[1.0,1.0,1.0]},"sub-layers":[]},{"class":"chaos.ref.re","properties":{"version": 2,"name":"Missing element GI","enable":true,"expand":false,"expandable":true ,"blend_mode":2,"opacity":1.0,"show_preview":true, "re_index":-1,"re_internal_name":"GI","re_internal_alias":108, "re_internal_type":2,"re_internal_username":"","ig nore_alpha":true,"multiplier":1.0,"color":[1.0,1.0,1.0]},"sub-layers":[]},{"class":"chaos.ref.re","properties":{"version": 2,"name":"Missing element SSS","enable":true,"expand":false,"expandable":tru e,"blend_mode":2,"opacity":1.0,"show_preview":true ,"re_index":-1,"re_internal_name":"SSS","re_internal_alias":133 ,"re_internal_type":2,"re_internal_username":"","i gnore_alpha":true,"multiplier":1.0,"color":[1.0,1.0,1.0]},"sub-layers":[]},{"class":"chaos.ref.re","properties":{"version": 2,"name":"Missing element specular","enable":true,"expand":false,"expandable ":true,"blend_mode":2,"opacity":1.0,"show_preview" :true,"re_index":-1,"re_internal_name":"specular","re_internal_alias ":106,"re_internal_type":2,"re_internal_username": "","ignore_alpha":true,"multiplier":1.0,"color ":[1.0,1.0,1.0]},"sub-layers":[]},{"class":"chaos.ref.re","properties":{"version": 2,"name":"Missing element refract","enable":true,"expand":false,"expandable" :true,"blend_mode":2,"opacity":1.0,"show_preview": true,"re_index":-1,"re_internal_name":"refract","re_internal_alias" :103,"re_internal_type":2,"re_internal_username":" ","ignore_alpha":true,"multiplier":1.0,"color" :[1.0,1.0,1.0]},"sub-layers":[]},{"class":"chaos.ref.re","properties":{"version": 2,"name":"Missing element reflect","enable":true,"expand":false,"expandable" :true,"blend_mode":2,"opacity":1.0,"show_preview": true,"re_index":-1,"re_internal_name":"reflect","re_internal_alias" :102,"re_internal_type":2,"re_internal_username":" ","ignore_alpha":true,"multiplier":1.0,"color" :[1.0,1.0,1.0]},"sub-layers":[]},{"class":"chaos.ref.re","properties":{"version": 2,"name":"Missing element caustics","enable":true,"expand":false,"expandable ":true,"blend_mode":2,"opacity":1.0,"show_preview" :true,"re_index":-1,"re_internal_name":"caustics","re_internal_alias ":109,"re_internal_type":2,"re_internal_username": "","ignore_alpha":true,"multiplier":1.0,"color ":[1.0,1.0,1.0]},"sub-layers":[]},{"class":"chaos.ref.re","properties":{"version": 2,"name":"Missing element atmosphere","enable":true,"expand":false,"expandab le":true,"blend_mode":2,"opacity":1.0,"show_previe w":true,"re_index":-1,"re_internal_name":"atmosphere","re_internal_ali as":100,"re_internal_type":2,"re_internal_username ":"","ignore_alpha":true,"multiplier":1.0,"col or":[1.0,1.0,1.0]},"sub-layers":[]}]}]}]},{"class":"chaos.pe.denoiser","properties":{"vers ion":1,"name":"Denoiser: unavailable","enable":false,"expand":false,"expand able":true,"blend_mode":0,"opacity":1.0,"show_prev iew":true,"active":false,"preset":2,"strength":1.0 ,"radius":10.0,"hwAccelerate":false,"denoiser_mode ":0},"sub-layers":[]},{"class":"chaos.pe.sharpen.blur","properties":{" version":1,"name":"Sharpen/Blur","enable":false,"expand":false,"expandable":t rue,"blend_mode":0,"opacity":1.0,"show_preview":tr ue,"sharpen_blur_compute":false,"sharpen_amount":1 .0,"sharpen_radius":0.5,"blur_radius":1.3300000429 15},"sub-layers":[]},{"class":"chaos.pe.lensfx","properties":{"versio n":1,"name":"Lens Effects","enable":false,"expand":false,"expandable ":true,"blend_mode":2,"opacity":1.0,"show_preview" :true,"glare_on":false,"glare_size":30.0,"glare_we ight":1.0,"bloom_weight":0.40000000596,"glare_thre shold":1.0,"filter_rotation":0.0,"saturation":1.0, "hardware_accelerated":true,"cold_warm":false,"int eractive":true,"save_glare":true,"bake_glare_weigh t":false,"create_effects_result_channel":false,"en able_blades":true,"sides":6,"blades_rotation":15.0 ,"streak_blur":0.20000000298,"use_grating":false," grating_density":50.0,"grating_length":10.0,"grati ng_zoom":5.0,"grating_slope":0.0,"grating_strength ":1.0,"use_occlusion":false,"occlusion_symmetric": true,"occlusion_percent":20.0,"occlusion_rotation" :0.0,"occlusion_arc":100.0,"use_scratch":false,"sc r_symmetric":true,"scr_pattern":0,"scr_multiglare_ count":1,"scr_density":50.0,"scr_length":50.0,"scr _slope_variance":0.0,"scr_width_variance":0.0,"scr _seed":0,"scr_zoom":2.0,"scr_rotation":0.0,"scr_st rength":1.0,"use_dust":false,"dust_pattern":0,"dus t_density":50.0,"dust_radius_variance":0.0,"dust_j itter":0.0,"dust_zoom":2.0,"dust_rotation":0.0,"du st_strength":1.0,"glare_use_obstacle_image":false, "glare_obstacle_image_path":"","obst_image_zoom":1 .0,"obst_image_rotation":0.0,"obst_image_strength" :1.0,"use_filter_image":false,"glare_image_path":" ","use_chromatic_aberration":false,"chromatic_aber ration":0.10000000149,"camera_type":0,"stereo_mode ":0},"sub-layers":[]}]},{"class":"chaos.overlay.stamp","properties":{"ve rsion":1,"name":"Stamp","enable":false,"expand":fa lse,"expandable":true,"stamp_horiz_align":1,"stamp _vert_align":32,"stamp_color":[1.0,1.0,1.0],"stamp_font":{"version":1,"point_size":10,"family ":0,"style":0,"weight":0,"face":"Arial"},"stamp_st ring":{"version":1,"raw_string":"(null)","final_st ring":"(null)"}},"sub-layers":[]}]}
But I am not sure how I put the result to the behind of -loadLayersFromJSON command.
vray vfbControl -loadLayersToJSON ????
I've tried several ways but there was no luck.
Could you give me a hand?
Best Regards,
SangHo Jung
I got the result from the command below.
vray vfbControl -saveLayersToJSON;
// Result: {"Version":1,"class":"root","properties":{"version ":1,"name":"","enable":true,"expand":false,"expand able":true},"sub-layers":[{"class":"chaos.displayCorrection","properties":{" version":1,"name":"Display Correction","enable":true,"expand":true,"expandabl e":true,"profile":1,"exposure":0.0,"save_rgb_primi tives":false,"ocio_file":"C:\\Program Files\\Autodesk\\Maya2024\\resources\\OCIO-configs\\Maya2022-default\\config.ocio","ocio_colorspace":0,"ocio_di splaydevice":0,"ocio_viewtransform":0,"ocio_savein image":false,"icc_file":"","icc_profile_data":null ,"icc_rendintent":0,"blkptconv":false},"sub-layers":[{"class":"chaos.ref.sourcefolder","properties":{"v ersion":1,"name":"Source: RGB","enable":true,"expand":false,"expandable":fal se,"blend_mode":0,"opacity":1.0,"show_preview":tru e,"src_type":0},"sub-layers":[{"class":"chaos.ref.lightmix","properties":{"versi on":1,"name":"LightMix","enable":false,"expand":fa lse,"expandable":true},"sub-layers":[]},{"class":"chaos.ref.composite","properties":{"ve rsion":1,"name":"Composite","enable":false,"expand ":false,"expandable":true,"blend_mode":0,"opacity" :1.0,"show_preview":true},"sub-layers":[{"class":"folder","properties":{"version":1,"name" :"Folder","enable":true,"expand":true,"expandable" :true,"blend_mode":0,"opacity":1.0,"show_preview": true},"sub-layers":[{"class":"chaos.ref.re","properties":{"version":2, "name":"Missing element background","enable":true,"expand":false,"expandab le":true,"blend_mode":0,"opacity":1.0,"show_previe w":true,"re_index":-1,"re_internal_name":"background","re_internal_ali as":124,"re_internal_type":2,"re_internal_username ":"","ignore_alpha":true,"multiplier":1.0,"col or":[1.0,1.0,1.0]},"sub-layers":[]},{"class":"chaos.ref.re","properties":{"version": 2,"name":"Missing element selfIllum","enable":true,"expand":false,"expandabl e":true,"blend_mode":2,"opacity":1.0,"show_preview ":true,"re_index":-1,"re_internal_name":"selfIllum","re_internal_alia s":104,"re_internal_type":2,"re_internal_username" :"","ignore_alpha":true,"multiplier":1.0,"color ":[1.0,1.0,1.0]},"sub-layers":[]},{"class":"chaos.ref.re","properties":{"version": 2,"name":"Missing element lighting","enable":true,"expand":false,"expandable ":true,"blend_mode":2,"opacity":1.0,"show_preview" :true,"re_index":-1,"re_internal_name":"lighting","re_internal_alias ":107,"re_internal_type":2,"re_internal_username": "","ignore_alpha":true,"multiplier":1.0,"color ":[1.0,1.0,1.0]},"sub-layers":[]},{"class":"chaos.ref.re","properties":{"version": 2,"name":"Missing element GI","enable":true,"expand":false,"expandable":true ,"blend_mode":2,"opacity":1.0,"show_preview":true, "re_index":-1,"re_internal_name":"GI","re_internal_alias":108, "re_internal_type":2,"re_internal_username":"","ig nore_alpha":true,"multiplier":1.0,"color":[1.0,1.0,1.0]},"sub-layers":[]},{"class":"chaos.ref.re","properties":{"version": 2,"name":"Missing element SSS","enable":true,"expand":false,"expandable":tru e,"blend_mode":2,"opacity":1.0,"show_preview":true ,"re_index":-1,"re_internal_name":"SSS","re_internal_alias":133 ,"re_internal_type":2,"re_internal_username":"","i gnore_alpha":true,"multiplier":1.0,"color":[1.0,1.0,1.0]},"sub-layers":[]},{"class":"chaos.ref.re","properties":{"version": 2,"name":"Missing element specular","enable":true,"expand":false,"expandable ":true,"blend_mode":2,"opacity":1.0,"show_preview" :true,"re_index":-1,"re_internal_name":"specular","re_internal_alias ":106,"re_internal_type":2,"re_internal_username": "","ignore_alpha":true,"multiplier":1.0,"color ":[1.0,1.0,1.0]},"sub-layers":[]},{"class":"chaos.ref.re","properties":{"version": 2,"name":"Missing element refract","enable":true,"expand":false,"expandable" :true,"blend_mode":2,"opacity":1.0,"show_preview": true,"re_index":-1,"re_internal_name":"refract","re_internal_alias" :103,"re_internal_type":2,"re_internal_username":" ","ignore_alpha":true,"multiplier":1.0,"color" :[1.0,1.0,1.0]},"sub-layers":[]},{"class":"chaos.ref.re","properties":{"version": 2,"name":"Missing element reflect","enable":true,"expand":false,"expandable" :true,"blend_mode":2,"opacity":1.0,"show_preview": true,"re_index":-1,"re_internal_name":"reflect","re_internal_alias" :102,"re_internal_type":2,"re_internal_username":" ","ignore_alpha":true,"multiplier":1.0,"color" :[1.0,1.0,1.0]},"sub-layers":[]},{"class":"chaos.ref.re","properties":{"version": 2,"name":"Missing element caustics","enable":true,"expand":false,"expandable ":true,"blend_mode":2,"opacity":1.0,"show_preview" :true,"re_index":-1,"re_internal_name":"caustics","re_internal_alias ":109,"re_internal_type":2,"re_internal_username": "","ignore_alpha":true,"multiplier":1.0,"color ":[1.0,1.0,1.0]},"sub-layers":[]},{"class":"chaos.ref.re","properties":{"version": 2,"name":"Missing element atmosphere","enable":true,"expand":false,"expandab le":true,"blend_mode":2,"opacity":1.0,"show_previe w":true,"re_index":-1,"re_internal_name":"atmosphere","re_internal_ali as":100,"re_internal_type":2,"re_internal_username ":"","ignore_alpha":true,"multiplier":1.0,"col or":[1.0,1.0,1.0]},"sub-layers":[]}]}]}]},{"class":"chaos.pe.denoiser","properties":{"vers ion":1,"name":"Denoiser: unavailable","enable":false,"expand":false,"expand able":true,"blend_mode":0,"opacity":1.0,"show_prev iew":true,"active":false,"preset":2,"strength":1.0 ,"radius":10.0,"hwAccelerate":false,"denoiser_mode ":0},"sub-layers":[]},{"class":"chaos.pe.sharpen.blur","properties":{" version":1,"name":"Sharpen/Blur","enable":false,"expand":false,"expandable":t rue,"blend_mode":0,"opacity":1.0,"show_preview":tr ue,"sharpen_blur_compute":false,"sharpen_amount":1 .0,"sharpen_radius":0.5,"blur_radius":1.3300000429 15},"sub-layers":[]},{"class":"chaos.pe.lensfx","properties":{"versio n":1,"name":"Lens Effects","enable":false,"expand":false,"expandable ":true,"blend_mode":2,"opacity":1.0,"show_preview" :true,"glare_on":false,"glare_size":30.0,"glare_we ight":1.0,"bloom_weight":0.40000000596,"glare_thre shold":1.0,"filter_rotation":0.0,"saturation":1.0, "hardware_accelerated":true,"cold_warm":false,"int eractive":true,"save_glare":true,"bake_glare_weigh t":false,"create_effects_result_channel":false,"en able_blades":true,"sides":6,"blades_rotation":15.0 ,"streak_blur":0.20000000298,"use_grating":false," grating_density":50.0,"grating_length":10.0,"grati ng_zoom":5.0,"grating_slope":0.0,"grating_strength ":1.0,"use_occlusion":false,"occlusion_symmetric": true,"occlusion_percent":20.0,"occlusion_rotation" :0.0,"occlusion_arc":100.0,"use_scratch":false,"sc r_symmetric":true,"scr_pattern":0,"scr_multiglare_ count":1,"scr_density":50.0,"scr_length":50.0,"scr _slope_variance":0.0,"scr_width_variance":0.0,"scr _seed":0,"scr_zoom":2.0,"scr_rotation":0.0,"scr_st rength":1.0,"use_dust":false,"dust_pattern":0,"dus t_density":50.0,"dust_radius_variance":0.0,"dust_j itter":0.0,"dust_zoom":2.0,"dust_rotation":0.0,"du st_strength":1.0,"glare_use_obstacle_image":false, "glare_obstacle_image_path":"","obst_image_zoom":1 .0,"obst_image_rotation":0.0,"obst_image_strength" :1.0,"use_filter_image":false,"glare_image_path":" ","use_chromatic_aberration":false,"chromatic_aber ration":0.10000000149,"camera_type":0,"stereo_mode ":0},"sub-layers":[]}]},{"class":"chaos.overlay.stamp","properties":{"ve rsion":1,"name":"Stamp","enable":false,"expand":fa lse,"expandable":true,"stamp_horiz_align":1,"stamp _vert_align":32,"stamp_color":[1.0,1.0,1.0],"stamp_font":{"version":1,"point_size":10,"family ":0,"style":0,"weight":0,"face":"Arial"},"stamp_st ring":{"version":1,"raw_string":"(null)","final_st ring":"(null)"}},"sub-layers":[]}]}
But I am not sure how I put the result to the behind of -loadLayersFromJSON command.
vray vfbControl -loadLayersToJSON ????
I've tried several ways but there was no luck.
Could you give me a hand?
Best Regards,
SangHo Jung
Comment