File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
large-scale-viz/high_perf_character_render/src Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -184,12 +184,12 @@ async fn run() -> Result<()> {
184184 continue ;
185185 }
186186
187- // Check pixel distance - only interpolate if moving <= 4 *16 pixels (4 tiles)
187+ // Check pixel distance - only interpolate if moving <= 3 *16 pixels (3 tiles)
188188 let pixel_dx = ( next_pos[ 0 ] - current_pos[ 0 ] ) . abs ( ) ;
189189 let pixel_dy = ( next_pos[ 1 ] - current_pos[ 1 ] ) . abs ( ) ;
190- let pixel_distance = pixel_dx. max ( pixel_dy) ;
190+ let pixel_distance = pixel_dx + pixel_dy;
191191
192- let should_interpolate = pixel_distance <= 4 .0 * 16.0 ;
192+ let should_interpolate = pixel_distance <= 3 .0 * 16.0 ;
193193 let interp_t = if should_interpolate { interpolation_t } else { 0.0 } ;
194194
195195 // Interpolate position
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ impl CoordinateMapper {
7272
7373 [ x, y]
7474 } else {
75- log:: warn !( "No map coordinate location for id: {}" , map_region_id) ;
75+ log:: debug !( "No map coordinate location for id: {}" , map_region_id) ;
7676 INVALID_MAP_ID_FLAG // invalid for example 255 is seen sometimes
7777 }
7878 }
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ impl ProResEncoder {
5050 "-i" , "pipe:0" ,
5151 "-c:v" , "libx264" ,
5252 "-preset" , "slow" ,
53- "-crf" , "15 " , // Near-lossless quality (comparable to ProRes 4444)
53+ "-crf" , "12 " , // Near-lossless quality (comparable to ProRes 4444)
5454 "-pix_fmt" , "yuv444p" , // 4:4:4 chroma subsampling for max quality
5555 "-threads" , "8" ,
5656 rgb_path. to_str ( ) . unwrap ( ) ,
You can’t perform that action at this time.
0 commit comments