From 70b0f33f45604174a00a37cf808e07efa22605f5 Mon Sep 17 00:00:00 2001 From: Ivan Avdeev Date: Mon, 15 Jan 2024 11:28:34 -0500 Subject: [PATCH] vk: update TODO; improve NewMap printing for debug --- ref/vk/TODO.md | 13 +++++++++++-- ref/vk/vk_scene.c | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ref/vk/TODO.md b/ref/vk/TODO.md index 36530940..da6327e5 100644 --- a/ref/vk/TODO.md +++ b/ref/vk/TODO.md @@ -1,9 +1,18 @@ +# 2024-01-15 E365 +- [x] filter out invalid (r=0, etc) lights in native + - [-] already do; it seems that clusters are not getting updates → see #730 +- [ ] pass point lights r² directly? +- [ ] move empirical scaling to native code +- [ ] modify point light radius in entity patches +- [ ] adjust brightness based on radius? +- [ ] P NaNs +- [ ] patchable sun angle +- [ ] common intersection-local-normal-oriented basis + # 2024-01-12 E362 - [ ] point→spherical light sampling - [x] 1/pdf → pdf *= 2π - [x] disk sampling - - [ ] modify radius in entity patches - - [ ] adjust brightness based on radius? # 2024-01-11 E361 - [x] fix zero-area polygon lights nanites, fixes #461 diff --git a/ref/vk/vk_scene.c b/ref/vk/vk_scene.c index 766824c2..50e25cf7 100644 --- a/ref/vk/vk_scene.c +++ b/ref/vk/vk_scene.c @@ -250,7 +250,7 @@ void R_NewMap( void ) { // and this R_NewMap call is from within loading of a saved game. const qboolean is_save_load = !!gEngine.pfnGetModelByIndex( 1 )->cache.data; - INFO( "R_NewMap, loading save: %d", is_save_load ); + INFO( "R_NewMap(%s) is_save_load=%d", map->name, is_save_load ); // New map causes entites to be reallocated regardless of whether it was save-load. // This realloc invalidates all previous entity data and pointers.