Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-04-27 17:11:05



Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
Clothes disappearing toggling between EE/ALM. 
Author Message

Joined: 2022-12-29 20:36:55
Posts: 8
Reply with quote
I'm affected with disappearing clothes & items using v1.30.2.25.

The dress I saw this happening has hud menu to hide skirt, I did check that skirt part is enabled to show so it's not hidden by mistake.
Skirt doesn't show up when using EE and it shows fine when I switch to ALM. I can see the outline of skirt when I use "highlight transparent" in EE.
Also noticed that belly piercing that I use shows up with transparency in EE and shows up fine when I switch to ALM.

Code:
Cool VL Viewer v1.30.2.25, 64 bits, Aug 26 2023 10:24:46
RestrainedLove viewer v2.09.29.28
Release notes

CPU: Intel(R) Xeon(R) CPU E3-1245 v3 @ 3.40GHz (3401 MHz)
Memory: 16137MB
OS version: Microsoft Windows 10 64 bits v10.0 (build 19045.3324)
Memory manager: OS native
Graphics: NVIDIA GEFORCE GTX 1660 SUPER/PCIE/SSE2
Windows graphics driver version: Loading...
OpenGL version: 4.6.0 NVIDIA 516.59
Detected VRAM: 6144MB
J2C decoder: OpenJPEG: 1.4.0.635f
Audio driver: FMOD Studio v2.02.16
Networking backend: libcurl 7.47.0/OpenSSL 1.0.2u/zlib 1.2.11.zlib-ng
Browser plugin: Dullahan 1.12.3/CEF 91.1.21/Chromium 91.0.4472.114

Built with: MSVC v1936
Compiler-generated maths: SSE2.

Compile flags used for this build:
/O2 /Oi /DNDEBUG /D_SECURE_SCL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /std:c++17 /EHs /fp:fast /MP /TP /W2 /c /nologo /GS- /Zc:threadSafeInit- /DLL_WINDOWS=1 /DUNICODE /D_UNICODE /DWINVER=0x0601 /D_WIN32_WINNT=0x0601 /DLL_NETBIOS=1 /DBOOST_ALL_NO_LIB /DLL_FMOD=1 /DAPR_DECLARE_STATIC /DCURL_STATICLIB=1 /DXML_STATIC


Attachments:
belly_piercing.jpg
belly_piercing.jpg [ 25.81 KiB | Viewed 1548 times ]
CoolVLViewer.zip [32.54 KiB]
Downloaded 43 times
2023-08-31 14:11:41
Profile

Joined: 2009-03-17 18:42:51
Posts: 5554
Reply with quote
EE = Extended Environment. It is an evolution of Windlight (WL). The Cool VL Viewer v1.30.2 is using the EE renderer.

ALM = Advanced Lighting Model. It is one of the two rendering modes available in the EE renderer, the other mode being the forward (legacy, pre-materials) rendering mode. ALM is the deferred rendering mode allowing to render materials (with support for an Alpha masking mode, and two more textures per face: the normal map and the specular map), as well as, optionally, shadows.

It is totally normal that with ALM off (i.e. in legacy, pre-material, forward rendering mode) you cannot see properly items using materials: some may render matte instead of shiny, others will look flat instead of embossed, and yet others will simply vanish because they use Alpha masking...

This is in no way a bug, and there is no way to render materials with ALM off.


2023-08-31 14:24:42
Profile WWW

Joined: 2022-12-29 20:36:55
Posts: 8
Reply with quote
Attached in this reply has two snapshots using Cool VL Viewer v1.30.2.13.
I switched ALM on/off between these two snaps and skirt does show in both and I can see materials applied when ALM is on.

Edit: I do see from changelogs (version v1.30.2.23) that you have been debugging disappearing meshes when switching ALM on/off.
"Fixed the disappearing meshes when toggling the ALM mode on/off, introduced in the latest releases during pipeline settings observers code cleanup."


Attachments:
13_with_alm.jpg
13_with_alm.jpg [ 45.59 KiB | Viewed 1542 times ]
13_without_alm.jpg
13_without_alm.jpg [ 38.2 KiB | Viewed 1542 times ]
2023-08-31 15:17:21
Profile

Joined: 2009-03-17 18:42:51
Posts: 5554
Reply with quote
MiKiL wrote:
Attached in this reply has two snapshots using Cool VL Viewer v1.30.2.13.
I switched ALM on/off between these two snaps and skirt does show in both and I can see materials applied when ALM is on.

Edit: I do see from changelogs (version v1.30.2.23) that you have been debugging disappearing meshes when switching ALM on/off.
"Fixed the disappearing meshes when toggling the ALM mode on/off, introduced in the latest releases during pipeline settings observers code cleanup."

It may happen that a mesh "vanishes" just after switching to/from ALM: in this case ALT SHIFT R would make it reappear (or right-clicking on the "missing" mesh, or zooming far away and back in with the camera).

This, however, won't change how the meshes render once you keep the same mode...


