Tip: Make Digi3D.NET use less memory and start faster

January 24, 2016 advanced configuration registry tips

When you install Digi3D.NET on your computer, the installer activates the 100% of its functionality by activating all available extensions. This causes the program to load many DLLs that you may never have used and that you will never use. This affects the application's loading time and memory consumption. Fortunately, we can disable the components that we do not use and configure the program to our taste to make it load faster and consume less memory. Digi3D.NET at startup searches in the Windows registry the extensions to load and loads all those that are enabled. Let’s look at the different extension families available and how we can indicate in the registry that a particular extension is not loaded.

Extensions for the photogrammetric window:

When you load the Digi3D module, it starts loading extensions, and its extensions are the different sensors, some sensors in turn may have their own extensions. Let's see in the following table the location of each of these extensions:

Extension Registry key Do you have your own extensions?
Sensor ADS HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.ADS40Sensor No
Conical sensor HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.ConicSensor Yes
Orthophoto sensor HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.Orthophoto No
Satellite sensor HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.Rpc Yes
VM Quasi Panoramic Sensor HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.VMQuasiPanoramic No
Web Map Service HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.WMS No
Web Map Tile Service HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.WMTS No

The Conical and Satellite sensors have their own extensions, which are the extensions responsible for importing orientations from different file formats. Let’s look at the location of the conical sensor extensions:

Extension Registry key
AeroOffice HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.ConicSensor\Extensiones\Camaras\AeroOffic
Digi3D HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.ConicSensor\Extensiones\Camaras\Digi3D
Dvp HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.ConicSensor\Extensiones\Camaras\Dvp
EspaKernel HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.ConicSensor\Extensiones\Camaras\EspaKernel
Imu HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.ConicSensor\Extensiones\Camaras\Imu
Lps HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.ConicSensor\Extensiones\Camaras\Lps
PatB HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.ConicSensor\Extensiones\Camaras\PatB
Pix4D HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.ConicSensor\Extensiones\Camaras\Pix4D
RapidCal HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.ConicSensor\Extensiones\Camaras\RapidCal
Summit Evolution HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.ConicSensor\Extensiones\Camaras\Summit

and then the satellite sensor extensions:

Extension Registry key
Icons HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.Rpc\Extensions\Digi3D.Rpc.Ikonos
Input HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.Rpc\Extensions\Digi3D.Rpc.Inpho
Isd HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.Rpc\Extensions\Digi3D.Rpc.Isd
Lps HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.Rpc\Extensions\Digi3D.Rpc.Lps
Nitf HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.Rpc\Extensions\Digi3D.Rpc.Nitf
Pleiades HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.Rpc\Extensions\Digi3D.Rpc.Pleyades
Socket Set HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.Rpc\Extensions\Digi3D.Rpc.SocetSet
Summit Evolution HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.Rpc\Extensions\Digi3D.Rpc.SummitEvolution

Extensions for drawing window:

DigiNG has two extension families:

  • Commands providers.
  • Importers/exporters of drawing files.

Let's look at the location for the different command providers:

Extension Registry key
.NET command engine HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\Extensiones\DigiNG.Interop
Databases HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\Extensiones\DigiNG.OrdenesBaseDatos
Digital terrain models HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\Extensiones\DigiNG.OrdenesMDT
Raster HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\Extensiones\DigiNG.OrdenesRaster
Topology HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\Extensiones\DigiNG.OrdenesTopologia
Pleiades HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.Rpc\Extensions\Digi3D.Rpc.Pleyades
Socket Set HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\

and below the location of the different drawing file importers:

Extension Registry key
ArcGis DEMS HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\IO\Digi21.Io.ArcGis.Dem
Digi Classic ASCII Files HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\IO\Digi21.Io.AsciiDigi
Classic Digi Binary Files HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\IO\Digi21.Io.Bin
Double precision binary files HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\IO\Digi21.Io.BinDouble
Comma Separated Files HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\IO\Digi21.Io.Csv
Open DGN Files HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\IO\Digi21.Io.DGN
Open DWG Files HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\IO\Digi21.Io.DWG
Geo JSON Files HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\IO\Digi21.Io.GeoJSON
Open KML Files HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\IO\Digi21.Io.KML
Kork files HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\IO\Digi21.Io.Kork
LAS Files HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\IO\Digi21.Io.Las
Archives MDTopX HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\IO\Digi21.Io.Mdt
Images (ortophotos, etc.) HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\IO\Digi21.Io.Raster
Shapefile files HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\IO\Digi21.Io.Shp
Scalable Vector Graphics files HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\IO\Digi21.Io.Svg
Connections to Web Map Service HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\IO\Digi21.Io.Wms
XYZ Files HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\DigiNG\IO\Digi21.Io.Xyz

How to disable loading of an extension?

All the keys listed in the previous tables have a value named Activated. If this value has assigned a 0 the particular extension is not loaded, so to make Digi3D.NET not load the VM Quasi Panoramic sensor, all we have to do is assign the value 0 to the value: HKEY_LOCAL_MACHINE\SOFTWARE\Digi21\Digi3D.NET\Digi3D\Extensiones\Digi3D.VMQuasiPanoramic\Activated. You can see how I disable almost all extensions of Digi3D.NET in the following video:


Back to the blog