Cool VL Viewer forum
http://sldev.free.fr/forum/

Avatar rendering as black with a dress on
http://sldev.free.fr/forum/viewtopic.php?f=4&t=1967
Page 1 of 4

Author:  GeoffEarnshaw [ 2019-10-11 17:05:23 ]
Post subject:  Avatar rendering as black with a dress on

Hello Henri,

I honestly do not know if this is an issue with this viewer CVL or something else. I notice this issue a couple of months ago but haven't had the time to do anything about it until now. Users of Cool VL, their avatars are appearing black and having a skirt/dress on to those who use FS and even CLV as if they are not rezing completely. Other CVL users are now complaining that their avatar is appearing black for other people also. However, they are able to see their own avatar completely normal. DreamNation just recently announced that DN is officially endorsing Cool VL as the preferred viewer for the gird. So this is an issue we have going on.

This snapshot was taken on a FS viewer. But CLV viewer will see the same thing.
Image

Viewer Info:
Code:
Cool VL Viewer v1.26.22.62, 64 bits, Sep 28 2019 09:32:05
Release Notes

You are at 2559043.3, 2560117.1, 3501.0  in Commune located at
dnusa6.dreamnation.net (74.118.76.132:9119)
OpenSim 0.9.1.0 DreamNation df1e4f88377eb501f7e8a9b66faf1d18ea0419d8 2019-07-20 04:45:42 -0700 (Unix/Mono)

CPU: AMD Athlon(tm) II X4 640 Processor (2300 MHz)
Memory: 12005MB
OS version: Linux-x86_64 v5.0.0-31-generic #33~18.04.1-Ubuntu SMP Tue Oct 1 10:20:39 UTC 2019
Memory manager: jemalloc v5.2.1-20190913
Graphics card vendor: NVIDIA Corporation
Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2
OpenGL version: 4.6.0 NVIDIA 430.26
Detected VRAM: 4096MB
J2C decoder: OpenJPEG: 1.4.0.635f
Audio driver: FMOD Studio v2.00.04 (PulseAudio)
Networking backend: libcurl/7.47.0 OpenSSL/1.0.2s zlib/1.2.11
Embedded browser: CEF3 plugin v74.1.19+gb62bacf+chromium-74.0.3729.157
Packets lost: 55/82315 (0.1%)

Built with: GCC v4.8.5
Compiler-generated maths: SSE2.

Compile flags used for this build:
-O3 -fno-delete-null-pointer-checks -fno-align-labels -fno-align-loops -fno-ipa-cp-clone -fsched-pressure -frename-registers -fweb -DNDEBUG -std=c++98 -pipe -g -gdwarf-2 -gstrict-dwarf -fno-var-tracking-assignments -fexceptions -fno-strict-aliasing -fvisibility=hidden -fsigned-char -m64 -mfpmath=sse -fno-math-errno -fno-trapping-math -pthread -fno-stack-protector -Wall -Wno-reorder -Wno-unused-local-typedefs -Werror -DLL_LINUX=1 -D_REENTRANT -D_GLIBCXX_USE_C99_MATH=1 -DXML_STATIC -DLL_USE_JEMALLOC=1 -DLL_ELFBIN=1 -DLL_LUA=1 -DOV_EXCLUDE_STATIC_CALLBACKS -DLL_FMODSTUDIO=1 -DLL_OPENAL=1 -DLL_SDL=1 -DLIB_NDOF=1 -DLL_X11=1


Log File:
https://drive.google.com/open?id=1la6dK ... QwZvrhVGLe

Thanks,
Geoff

Author:  Henri Beauchamp [ 2019-10-11 17:46:00 ]
Post subject:  Re: Avatar rendering as black with a dress on

Make sure everyone is using a bake-on-mesh enabled viewer... There are new texture bakes (leftarm-baked leftleg-baked aux1-baked aux2-baked aux3-baked), which might appear black in OpenSIM for viewers not implementing bake on mesh.

Author:  Henri Beauchamp [ 2019-10-11 18:50:42 ]
Post subject:  Re: Avatar rendering as black with a dress on