2023-08-31 15:39:27
Profile WWW

Joined: 2022-12-29 20:36:55
Posts: 8
Reply with quote
Henri Beauchamp wrote:
It may happen that a mesh "vanishes" just after switching to/from ALM: in this case ALT SHIFT R would make it reappear (or right-clicking on the "missing" mesh, or zooming far away and back in with the camera).

This, however, won't change how the meshes render once you keep the same mode...

ALT-SHIFT-R or right-clicking area where skirt should be, doesn't make skirt reppear.
Only time when I see skirt is when I attach the dress for first time after login, dress rezzes with top and skirt visible and as soon it snaps to my body skirt goes invisible even when I haven't made it invisible via texture hud. (This in non ALM mode).


2023-08-31 16:20:42
Profile

Joined: 2009-03-17 18:42:51
Posts: 5554
Reply with quote
MiKiL wrote:
Only time when I see skirt is when I attach the dress for first time after login, dress rezzes with top and skirt visible and as soon it snaps to my body skirt goes invisible even when I haven't made it invisible via texture hud. (This in non ALM mode).
I cannot see this happening here (it is likely specific to that very mesh), so I need a mean to reproduce it: is there a demo dress I could get somewhere and that would reproduce what you are seeing ?

Also, please try and set the "UseNewBinRadiusCompute" debug setting to FALSE, and see if the issue still happens (you might need to relog for full effects).


2023-08-31 16:51:53
Profile WWW

Joined: 2022-12-29 20:36:55
Posts: 8
Reply with quote
Henri Beauchamp wrote:
I cannot see this happening here (it is likely specific to that very mesh), so I need a mean to reproduce it: is there a demo dress I could get somewhere and that would reproduce what you are seeing ?

Also, please try and set the "UseNewBinRadiusCompute" debug setting to FALSE, and see if the issue still happens (you might need to relog for full effects).

Ok, tested with "UseNewBinRadiusCompute" set to FALSE, relogged, no effect.

The dress I've been testing this is from Cloe called 'Hyein Dress' (https://marketplace.secondlife.com/stores/132639), dress is only available inworld and demo is also from there.
I also tested the demo version and was bit baffled to see the demo version working fine in both modes.
BUT
I could reproduce same "missing" effect with other item and demo version is also affected this time. Cover-up 5 demo from Absolut Creation, https://marketplace.secondlife.com/p/Co ... O/19050451


2023-08-31 17:41:07
Profile

Joined: 2009-03-17 18:42:51
Posts: 5554
Reply with quote
MiKiL wrote:
I could reproduce same "missing" effect with other item and demo version is also affected this time. Cover-up 5 demo from Absolut Creation, https://marketplace.secondlife.com/p/Co ... O/19050451
Many thanks !

With this demo, I could indeed reproduce this issue here, and found out the bug got introduced in v1.30.2.14, when I disabled a fix that got reverted in LL's code:
Quote:
  • Backported from LL's PBR viewer the reversal of a putative fix for "transparent alpha being white in some materials" due to "critical flaw of the fix replacing material (sometimes server side included) and ignoring user and script input in some cases that makes scripts misbehave".

Apparently, this fix also prevented rendering issues with some specific meshes, such as those you found about... I was a little wary about this reversal and simply disabled the corresponding code with a #define instead of removing the code, so fixing the bug just consists in changing that #define (if you compile the viewer yourself, simply change to read #define LL_FIX_MAT_TRANSPARENCY 1 at line 50 of linden/indra/newview/llface.h).

Since the PBR viewer, where this fix got reverted, is permanently in deferred rendering mode (ALM), LL did not notice the bug. Yet, there is something fishy with those meshes (can't tell what, since they are no-mod, and I could therefore not examine how they are textured and what alpha params they use)...

The fix will be in next release.


2023-08-31 21:22:04
Profile WWW

Joined: 2016-06-19 21:33:37
Posts: 342
Location: Columbus area, OH, USA
Reply with quote
Henri Beauchamp wrote:
Apparently, this fix also prevented rendering issues with some specific meshes, such as those you found about... I was a little wary about this reversal and simply disabled the corresponding code with a #define instead of removing the code, so fixing the bug just consists in changing that #define (if you compile the viewer yourself, simply change to read #define LL_FIX_MAT_TRANSPARENCY 1 at line 50 of linden/indra/newview/llface.h).
Changing the define and rebuilding resulted in an error. It appears that there is a stray control character (visible in vim) in linden/indra/newview/llface.h at:
Code:
155         void notifyAboutMissingAsset(LLViewerTexture* texp^S);
Deleting the ^S allowed the rebuild to continue and complete.


2023-08-31 23:58:26
Profile

Joined: 2009-03-17 18:42:51
Posts: 5554
Reply with quote
ZaneZimer wrote:
Changing the define and rebuilding resulted in an error.
Yes, there's a control character that should not be there (likely a CTRL S shortcut for "Save" in my editor that somehow got inserted in the line).


2023-09-01 06:47:37
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 24 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.