Display faded

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
User avatar
andrew
Site Admin
Posts: 9063
Joined: Fri Mar 30, 2007 6:07 am

Display faded

Post by andrew » Fri Nov 13, 2020 11:01 am

From a QCAD user:
When i am using anti aliasing view all the fittings looks in one piece but the view is very faded. The screen is not bright enough. When I am using Screen based Linetypes (NL) the screen brightness is perfect but i cannot see the blocks in one piece (they are dashed). So how can I solve this screen brightness problem?

User avatar
andrew
Site Admin
Posts: 9063
Joined: Fri Mar 30, 2007 6:07 am

Re: Display faded

Post by andrew » Fri Nov 13, 2020 11:11 am

Can you post a screenshot of what this looks like to visualize the problem? Perhaps, you can switch off anti aliasing?
View > Anti-aliasing

CVH
Premier Member
Posts: 3476
Joined: Wed Sep 27, 2017 4:17 pm

Re: Display faded

Post by CVH » Fri Nov 13, 2020 11:45 am

andrew wrote:
Fri Nov 13, 2020 11:01 am
When i am using anti aliasing view all the fittings looks in one piece but the view is very faded.
I can not reproduce this.
On my monitor both Normal and Screen-Based in Model Space looks OK.
There are a few minor differences noticeable.
In fact there is not much to render faded while the thousands of polylines all have a rather large custom Width.
Didn't even attempt to view them in Paper Space!
andrew wrote:
Fri Nov 13, 2020 11:01 am
i cannot see the blocks in one piece (they are dashed).
Define 'view'.
Explain 'dashed' :
'dashed' as represented as dashed lines.
Or
'dashed' as everything is segmented ...

... That's what you get when you represent a circle with line segments.
But far worse is the use of a huge amount of tiny segments for simple straight lines.
I reported:
  • Fully at random:
    F-0-1 (4 lines) are 77 polylines
    F-1-0 (squared light fixture?) are 799 polylines
    W-85-0 (a simple door: 4 lines + 1 arc) are 64 polylines
    GFF-16-6 (4 circles) are 255 polylines
Regards,
CVH

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4941
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: Display faded

Post by Husky » Sat Nov 14, 2020 5:19 am

Current QCAD Pro version, Win10/64, Monitor resolution 1920x1080 pixels

Brightness of Entity colors:
Yes, it's reproducible. Anti Aliasing OFF provides brighter colors.

Not sure if a screenshot can show that effect:


Anti Aliasing OFF
Husky-2020.11.13-09.png
Husky-2020.11.13-09.png (9.54 KiB) Viewed 6416 times


Anti Aliasing ON
Husky-2020.11.13-10.png
Husky-2020.11.13-10.png (20.74 KiB) Viewed 6416 times

Dashed effect:
Yes and no, regarding to the zoom factor there is an effect that looks like ticks on a ruler but not dashed.

Drawn with continuous lines:
Husky-2020.11.13-11.png
Husky-2020.11.13-11.png (5.71 KiB) Viewed 6416 times
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

CVH
Premier Member
Posts: 3476
Joined: Wed Sep 27, 2017 4:17 pm

Re: Display faded

Post by CVH » Sat Nov 14, 2020 7:10 am

Husky wrote:
Sat Nov 14, 2020 5:19 am
Not sure if a screenshot can show that effect:
Hardly noticeable ... the two PNG files have about the same brightness on my monitor.

When I catch the pixel colors, they are the same.
Anti Aliasing is somewhat less pixelated.
To do so, adjacent pixels have a shaded color.

Husky wrote:
Sat Nov 14, 2020 5:19 am
Dashed effect:
Yes and no, regarding to the zoom factor there is an effect that looks like ticks on a ruler but not dashed.
I don't have those in standard view.
These are artifacts of segments touching and the use of Anti Aliasing.
(Edit Block, select two in-line segments)
Husky wrote:
Sat Nov 14, 2020 5:19 am
Drawn with continuous lines:
My point exactly, the shown yellow staircase with arrow consists of 915 Polylines.
The inner 'spokes' are 12 Polylines each, Width 3mm and doubled at 1.6474938 apart.
That are 24 Polylines every 'spoke'.

