Add all scene variable attributes to the render log

Đang mở
#268 5 bình luận 0 reaction 1 người được giao Xem trên GitHub

@danielle-dwa đang làm issue này rồi.

Từ ngày 15/9/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

enhancement good first issue help wanted

All SceneVariables attributes should be listed near the top of the log.

  • Values that are not the default can be noted with an asterisk
  • Attributes should be sorted alphabetically

For example:

SceneVariables("__SceneVariables__") {
    ["aperture_window"] = IntVector(-2147483648, -2147483648, -2147483648, -2147483648),
    ["athena_debug"] = false,
    ["batch_tile_order"] = 4,  -- "morton"
    ["bsdf_samples"] = 2,
    ["bssrdf_samples"] = 2,
    ["camera"] = <null>,
    ["checkpoint_active"] = false,
    ["checkpoint_bg_write"] = true,
    ["checkpoint_interval"] = 15,
    ["checkpoint_max_bgcache"] = 2,
    ["checkpoint_max_snapshot_overhead"] = 0,
    ["checkpoint_mode"] = 0,  -- "time"
    ["checkpoint_overwrite"] = true,
    ["checkpoint_post_script"] = "",
    ["checkpoint_quality_steps"] = 2,
    ["checkpoint_sample_cap"] = 0,
    ["checkpoint_snapshot_interval"] = 0,
    ["checkpoint_start_sample"] = 1,
    ["checkpoint_tile_order"] = 4,  -- "morton"
    ["checkpoint_time_cap"] = 0,
    ["checkpoint_total_files"] = 0,
    ["crypto_uv_attribute_name"] = "",
    ["cryptomatte_multi_presence"] = false,
    ["debug_console"] = -1,
    ["debug_pixel"] = IntVector(-2147483648, -2147483648),
    ["deep_curvature_tolerance"] = 45,
    ["deep_format"] = 1,  -- "opendcx2.0"
    ["deep_id_attribute_names"] = StringVector(),
    ["deep_vol_compression_res"] = 10,
    ["deep_z_tolerance"] = 2,
    ["dicing_camera"] = <null>,
    ["disable_optimized_hair_sampling"] = false,
    ["enable_displacement"] = true,
    ["enable_dof"] = true,
    ["enable_max_geometry_resolution"] = false,
    ["enable_motion_blur"] = true,
    ["enable_presence_shadows"] = false,
    ["enable_shadowing"] = true,
    ["enable_subsurface_scattering"] = true,
    ["exr_header_attributes"] = <null>,
    ["fast_geometry_update"] = false,
    ["fatal_bool"] = false,
    ["fatal_color"] = Rgb(1, 0, 1),
    ["fatal_int"] = 0,
    ["fatal_mat3f"] = Mat3f{ vx = (1, 0, 0), vy = (0, 1, 0), vz = (0, 0, 1) },
    ["fatal_mat4f"] = Mat4f{ vx = (1, 0, 0, 0), vy = (0, 1, 0, 0), vz = (0, 0, 1, 0), vw = (0, 0, 0, 1) },
    ["fatal_rgba"] = Rgba(1, 0, 1, 1),
    ["fatal_vec4f"] = Vec4f(0, 0, 0, 0),
    ["fps"] = 24,
    ["frame"] = 0,
    ["image_height"] = 1080,
    ["image_width"] = 1920,
    ["layer"] = <null>,
    ["light_samples"] = 2,
    ["light_sampling_mode"] = 0,  -- "uniform"
    ["light_sampling_quality"] = 0.5,
    ["lights_visible_in_camera"] = false,
    ["lock_frame_noise"] = false,
    ["log_debug"] = false,
    ["log_info"] = false,
    ["machine_id"] = -1,
    ["max_adaptive_samples"] = 4096,
    ["max_depth"] = 5,
    ["max_diffuse_depth"] = 2,
    ["max_frame"] = 0,
    ["max_geometry_resolution"] = 2147483647,
    ["max_glossy_depth"] = 2,
    ["max_hair_depth"] = 5,
    ["max_mirror_depth"] = 3,
    ["max_presence_depth"] = 16,
    ["max_subsurface_per_path"] = 1,
    ["max_volume_depth"] = 1,
    ["min_adaptive_samples"] = 16,
    ["min_frame"] = 0,
    ["motion_steps"] = FloatVector(-1, 0),
    ["num_machines"] = -1,
    ["on_resume_script"] = "",
    ["output_file"] = "scene.exr",
    ["pixel_filter"] = 1,  -- "cubic b-spline"
    ["pixel_filter_width"] = 3,
  * ["pixel_samples"] = 8,
    ["presence_quality"] = 0.75,
    ["presence_threshold"] = 0.999,
    ["primary_aov"] = <null>,
    ["progressive_tile_order"] = 4,  -- "morton"
    ["propagate_visibility_bounce_type"] = false,
    ["region_window"] = IntVector(-2147483648, -2147483648, -2147483648, -2147483648),
    ["res"] = 1,
    ["resumable_output"] = false,
    ["resume_render"] = false,
    ["roughness_clamping_factor"] = 0,
    ["russian_roulette_threshold"] = 0.0375,
    ["sample_clamping_depth"] = 1,
    ["sample_clamping_value"] = 10,
    ["sampling_mode"] = 0,  -- "uniform"
    ["scene_scale"] = 0.01,
    ["shadow_terminator_fix"] = 0,  -- "Off"
    ["slerp_xforms"] = false,
    ["stats_file"] = "",
    ["sub_viewport"] = IntVector(-2147483648, -2147483648, -2147483648, -2147483648),
    ["target_adaptive_error"] = 10,
    ["task_distribution_type"] = 1,  -- "multiplex pixel"
    ["texture_blur"] = 0,
    ["texture_cache_size"] = 4000,
    ["texture_file_handles"] = 24000,
    ["texture_update_mode"] = 1,  -- "lights and light filters only"
    ["tmp_dir"] = "",
    ["transparency_threshold"] = 1,
    ["two_stage_output"] = true,
    ["validate_geometry"] = false,
    ["volume_attenuation_factor"] = 0.65,
    ["volume_contribution_factor"] = 0.65,
    ["volume_illumination_samples"] = 4,
    ["volume_indirect_samples"] = 0,
    ["volume_opacity_threshold"] = 0.995,
    ["volume_overlap_mode"] = 0,  -- "sum"
    ["volume_phase_attenuation_factor"] = 0.5,
    ["volume_quality"] = 0.5,
    ["volume_shadow_quality"] = 1,
}

The above example of what it could look like is copy/pasted from the output of running rdl2_print -c SceneVariables, although I added the '*' next to the "pixel_samples" attribute to highlight the fact that '8' is not the default value.

filed from DWA internal issue: MOONRAY-5719

Ngôn ngữ chính
CMake
Star
4.7k
Fork
321
Merge trung bình
13 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenMoonRay/openmoonray

Tất cả issue của OpenMoonRay/openmoonray

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.