Wednesday, March 28, 2018

AutoCAD Speed tests Frames per second, DirectX

In AutoCAD Appload
C:\Program Files\Autodesk\AutoCAD\ 2016\GsTest.arx
 
Run
Command: GSTESTBENCHMARK
Command: GSDEBUG HUD and many other commands

Change directx in autocad.
In windows run DXDIAG
AutoCAD will automatically pick DirectX 11 if your graphics card is capable of utilizing it.

Change DirectX version
To make AutoCAD use DirectX 9, there is a system variable to define within Windows. Here are the steps: 1.Exit AutoCAD.
2.Right-click Computer or This PC and choose Properties.
3.Click Advanced System Settings.
4.Under the Advanced tab, click the Environment Variables button.
5.Under System Variables, click the New button.
6.Enter GS_DEVICE for the name and Dx9 for the value.
7.Click OK on all the windows.

To see what DirectX is being used within AutoCAD, use the GRAPHICSCONFIG command.

DX11
-------------------------------
Wireframe      : 2448.354115 ms
Wireframe      : 74.335652 fps
Hidden Line    : 2989.505453 ms
Hidden Line    : 60.879635 fps
Flat Shaded    : 2600.484932 ms
Flat Shaded    : 69.986947 fps
Gouraud Shaded : 2637.898326 ms
Gouraud Shaded : 68.994320 fps

DX9
Command: GSTESTBENCHMARK
-------------------------------
Wireframe      : 5952.409939 ms
Wireframe      : 30.575851 fps
Hidden Line    : 6658.470390 ms
Hidden Line    : 27.333605 fps
Flat Shaded    : 6370.870414 ms
Flat Shaded    : 28.567525 fps
Gouraud Shaded : 6240.675720 ms
Gouraud Shaded : 29.163509 fps
-------------------------------

 
 
 

Monday, March 19, 2018

AutoCAD hatching over text

Pick the polyline boundary and not inside of the polyline. Picking inside uses island detections and masks the text.