E.g.
Layer 'fluofittings', 397 Block References, explode to 199,205 Polylines with various widths.
(Can't do it in one go as QCAD will crash eventually)
There are only 14 different types of pictograms used for 'fluofittings'.
But, every Block References has its own definition.

The file comes as a DWG of 5.14Mbyte.
Once altered a single piece, I have a DXF backup file of 50Mbyte.
What swiftly exceeds the 100Mbyte.
In short: unworkable.

I assume 'fkirim' isn't reading these posts anymore.
He was in a hurry to get a quick fix.
Andrew proposed a refund.

Regards,
CVH

planksworkshop
Active Member
Posts: 28
Joined: Tue May 21, 2019 6:06 pm
Location: Canada

Re: Display faded

Post by planksworkshop » Sun Nov 29, 2020 5:49 am

I opened the file. Looking at the drawing i had to laugh as the doors could never open more than 90 degrees. :roll: Also why so many polylines? e_confused Bad drawing. Irregardless the only way i get display fading is turning Screen-Based Linetypes on and off. This causes the wall thickness to increase causing the screen to be much brighter. Anti-Aliasing works as should, no display fading. I do notice that the doors are very faint red. Just for fun i opened the drawing with 3 other different Expensive CAD programs on my work computer. QCAD looks quite nice don't you think :D The CAD file is truly crazy and i would not accept it in a business case.
QCAD dim doors Display .png
QCAD dim doors Display .png (318.22 KiB) Viewed 6252 times
CorelCAD AKA Draftsight Pro AKA ARES.png
CorelCAD AKA Draftsight Pro AKA ARES.png (132.15 KiB) Viewed 6252 times
progeCAD AKA IntelliCAD.png
progeCAD AKA IntelliCAD.png (150.37 KiB) Viewed 6252 times
TurboCAD.png
TurboCAD.png (263.77 KiB) Viewed 6252 times

CVH
Premier Member
Posts: 3476
Joined: Wed Sep 27, 2017 4:17 pm

Re: Display faded

Post by CVH » Sun Nov 29, 2020 6:33 am

planksworkshop wrote:
Sun Nov 29, 2020 5:49 am
This causes the wall thickness to increase causing the screen to be much brighter.
All the polylines use a custom width and QCAD renders those differently as Screen-Based or not.
Screen-Based can be best seen as 'Trying to display what it would look like on paper'.
Paper is easily 300dpi and up. Never came across a 1200dpi screen yet. :wink:
planksworkshop wrote:
Sun Nov 29, 2020 5:49 am
I do notice that the doors are very faint red
Seems to be true in a 2558x1375 screen grab. On a 1920x1080 screen they are bright red.
Here the screen looks more as the TurboCAD example.
Wow, you really got place to spare for the List widgets :shock:
planksworkshop wrote:
Sun Nov 29, 2020 5:49 am
The CAD file is truly crazy and i would not accept it in a business case.
That was our point exactly, but the guy kept coming back with that QCAD should solve his issues in a hurry, in a click. :roll:
He never provided the origin of the file, nor what application.

Regards,
CVH

planksworkshop
Active Member
Posts: 28
Joined: Tue May 21, 2019 6:06 pm
Location: Canada

Re: Display faded

Post by planksworkshop » Tue Dec 01, 2020 9:41 pm

Here is a test i did mainly to learn how to upload animations to this Forum. I used FFmpeg to create the GIF in High Quality.(ffmpeg -i input.mkv -vf "fps=10,scale=0:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 output.gif) I created a 5 polyline door beside the 64 polyline block door on the door layer in the drawing. This is on a 1080 screen. Nobody would typically draw a 64 polyline door but maybe a 64 polyline block. So it seems the more polylines in view at a time the more QCAD has troubles rendering to screen. At least with small short polylines. I also tried different colours with same results.
FadingDoors.gif
FadingDoors.gif (3.97 MiB) Viewed 6179 times

CVH
Premier Member
Posts: 3476
Joined: Wed Sep 27, 2017 4:17 pm

Re: Display faded

Post by CVH » Tue Dec 01, 2020 11:12 pm

Indeed,
Starting at a certain point:
Render time is proportional to item count.(in view)

Same with hatches.(Not strickly in view)
See: https://qcad.org/rsforum/viewtopic.php? ... 842#p30600
1.187.565 shapes making up the patterns in all hatches. :shock:

Speed can also decrease a lot after an AutoSave.
dwg file size vs dxf backup.

About the fading: Did you try Screen-based with your last trial?
I find that the 1080 screen example is still with very thin lines. :wink:

CVH

planksworkshop
Active Member
Posts: 28
Joined: Tue May 21, 2019 6:06 pm
Location: Canada

Re: Display faded

Post by planksworkshop » Wed Dec 02, 2020 12:00 am

Here is a test 1080 with Screen-based Linetypes and Anti-Alias enabled. Previous post was no Screen-based Linetypes
DoorsFading1080SblAa.gif
DoorsFading1080SblAa.gif (3.04 MiB) Viewed 6170 times

planksworkshop
Active Member
Posts: 28
Joined: Tue May 21, 2019 6:06 pm
Location: Canada

(Solved)Re: Display faded

Post by planksworkshop » Wed Dec 02, 2020 12:53 am

To Answer the OP Question of Why do my Blocks look Dashed? Your Blocks are made with lots of little PolyLines (not ideal drawing practice) with a Global Width of 0.03937008" Change Global Width to 0" to inherit the Layer LineWeight properties and the problem of "Dashed Lines" is resolved. I'm showing 1 Block Exploded for proof of concept as original drawing has many identical but individual Blocks e_confused
Solved.gif
Solved.gif (1.69 MiB) Viewed 6167 times

Post Reply

Return to “QCAD 'How Do I' Questions”