Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_scene_defaults.h
| Show All 33 Lines | #define _DNA_DEFAULT_ImageFormatData \ | ||||
| { \ | { \ | ||||
| .planes = R_IMF_PLANES_RGBA, \ | .planes = R_IMF_PLANES_RGBA, \ | ||||
| .imtype = R_IMF_IMTYPE_PNG, \ | .imtype = R_IMF_IMTYPE_PNG, \ | ||||
| .depth = R_IMF_CHAN_DEPTH_8, \ | .depth = R_IMF_CHAN_DEPTH_8, \ | ||||
| .quality = 90, \ | .quality = 90, \ | ||||
| .compress = 15, \ | .compress = 15, \ | ||||
| } | } | ||||
| #define _DNA_DEFAULT_BakeData \ | |||||
| { \ | |||||
| .im_format = _DNA_DEFAULT_ImageFormatData, \ | |||||
| .filepath = "//", \ | |||||
| .flag = R_BAKE_CLEAR, \ | |||||
| .pass_filter = R_BAKE_PASS_FILTER_ALL, \ | |||||
| .width = 512, \ | |||||
| .height = 512, \ | |||||
| .margin = 16, \ | |||||
| .normal_space = R_BAKE_SPACE_TANGENT, \ | |||||
| .normal_swizzle = {R_BAKE_POSX, R_BAKE_POSY, R_BAKE_POSZ}, \ | |||||
| } | |||||
| #define _DNA_DEFAULT_FFMpegCodecData \ | #define _DNA_DEFAULT_FFMpegCodecData \ | ||||
| { \ | { \ | ||||
| .audio_mixrate = 48000, \ | .audio_mixrate = 48000, \ | ||||
| .audio_volume = 1.0f, \ | .audio_volume = 1.0f, \ | ||||
| .audio_bitrate = 192, \ | .audio_bitrate = 192, \ | ||||
| .audio_channels = 2, \ | .audio_channels = 2, \ | ||||
| } | } | ||||
| Show All 40 Lines | \ | ||||
| .dither_intensity = 1.0f, \ | .dither_intensity = 1.0f, \ | ||||
| \ | \ | ||||
| .bake_mode = 0, \ | .bake_mode = 0, \ | ||||
| .bake_filter = 16, \ | .bake_filter = 16, \ | ||||
| .bake_flag = R_BAKE_CLEAR, \ | .bake_flag = R_BAKE_CLEAR, \ | ||||
| .bake_samples = 256, \ | .bake_samples = 256, \ | ||||
| .bake_biasdist = 0.001f, \ | .bake_biasdist = 0.001f, \ | ||||
| \ | \ | ||||
| /* BakeData */ \ | |||||
| .bake = _DNA_DEFAULT_BakeData, \ | |||||
| \ | |||||
| .scemode = R_DOCOMP | R_DOSEQ | R_EXTENSION, \ | .scemode = R_DOCOMP | R_DOSEQ | R_EXTENSION, \ | ||||
| \ | \ | ||||
| .pic = "//", \ | .pic = "//", \ | ||||
| \ | \ | ||||
| .stamp = R_STAMP_TIME | R_STAMP_FRAME | R_STAMP_DATE | R_STAMP_CAMERA | R_STAMP_SCENE | \ | .stamp = R_STAMP_TIME | R_STAMP_FRAME | R_STAMP_DATE | R_STAMP_CAMERA | R_STAMP_SCENE | \ | ||||
| R_STAMP_FILENAME | R_STAMP_RENDERTIME | R_STAMP_MEMORY, \ | R_STAMP_FILENAME | R_STAMP_RENDERTIME | R_STAMP_MEMORY, \ | ||||
| .stamp_font_id = 12, \ | .stamp_font_id = 12, \ | ||||
| .fg_stamp = {0.8f, 0.8f, 0.8f, 1.0f}, \ | .fg_stamp = {0.8f, 0.8f, 0.8f, 1.0f}, \ | ||||
| ▲ Show 20 Lines • Show All 246 Lines • Show Last 20 Lines | |||||