tcobbs/ldview

No antialias

Closed this issue · 6 comments

Describe the bug
Lines/edges has no antialias.

To Reproduce
Load car model, enable Antialiased lines in Preferences, inspect pixels of any edge.

Expected behavior
Lines/edges should have antialias.

Platform (please complete the following information):

  • OS: Kubuntu Linux
  • Version: 23.04
  • CPU Architecture: X86-64
  • GPU: Geforce 3090. Drivers 470.199.02

Additional context
LeoCad has antialias of edges/lines.

I could test only on Fedora 38 with Mesa3d. Antialias works well.
With antialias enabled:
image
Without antialias:
image
Which version of LDView do you use?

I'm running LDView 4.5 (Apr 23 2023)

Also tried deleting ~/.config/LDView/LDView.conf and restarting.

Which package do you use?
Do you use binary package or built from source code?
Which version of Qt?

ldview-qt5-4.5-ubuntu-22.04.amd64.deb
from: https://github.com/tcobbs/ldview/releases/download/v4.5/ldview-qt5-4.5-ubuntu-22.04.amd64.deb

I've also tried the LDView_4.5.dmg, on a m2 mbp, with "Antialiased lines", and got no antialias there as well.
image

tcobbs commented

ldview-qt5-4.5-ubuntu-22.04.amd64.deb from: https://github.com/tcobbs/ldview/releases/download/v4.5/ldview-qt5-4.5-ubuntu-22.04.amd64.deb

I've also tried the LDView_4.5.dmg, on a m2 mbp, with "Antialiased lines", and got no antialias there as well. image

Your screenshot does not contain any lines or edge lines. The "Antialiased lines" setting only works on lines and edge lines, not polygon face edges. LDView only supports fullscreen antialiasing in Windows. If you enable Edge Lines, you should see the antialiasing.

Solved it, thank you!