Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-19 02:15:02



Reply to topic  [ 27 posts ]  Go to page Previous  1, 2, 3
Mesh viewing quirks - Do I have a setting wrong? 
Author Message

Joined: 2011-09-17 11:12:19
Posts: 360
Reply with quote
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.


2021-04-18 11:08:23
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
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)...


2021-04-18 11:19:36
Profile WWW

Joined: 2011-09-17 11:12:19
Posts: 360
Reply with quote
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.


2021-04-18 11:41:43
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
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) ?...


2021-04-18 11:44:21
Profile WWW

Joined: 2011-09-17 11:12:19
Posts: 360
Reply with quote
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.


2021-04-18 11:57:53
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
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).


2022-04-23 08:49:03
Profile WWW

Joined: 2019-04-20 10:24:55
Posts: 28
Reply with quote
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 ! :)


2022-05-19 17:57:50
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 27 posts ]  Go to page Previous  1, 2, 3

Who is online

Users browsing this forum: No registered users and 3 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:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.