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

Mesh viewing quirks - Do I have a setting wrong?
http://sldev.free.fr/forum/viewtopic.php?f=4&t=2143
Page 3 of 3

Author:  Catten [ 2021-04-18 11:08:23 ]
Post subject:  Re: Mesh viewing quirks - Do I have a setting wrong?

Yea understandable hehe, would guess that if setting LL_BAD_VERTEX_SORTING to 1 changes the behaviour on linux and not mac, some define somewhere causes it not to be applied. will try and output from the routine and see if anything comes up.

Author:  Henri Beauchamp [ 2021-04-18 11:19:36 ]
Post subject:  Re: Mesh viewing quirks - Do I have a setting wrong?

Catten wrote:
would guess that if setting LL_BAD_VERTEX_SORTING to 1 changes the behaviour on linux and not mac, some define somewhere causes it not to be applied.
Wrong conclusion... The change of the define is enough to restore LL's original code (as used by Firestorm for macOS). Note that the value of this define does not change anything for Windows (both algorithms work as expected with VS2017 STL implementation)...

Author:  Catten [ 2021-04-18 11:41:43 ]
Post subject:  Re: Mesh viewing quirks - Do I have a setting wrong?

It never reaches that part of the code on mac, so that is why setting it to one doesn't change anything. Am trying to find out why right now.

Author:  Henri Beauchamp [ 2021-04-18 11:44:21 ]
Post subject:  Re: Mesh viewing quirks - Do I have a setting wrong?

Catten wrote:
It never reaches that part of the code on mac, so that is why setting it to one doesn't change anything. Am trying to find out why right now.
Impossible...

Do you have RenderOptimizeMeshVertexCache set to TRUE (detach the mesh and reattach it after changing this setting) ?...

Author:  Catten [ 2021-04-18 11:57:53 ]
Post subject:  Re: Mesh viewing quirks - Do I have a setting wrong?

Oh yea... I must have played around with it previously and forgot to set it to true again... Sorry about, that is rather embarrassing.

Works perfectly now in the default 1.28.2.20 version. Stupid brainfart on my end.

Author:  Henri Beauchamp [ 2022-04-23 08:49:03 ]
Post subject:  Re: Mesh viewing quirks - Do I have a setting wrong?

I am reviving this thread, because in today's releases (v1.28.2.67 and v1.29.0.3), a fixed version of Rye Mutt's meshoptimizer-based vertex cache optimizer code has been compiled in and enabled by default.

To avoid bad surprises, I also let the old (bogus) version by LL available (you can switch between them, or even turn them off from the "Advanced" -> "Rendering" menu).

The fixed meshoptimizer-based version seems to be working just fine for me, and brings the benefit to produce proper results as well under Linux (which is not the case of LL's version).

Please, let me know should it prove broken for you (if nobody objects, before next week, LL's bogus code will be gutted out from next releases).

Author:  etetet [ 2022-05-19 17:57:50 ]
Post subject:  Re: Mesh viewing quirks - Do I have a setting wrong?

Hello,

in my case, very positive feedback.
I was about to open a thread, and you fixed my (long pending issue) before I could open it :)

my issue was reproduceable strangely with some hair brands : small hair on the forehead was not visible ( like behind an alpha ) , and when activating old meshoptimizer, then it was a mess of straight lines . So reproducable that I could guess the hair brand (doux, and others) only by this glitch.

The new version completely fixes the issue. Thanks ! :)

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