realthunder / FreeCAD

Link branch FreeCAD
Other
770 stars 45 forks source link

Edge rendering broken #898

Open mgth opened 11 months ago

mgth commented 11 months ago

Using Tip 2023.10.18 in windows FreeCAD-Link-Tip-Win-x86_64-py3.11-20231018.7z

Edge rendering is ok when mouse is in viewport, but completely broken when the pointer leave the zone :

Capture d'écran 2023-10-20 114702 Capture d'écran 2023-10-20 114802
mgth commented 11 months ago

After some testing only auto/distributed render cache is affected. Centralized and experimental are ok.

realthunder commented 11 months ago

Could you please post the file, or maybe reproduce the problem with a simplified one?

mgth commented 10 months ago

yes, on simple cube the vertex joins wrong corners : cube.zip image

realthunder commented 10 months ago

I can't reproduce the problem. Could you please send me your user config, Tools -> Edit parameters -> Export.

mgth commented 10 months ago

mgth.zip

alexawka commented 5 months ago

I have encountered same problem. When rotating object, edges get jumbled up. When hovering or clicking on object - render fixes itself until next rotation. Changing Render Cache to Experimental fixed the issue. FreeCad official does not seem to have same issue.

PC is Windows 11 and AMD GPU with latest drivers. Prior on two Windows 10 and NVidia GPU it was not encountered.

Maybe windows version of gpu drivers are at fault?

realthunder commented 5 months ago

Yes, I can reproduce this on an AMD Windows machine, which leads me to think it is an OpenGL driver compatibility problem. I have yet to find any fix for this. Meanwhile, please try to change Preference -> Display -> Render caching to Experiemental. It works fine on my machine.