Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/scene.c
| Show First 20 Lines • Show All 488 Lines • ▼ Show 20 Lines | void BKE_scene_init(Scene *sce) | ||||
| sce->r.filtertype = R_FILTER_MITCH; | sce->r.filtertype = R_FILTER_MITCH; | ||||
| sce->r.size = 50; | sce->r.size = 50; | ||||
| sce->r.im_format.planes = R_IMF_PLANES_RGBA; | sce->r.im_format.planes = R_IMF_PLANES_RGBA; | ||||
| sce->r.im_format.imtype = R_IMF_IMTYPE_PNG; | sce->r.im_format.imtype = R_IMF_IMTYPE_PNG; | ||||
| sce->r.im_format.depth = R_IMF_CHAN_DEPTH_8; | sce->r.im_format.depth = R_IMF_CHAN_DEPTH_8; | ||||
| sce->r.im_format.quality = 90; | sce->r.im_format.quality = 90; | ||||
| sce->r.im_format.compress = 15; | sce->r.im_format.compress = 15; | ||||
| sce->r.im_format.tiff_flag = R_IMF_TIFF_FLAG_DEFLATE; | |||||
| sce->r.displaymode = R_OUTPUT_AREA; | sce->r.displaymode = R_OUTPUT_AREA; | ||||
| sce->r.framapto = 100; | sce->r.framapto = 100; | ||||
| sce->r.images = 100; | sce->r.images = 100; | ||||
| sce->r.framelen = 1.0; | sce->r.framelen = 1.0; | ||||
| sce->r.blurfac = 0.5; | sce->r.blurfac = 0.5; | ||||
| sce->r.frs_sec = 24; | sce->r.frs_sec = 24; | ||||
| sce->r.frs_sec_base = 1; | sce->r.frs_sec_base = 1; | ||||
| Show All 32 Lines | void BKE_scene_init(Scene *sce) | ||||
| sce->r.bake.normal_swizzle[2] = R_BAKE_POSZ; | sce->r.bake.normal_swizzle[2] = R_BAKE_POSZ; | ||||
| BLI_strncpy(sce->r.bake.filepath, U.renderdir, sizeof(sce->r.bake.filepath)); | BLI_strncpy(sce->r.bake.filepath, U.renderdir, sizeof(sce->r.bake.filepath)); | ||||
| sce->r.bake.im_format.planes = R_IMF_PLANES_RGBA; | sce->r.bake.im_format.planes = R_IMF_PLANES_RGBA; | ||||
| sce->r.bake.im_format.imtype = R_IMF_IMTYPE_PNG; | sce->r.bake.im_format.imtype = R_IMF_IMTYPE_PNG; | ||||
| sce->r.bake.im_format.depth = R_IMF_CHAN_DEPTH_8; | sce->r.bake.im_format.depth = R_IMF_CHAN_DEPTH_8; | ||||
| sce->r.bake.im_format.quality = 90; | sce->r.bake.im_format.quality = 90; | ||||
| sce->r.bake.im_format.compress = 15; | sce->r.bake.im_format.compress = 15; | ||||
| sce->r.bake.im_format.tiff_flag = R_IMF_TIFF_FLAG_DEFLATE; | |||||
| sce->r.scemode = R_DOCOMP | R_DOSEQ | R_EXTENSION; | sce->r.scemode = R_DOCOMP | R_DOSEQ | R_EXTENSION; | ||||
| sce->r.stamp = R_STAMP_TIME | R_STAMP_FRAME | R_STAMP_DATE | R_STAMP_CAMERA | R_STAMP_SCENE | R_STAMP_FILENAME | R_STAMP_RENDERTIME; | sce->r.stamp = R_STAMP_TIME | R_STAMP_FRAME | R_STAMP_DATE | R_STAMP_CAMERA | R_STAMP_SCENE | R_STAMP_FILENAME | R_STAMP_RENDERTIME; | ||||
| sce->r.stamp_font_id = 12; | sce->r.stamp_font_id = 12; | ||||
| sce->r.fg_stamp[0] = sce->r.fg_stamp[1] = sce->r.fg_stamp[2] = 0.8f; | sce->r.fg_stamp[0] = sce->r.fg_stamp[1] = sce->r.fg_stamp[2] = 0.8f; | ||||
| sce->r.fg_stamp[3] = 1.0f; | sce->r.fg_stamp[3] = 1.0f; | ||||
| sce->r.bg_stamp[0] = sce->r.bg_stamp[1] = sce->r.bg_stamp[2] = 0.0f; | sce->r.bg_stamp[0] = sce->r.bg_stamp[1] = sce->r.bg_stamp[2] = 0.0f; | ||||
| sce->r.bg_stamp[3] = 0.25f; | sce->r.bg_stamp[3] = 0.25f; | ||||
| ▲ Show 20 Lines • Show All 2,023 Lines • Show Last 20 Lines | |||||