OK... In doubt, I double-checked and I managed to register a second avatar on an OpenSIM grid (hard to do so in a short time, without having to wait for approval) and verified with two Cool VL Viewer instances, and indeed, the additional bake on mesh textures are messing up even my viewer for other avatars than mine on my screen...

I found a quick work-around for it, but it will cause the additional bakes not to be uploaded (meaning they won't be usable on meshes)... I will have to find a better way, if possible only viewer-side (a server modification might be needed).

The fix will be in tomorrow's releases.

Author:  GeoffEarnshaw [ 2019-10-11 20:12:53 ]
Post subject:  Re: Avatar rendering as black with a dress on

Thanks Henri!

I'm sure any server side adjustments can be made if that is the only way to fix meshes. You can contact you know who for any requests on the server side modifications.

Thanks,
Geoff

Author:  GeoffEarnshaw [ 2019-10-16 20:37:30 ]
Post subject:  Re: Avatar rendering as black with a dress on

Hello Henri,

Seems the latest fix did not fully fix the rendering issue with mesh bodies. Are you still working on the issue woith the bake layers not being uploaded? When I logged on for the first time with the recent version v1.26.22.63. My avatar was a cloud to other people using CLV and FS. I then took off everything where my avatar was non-mesh. My alt using FS was then able to see me but my skin texture never loaded. I then reattached my mesh body and my alt could see me in my mesh body but my skin or alpha layer never loaded. Waki, who is on OSX Cool viewer is a cloud to my alt using FS and to me using Cool. He re-logged but no change in his appearance or mine when I re-logged. It seems to be related to alpha layer for mesh bodies and skin textures for some odd reason. When taking off the alpha layer, I was able to be seen. However the skin texture never loaded.

Viewer info:
Code:
Cool VL Viewer v1.26.22.63, 64 bits, Oct 12 2019 09:21:14
Release Notes

You are at 2560626.2, 2559599.5, 21.9  in Festival Arena located at
dnusa7.dreamnation.net (74.118.76.133:9019)
OpenSim 0.9.1.0 DreamNation df1e4f88377eb501f7e8a9b66faf1d18ea0419d8 2019-07-20 04:45:42 -0700 (Unix/Mono)

CPU: AMD Athlon(tm) II X4 640 Processor (3000 MHz)
Memory: 12005MB
OS version: Linux-x86_64 v5.0.0-31-generic #33~18.04.1-Ubuntu SMP Tue Oct 1 10:20:39 UTC 2019
Memory manager: jemalloc v5.2.1-20190913
Graphics card vendor: NVIDIA Corporation
Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2
OpenGL version: 4.6.0 NVIDIA 430.26
Detected VRAM: 4096MB
J2C decoder: OpenJPEG: 1.4.0.635f
Audio driver: FMOD Studio v2.00.04 (PulseAudio)
Networking backend: libcurl/7.47.0 OpenSSL/1.0.2s zlib/1.2.11
Embedded browser: CEF3 plugin v74.1.19+gb62bacf+chromium-74.0.3729.157
Packets lost: 40/47375 (0.1%)

Built with: GCC v4.8.5
Compiler-generated maths: SSE2.

Compile flags used for this build:
-O3 -fno-delete-null-pointer-checks -fno-align-labels -fno-align-loops -fno-ipa-cp-clone -fsched-pressure -frename-registers -fweb -DNDEBUG -std=c++98 -pipe -g -gdwarf-2 -gstrict-dwarf -fno-var-tracking-assignments -fexceptions -fno-strict-aliasing -fvisibility=hidden -fsigned-char -m64 -mfpmath=sse -fno-math-errno -fno-trapping-math -pthread -fno-stack-protector -Wall -Wno-reorder -Wno-unused-local-typedefs -Werror -DLL_LINUX=1 -D_REENTRANT -D_GLIBCXX_USE_C99_MATH=1 -DXML_STATIC -DLL_USE_JEMALLOC=1 -DLL_ELFBIN=1 -DLL_LUA=1 -DOV_EXCLUDE_STATIC_CALLBACKS -DLL_FMODSTUDIO=1 -DLL_OPENAL=1 -DLL_SDL=1 -DLIB_NDOF=1 -DLL_X11=1


Log file:
https://drive.google.com/file/d/1vGxiNX ... sp=sharing

Thanks,
Geoff

Author:  GeoffEarnshaw [ 2019-10-16 20:56:00 ]
Post subject:  Re: Avatar rendering as black with a dress on

Also,

seems those who are on Firestorm 6 and who have the setting checked for "Show avatars that haven't finished loading" can see those Cool VL viewer uses with mesh bodies but the face if greyed and wont load.

See settings screenshot
https://gyazo.com/14e1657f660fbbe6ba699ee477e1685e

Geoff

Author:  GeoffEarnshaw [ 2019-10-16 21:06:51 ]
Post subject:  Re: Avatar rendering as black with a dress on

Well after troubleshooting a little more, Waki :oops: found a fix so we can view each other. Seems the fix is to check "Always render friends regardless of their avatar complexity" in CVL settings. Everyone else using Cool VL Viewer will have to check that box. But those on FS will still see an avatar with a grey face when they have "Show avatars that haven't finished loading" enabled, depending on their version of FS.

Geoff

Author:  Waki Janus [ 2019-10-16 22:58:40 ]
Post subject:  Re: Avatar rendering as black with a dress on

Thank you Geoff for this.

The fix he mentions is not a real fix as it does not address the underlying problem with alpha layers and skin textures not rezzing or rendering. This is a Cool VL viewer issue only as I don't have any issues in FS6 for OS or Singularity. Hope it can be resolved soon as it rather halted my campaign to get all OS users adopting Cool VL Viewer and boycotting Firestorm.

Waki

Author:  Henri Beauchamp [ 2019-10-17 14:15:06 ]
Post subject:  Re: Avatar rendering as black with a dress on

The problem is two-folds:
  • Old viewers do not know how to deal with the new bake channels, and consider your avatar is not rezzed because they don't know what to do with them.
  • The new Universal wearable, which implements the additional bake textures, that are not for use with the legacy avatar but only on mesh objects (or more accurately, on attachments, mesh or not) also introduced new parameters in the avatar_lad.xml file, and cannot therefore be ignored by BoM-enabled viewers, even if not used; it also introduced many new texture layers, that too must be dealt with in BoM viewers. When implementing it, LL totally ignored viewer-side baking (since that code does not even exist any more in their viewer) and thus, the OpenSIM-specific code (i.e. viewer-side baking and handling of the new bakes) needs to be modified to cope with the new channels/layers/bakes.

Since no other BoM viewer has so far been modified to actually work in OpenSIM, I'm pretty much exploring an unknown territory...

While fixing the black avatars and limiting the number of uploaded bakes to the legacy ones was easy, it is not sufficient (in particular, the agent appearance update messages also needed to be changed to limit the number of bakes to the legacy ones).

I just put the final touch to several changes that should fix all issues and (hopefully) be also future-proof (provided OpenSim developers do look at my code before they will implement Universal additional bake channels support):
  • The "BakesOnMeshEnabled" simulator feature is now used as a switch to decide whether to upload the additional bakes or not. Note that, regardless, since "Bake on Mesh" is purely a viewer-side trick, it works (i.e. it renders properly in BoM-enabled viewers) in any simulator for legacy bakes (hair, eyes, head, upper and lower body, skirt). That sim feature is badly named (since it only reflects additional bakes support, and not BoM itself).
  • The user may further restrict the sending of bakes to legacy ones via a debug setting (in fact, this is the default behaviour unless you change that setting): this ensures backward compatibility with old viewers when your avatar is not wearing BoM stuff (of course, old viewers will never be able to properly render any avatar using BoM attachments).

I will compile a beta viewer (Linux only, sorry) and will let Geoff test it (since he uses Linux too).

If everything goes well, next Saturday's releases should have everything sorted out.

Author:  GeoffEarnshaw [ 2019-10-17 16:21:14 ]
Post subject:  Re: Avatar rendering as black with a dress on

Thanks Henri,

I will test it when I have some free time either today or this weekend and get back with you.

Geoff

Page 1 of 4 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/