When lines and text are anti-aliased the background color is used as the basis for the anti-aliasing.
When there is a raster image behind the lines the anti-aliased edges become more prominent and interfere with the proper appearance of the line work.
Black BG anti-alias OFF
Black BG anti-alias ON
White BG anti-alias OFF
White BG anti-alias ON
Regards,Ron
[SOLVED] 2D Vector Anti-Aliasing Blurring and Disappearing over Raster Attachments in CONNECT Edition (U16)
I have found a permanent fix for the rendering artifacts in the new Qvision engine. When working with 2D cadastral lines over raster images, the lines either appeared jagged or, with anti-aliasing enabled, blended incorrectly into the application background. The root cause is how DirectX 11 handles the Z-buffer in 2D views, combined with a hidden mask forced by the
MS_BACKGROUNDMAP_SHOWvariable. This issue can be resolved using a combination of 9 configuration variables, which ensures correct layer synchronization (as stable as the V8i engine) without losing rendering performance. Attached is the definitive guide and a script to automatically deploy these settings into yourPersonal.ucforOrganizationconfiguration files.Read text file added bellow comment
To use this script, copy it into a text file, save it with a .bat extension, and execute it.
@echo off
chcp 437 >nul
:: MicroStation CONNECT Edition (U16/U17) Graphic Fix Script
:: This script configures 9 key variables to restore sharp 2D vector antialiasing over large rasters.
:menu
cls
echo =======================================================================
echo MICROSTATION CONNECT EDITION - GRAPHIC & ANTIALIASING FIX
echo =======================================================================
echo This script applies 9 specific configuration variables to clean up
echo the Qvision engine rendering, force stable 2D layering, and restore
echo sharp vector antialiasing on active lines and attached references.
echo =======================================================================
echo.
echo [1] Apply to LOCAL USER PROFILE (Personal.ucf - No Admin required)
echo [2] Apply GLOBALLY TO SYSTEM (Organization level - Requires Admin)
echo [3] Exit
echo.
set /p choice="Enter your choice (1-3): "
if "%choice%"=="1" goto local_user
if "%choice%"=="2" goto global_system
if "%choice%"=="3" goto exit_script
goto menu
:local_user
set "target_dir=%LocalAppData%\Bentley\MicroStation\10.0.0\prefs"
set "target_file=%target_dir%\Personal.ucf"
if not exist "%target_dir%" mkdir "%target_dir%"
echo. >> "%target_file%"
echo # ================================================================= >> "%target_file%"
echo # DEFINITIVE 2D GRAPHIC AND ANTIALIASING FIX FOR CONNECT EDITION >> "%target_file%"
echo # ================================================================= >> "%target_file%"
echo MS_BACKGROUNDMAP_SHOW = 0 >> "%target_file%"
echo MS_REF_DELAYINIT = 1 >> "%target_file%"
echo MS_RASTER_DESHEDDING = 1 >> "%target_file%"
echo QV_DISABLE_D3D11_ZBUFFER = 1 >> "%target_file%"
echo MS_2D_NEVER_USE_ZBUFFER = 1 >> "%target_file%"
echo MS_RASTER_LOAD_SETTINGS = AntiAlias=0 >> "%target_file%"
echo MS_RASTER_DITHER = 0 >> "%target_file%"
echo MS_SMOOTH_LINES = 1 >> "%target_file%"
echo MS_STROKE_LESS = 1 >> "%target_file%"
echo.
echo [SUCCESS] 9 Variables written to local User Configuration File (Personal.ucf).
pause
goto exit_script
:global_system
set "target_dir=%ProgramData%\Bentley\MicroStation CONNECT Edition\Configuration\Organization"
set "target_file=%target_dir%\ZZ_GraphicFix.cfg"
if not exist "%target_dir%" (
echo.
echo [ERROR] System Configuration directory not found.
echo Make sure MicroStation CONNECT is installed or run this option on a production machine.
pause
goto menu
)
echo # ================================================================= > "%target_file%"
echo # DEFINITIVE 2D GRAPHIC AND ANTIALIASING FIX FOR CONNECT EDITION >> "%target_file%"
echo # ================================================================= >> "%target_file%"
echo MS_BACKGROUNDMAP_SHOW = 0 >> "%target_file%"
echo MS_REF_DELAYINIT = 1 >> "%target_file%"
echo MS_RASTER_DESHEDDING = 1 >> "%target_file%"
echo QV_DISABLE_D3D11_ZBUFFER = 1 >> "%target_file%"
echo MS_2D_NEVER_USE_ZBUFFER = 1 >> "%target_file%"
echo MS_RASTER_LOAD_SETTINGS = AntiAlias=0 >> "%target_file%"
echo MS_RASTER_DITHER = 0 >> "%target_file%"
echo MS_SMOOTH_LINES = 1 >> "%target_file%"
echo MS_STROKE_LESS = 1 >> "%target_file%"
echo.
echo [SUCCESS] Global configuration file 'ZZ_GraphicFix.cfg' created successfully.
pause
goto exit_script
:exit_script
exit