|
|
@ -19,19 +19,22 @@ pub const ANGLE_POWER: f64 = 2.; |
|
|
|
|
|
|
|
|
|
|
|
//pub const IMG_WIDTH: usize = 480;
|
|
|
|
//pub const IMG_WIDTH: usize = 480;
|
|
|
|
//pub const IMG_WIDTH: usize = 1280;
|
|
|
|
//pub const IMG_WIDTH: usize = 1280;
|
|
|
|
pub const IMG_WIDTH: usize = 1080; |
|
|
|
//pub const IMG_WIDTH: usize = 1080;
|
|
|
|
|
|
|
|
//pub const IMG_WIDTH: usize = 1920;
|
|
|
|
|
|
|
|
pub const IMG_WIDTH: usize = 4961; |
|
|
|
//pub const IMG_HEIGHT: usize = 480;
|
|
|
|
//pub const IMG_HEIGHT: usize = 480;
|
|
|
|
//pub const IMG_HEIGHT: usize = 720;
|
|
|
|
//pub const IMG_HEIGHT: usize = 720;
|
|
|
|
pub const IMG_HEIGHT: usize = 1080; |
|
|
|
//pub const IMG_HEIGHT: usize = 1080;
|
|
|
|
|
|
|
|
pub const IMG_HEIGHT: usize = 3508; |
|
|
|
pub const IMG_DIM: usize = if IMG_HEIGHT > IMG_WIDTH { IMG_HEIGHT } else { IMG_WIDTH }; |
|
|
|
pub const IMG_DIM: usize = if IMG_HEIGHT > IMG_WIDTH { IMG_HEIGHT } else { IMG_WIDTH }; |
|
|
|
pub const IMG_SIZE: usize = IMG_WIDTH * IMG_HEIGHT; |
|
|
|
pub const IMG_SIZE: usize = IMG_WIDTH * IMG_HEIGHT; |
|
|
|
pub const IMG_BYTE_SIZE: usize = IMG_SIZE * 3; |
|
|
|
pub const IMG_BYTE_SIZE: usize = IMG_SIZE * 3; |
|
|
|
|
|
|
|
|
|
|
|
//pub const SUPERSAMPLING: usize = 1;
|
|
|
|
pub const SUPERSAMPLING: usize = 1; |
|
|
|
pub const SUPERSAMPLING: usize = 2; |
|
|
|
//pub const SUPERSAMPLING: usize = 2;
|
|
|
|
//pub const RAYS_PER_PIXEL: usize = 1;
|
|
|
|
pub const RAYS_PER_PIXEL: usize = 1; |
|
|
|
//pub const RAYS_PER_PIXEL: usize = 50;
|
|
|
|
//pub const RAYS_PER_PIXEL: usize = 50;
|
|
|
|
pub const RAYS_PER_PIXEL: usize = 500; |
|
|
|
//pub const RAYS_PER_PIXEL: usize = 500;
|
|
|
|
//pub const MAX_BOUNCES: u32 = 1;
|
|
|
|
//pub const MAX_BOUNCES: u32 = 1;
|
|
|
|
//pub const MAX_BOUNCES: u32 = 4;
|
|
|
|
//pub const MAX_BOUNCES: u32 = 4;
|
|
|
|
//pub const MAX_BOUNCES: u32 = 8;
|
|
|
|
//pub const MAX_BOUNCES: u32 = 8;
|
|
|
@ -39,7 +42,7 @@ pub const MAX_BOUNCES: u32 = 10; |
|
|
|
|
|
|
|
|
|
|
|
//pub const THREAD_COUNT: usize = 1;
|
|
|
|
//pub const THREAD_COUNT: usize = 1;
|
|
|
|
pub const THREAD_COUNT: usize = 12; |
|
|
|
pub const THREAD_COUNT: usize = 12; |
|
|
|
pub const SLICES_PER_THREAD: usize = 16; |
|
|
|
pub const SLICES_PER_THREAD: usize = 32; |
|
|
|
pub const REPORT_STATUS: bool = true; |
|
|
|
pub const REPORT_STATUS: bool = true; |
|
|
|
|
|
|
|
|
|
|
|
pub const UP: Vec3 = Y; |
|
|
|
pub const UP: Vec3 = Y; |
|
|
|