Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-04-27 14:47:27



Reply to topic  [ 5 posts ] 
PBR and sun/moon image position 
Author Message

Joined: 2016-06-19 21:33:37
Posts: 342
Location: Columbus area, OH, USA
Reply with quote
I realize PBR isn't 'ready for prime time' but I was experimenting and thought I would relay something I found. I haven't yet tested with the LL viewer. It seems the images of the sun and moon do not update their position as the region/parcel time advances (but lighting does). Selecting 'Refresh visibility of objects' will cause them to jump into their proper position, but they remain there until refreshing again. I noticed in a self built 1.31.0 version of the viewer with details as follows:
Code:
Cool VL Viewer v1.31.0.10, 64 bits, Oct 14 2023 08:36:54
Release notes

You are at 277792.4, 255922.9, 22.0  in Muddy Run located at
simhost-076e0a4804e05c130.agni.secondlife.io (54.244.179.155:13008)
Alias: ec2-54-244-179-155.us-west-2.compute.amazonaws.com
Second Life Server 2023-09-07.6113592855
Release notes

CPU: AMD Ryzen 7 3700X 8-Core Processor (4399 MHz)
Memory: 64205MB
OS version: Linux-x86_64 v6.5.7-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 11 04:07:58 UTC 2023
Memory manager: jemalloc v5.3.1-20230920
Graphics: NVIDIA GEFORCE GTX 1080 TI/PCIE/SSE2
OpenGL version: 4.6.0 NVIDIA 545.23.06
Detected VRAM: 11264MB
J2C decoder: OpenJPEG: 1.4.0.635f
Audio driver: OpenAL v1.1 ALSOFT 1.23.1 (OpenAL Soft: OpenAL Soft)
Networking backend: libcurl 7.64.1/OpenSSL 1.1.1v/zlib 1.2.13.zlib-ng/nghttp2 1.47.0
Browser plugin: Dullahan 1.13.1/CEF 118.0.1/Chromium 118.0.5993.22
Packets lost: 0/40752 (0.0%)

Built with: Clang/LLVM v16.0.6
Compiler-generated maths: AVX2.

Compile flags used for this build:
-O3 -fno-delete-null-pointer-checks -mno-retpoline -mno-retpoline-external-thunk -mno-lvi-cfi -mno-lvi-hardening -DNDEBUG -flto=thin -march=native -std=c++17 -fno-stack-protector -U_FORTIFY_SOURCE -fno-threadsafe-statics -fPIC -pipe -g -fexceptions -fno-strict-aliasing -fvisibility=hidden -fsigned-char -m64 -mfpmath=sse -fno-math-errno -fno-trapping-math -pthread -Wall -Wno-reorder -Werror -DLL_LINUX=1 -DLL_JEMALLOC=1 -DLL_OPENAL=1


*Update: Testing with Second Life Release 7.0.0.582103 (64bit) in Wine does not exhibit this behavior, I can see the moon image (because it's dimmer) incrementally moving through the sky.


Attachments:
CoolVLViewer.zip [34.61 KiB]
Downloaded 62 times
2023-10-25 08:54:44
Profile

Joined: 2009-03-17 18:42:51
Posts: 5554
Reply with quote
I lack time to test it right now: did you see it happening with LL's PBR viewer ?


2023-10-25 18:57:10
Profile WWW

Joined: 2016-06-19 21:33:37
Posts: 342
Location: Columbus area, OH, USA
Reply with quote
I added an update to the original post. I didn't see it happening with the latest GLTF viewer under Wine. At least for the moon image, it transits the sky normally. Sun is harder to seen when it's broken for the 'light' to move far enough to see the image of the sun disk in the original spot upon arriving from a TP.


2023-10-25 19:27:23
Profile

Joined: 2009-03-17 18:42:51
Posts: 5554
Reply with quote
Found the bug. Fixed for next release.

If you compile the viewer yourself, simply apply this patch:
Attachment:
pbr_update_sky-patch.txt [521 Bytes]
Downloaded 57 times

Thanks for the report.


2023-10-25 23:51:06
Profile WWW

Joined: 2016-06-19 21:33:37
Posts: 342
Location: Columbus area, OH, USA
Reply with quote
Appreciate the investigation and patch. I have applied it to the .10 release. The sun and moon images advance normally with PBR enabled.


2023-10-26 07:48:59
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 30 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.