![]() |
VR-Forces Developer's Guide
|
This page describes the changes between VR-Vantage 3.2 (SVN r280791) and VR-Vantage 3.3 (SVN r295998) that may require updates to code built against VR-Vantage 3.2: removed classes, relocated headers, changed signatures, new pure virtuals, and behavioral changes.
Each section explains what changed, what replaces it, and how to update your code.
New, non-breaking additions in 3.3 – new libraries, features, API additions, data, and examples – are described in the VR-Vantage 3.3 Release Notes.
The following changes can cause compile errors, link errors, or runtime failures in code that was built against VR-Vantage 3.2. Entries are grouped by affected subsystem. See the silent-breakers callout and the change-type index above for orthogonal views of the same content.
Frame-rate pacing, DE-level lifecycle, indirect-buffer budgeting, and signaler registration all consolidated in 3.3. Downstream DtDe, DtDeMainWindow, and signaler subclasses are affected.
DtDe::setTargetFrameTime(double) and DtDe::targetFrameTime() have been removed along with the myTargetFrameTime member. These methods controlled GPU streaming budgeting at the end of a frame.
If your code called these methods, remove the calls. Frame-rate pacing is now handled internally through DtDe::fixedFrameRate() and DtDe::updateFixedFrameRateTiming(), which use a different mechanism.
DtDeMainWindow now declares two new pure virtual methods:
If you derive from DtDeMainWindow, you must implement these methods. They control the visibility of the new background status bar dock widget.
The "indirect buffer update time budget" setting has been removed and replaced conceptually by the new GPU-arena upload memory budget (see the new pure virtual DtLoaderSettingsInterface::setGpuArenaUploadMemoryBudget documented in New Pure Virtuals on Existing Interfaces).
The following methods have been removed:
DtDeSharedState::setIndirectBufferUpdateTimeBudget(int) / indirectBufferUpdateTimeBudget() and the corresponding local_* helpersDtDeSharedStateProctor decode / serialize entries for the retired fieldDtSharedLoaderSettings::setIndirectBufferUpdateTimeBudget(int) / indirectBufferUpdateTimeBudget()DtLoaderSettingsInterface::setIndirectBufferUpdateTimeBudget(int) = 0 – any downstream subclass fails to compileDtLoaderSettingsLogic and DtLoaderSettingsWidgetMigrate by removing calls to the retired methods and, where appropriate, configuring the new GPU-arena upload memory budget instead. The two settings are not one-to-one – time-budget-based pacing is gone entirely.
As part of the cold-start displacement fix, all DtDe-rooted signalers internally switched from DtDe::registerInstance to DtDe::registerInstanceIfAbsent, and the public static registerInstance accessor was removed from two signaler classes:
DtIntervisibilitySignaler::registerInstance(DtDe&, DtIntervisibilitySignaler*)DtTerrainPageSignaler::registerInstance(DtDe&, DtTerrainPageSignaler*)Downstream code that manually registered a custom signaler subclass through these statics must instead route the registration through DtDe::registerInstanceIfAbsent(signalerName, new MySignaler()) directly. All other signaler classes (aerodrome-component, runway, environment, input-driver, etc.) retain their public entry points; only the two above lost the static.
The write-lock / signal-emission plumbing on DtSharedSettings was redesigned in 3.3. Downstream settings implementations that emit signals from within a locked setter are affected.
The DtSharedSettings::SafetyKey and DtSharedSettings::SignalSafety inner classes have been removed. The previous pattern required you to create a SignalSafety object inside a write-locked setter, which temporarily released the lock to emit a signal and then reacquired it:
In 3.3 the signal emission is deferred. Push lambda functions into the eventSignalsToEmit() vector inside the write lock. The DtWriteSettingsLock destructor releases the lock first, then invokes every queued lambda:
The setCurrentWriteLock() method has also been removed from DtSharedSettings. No replacement is needed because the lock lifecycle is now fully managed by DtWriteSettingsLock.
Model preloading, background loading, indirect-model GPU internals, and the paper-map manager were reshaped together in 3.3. Downstream code that loaded models directly, subclassed a preloader, or drove the loader queue by hand is affected.
The following headers and classes have been deleted:
vrvCore/DtModelPreloader.h (DtModelPreloader)vrvOsg/DtOsgModelPreloader.h (DtOsgModelPreloader)The object class definitions DtModelPreloader.ocdx and DtOsgModelPreloader.ocdx have also been removed.
Model preloading is now handled entirely by DtModelPreloadManager. If your code instantiated or subclassed DtModelPreloader or DtOsgModelPreloader, migrate to the DtModelPreloadManager API. The manager now exposes a new unloadModels() virtual method and tracks preloaded models internally via myPreloadedModels.
The boost::unordered_set typedefs ModelDefinitionMap and ModelSchemaMap in DtModelPreloadManager have been changed to std::unordered_set<std::string>. If your code referred to these types, update the include from <boost/unordered_set.hpp> to <unordered_set>.
The model background-load path was reshaped in 3.3 to consolidate its parameters into two new value objects: DtModelLoadParams and DtBackgroundLoadContext. Downstream code that overrides any of the affected methods must update its signatures.
Affected classes and methods:
DtOsgArticulatedModel, DtOsgAnimationModel, DtOsgParticleSystemModel – backgroundLoad() changed to backgroundLoad(DtBackgroundLoadContext&).discoverDynamicRegions(const DtModelDefinition*) changed to discoverDynamicRegions(const DtModelLoadParams&).DtOsgSimpleModelInstance and DtParticleSystemModelInstance – getOrLoadFromDefinition(const DtModelDefinition&) gained additional parameters. Update overrides to match the new signature.
Migration recipe:** pull the DE, the model definition, and any callback state from the passed-in DtBackgroundLoadContext and DtModelLoadParams objects rather than from the ad-hoc arguments the 3.2 signatures carried. The two new value objects are declared in vrvCore/DtBackgroundLoadContext.h and vrvCore/DtModelLoadParams.h; their introduction is documented in the Release Notes under Model Definition Lease and Background Load Context.
The GPU-internal classes DtIndirectSwitchManager, DtIndirectUvOffsetManager, DtIndirectPerInstanceDataManager, DtIndirectLodManager, and DtIndirectManager underwent parameter renames as part of the indirect-model GPU pipeline work. Representative changes include instanceId renamed to containerInstanceId and a perGeomInstanceIndex parameter replaced with a std::vector<PerGeomInstance*>&. These are advanced GPU-internals headers with low customer-subclass probability. Any downstream code that touches these classes should rebuild and follow the compiler diagnostics to resolve the parameter renames.
The paper-map manager's group-mask and layer-visibility API has been reshaped.
The nested enum DtOsgEarthPaperMapManager::ShowIn has been removed, along with the public typedefs GroupLayerMap, ObserverObj2DMap, PaperMapLayerSet, LayerBoolMap, and LayerTimeMap.
The following methods have been removed: resetGroupMasks(), enableAllGroupMasks(), defaultGroupMasksVisible(ShowIn), closeLayer(...), and openLayer(...).
Downstream code that iterated the removed maps or toggled group masks through the retired API must migrate to the current paper-map layer configuration API on the same class.
DtBackgroundLoader (vrvCore/DtBackgroundLoader.h) still exists as the per-DtDe singleton coordinator for the two-phase load pipeline, but its public API was substantially reshaped as part of the broader background-load rework (see Model Background-Load API Reshape for the model-instance side of the change).
The following public virtuals were removed:
updateQueue(int, int), queueForLoad(DtModel*)setForegroundTimeBudget(double), incrementForegroundTime(double), isForegroundTimeBudgetExpired() const, timeSpentThisFrame() constloadIfPossibleOrAddToQueue(DtModel*), hasActiveAsyncTasks() const, numOfActiveTasks() constnumModelDefinitionsToIco() const, nextModelDefinitionToIco(), addToAdditionalIcoList(...), additionalToIcoList()multithreadedLoadingActive() const, setMultithreadedLoadingActive(bool)timedForegroundLoad(DtModel*), ts_setModelDefinitionLoaded(...), ts_isModelDefinitionLoaded(...) constThe replacement surface centers on the new DtDefinitionCachePayload staging protocol and a dedicated task-dispatch API:
executeBackgroundLoad(DtModel*) – run the phase-1 background load for a single model.dispatchBackgroundTasks(int maxThreadCount, int activeThreads) – replaces the old updateQueue entry point.ts_stagePayload(DtDefinitionCachePayload*) and commitStagedPayloads() – the new two-phase commit for cached definition data.waitForActiveTasksAndCommit(), drainCompletedTBBTasks(), processFailedTBBTasks(), processForegroundLoadBudgeted(), processForegroundFullLoadBudgeted(), deleteAllPendingHandles(), disposeLoaderHandle(DtLoaderHandle*), timedFullLoad(DtModel*), cleanup(), queryStats(), and foregroundTimeBudget() const.Downstream code that drove the loader directly through the old API must be ported to the new methods. Most customer code uses the loader indirectly via DtModel-derived classes and will continue to work; the migration hits code that explicitly instantiated tasks against the loader singleton or that subclassed it.
The shadow settings stack, weather-effect authoring path, moon-phase range, and weather-area programmatic surface were reshaped in 3.3. This group also owns two aggregate rollups (Miscellaneous Public Method Signature Changes and Additional Removed Public Methods) that primarily concentrate weather / shader / environment methods.
The pre-filtering scheme, Poisson-disk sampling scheme, and the variance / exponential shadow-map (VSM / ESM / EVSM) code paths have been removed from the shadow settings stack. The 3.3 shadow implementation uses a single simplified path.
The following enums on DtShadowSettingsRecord have been renamed with a _Depreciated suffix. Any code that named these enums or their enumerators fails to compile:
DataStorageScheme (values TEXTURE_2D_STORAGE, ...)PreFilteringScheme (values NO_PRE_FILTERING, EXPONENTIAL_VARIANCE_SHADOW_MAPS, EXPONENTIAL_SHADOW_MAPS, VARIANCE_SHADOW_MAPS)PoissonDiskSamplingScheme (values UNIFORM_SAMPLING, STRATIFIED_SAMPLING, ROTATED_SAMPLING)The following accessors have been removed from DtShadowSettingsRecord, DtShadowSettingsManager, and DtShadowSettingsObject:
setPreFilteringScheme / preFilteringScheme (and manager overloads)setPoissonDiskSamplingScheme / poissonDiskSamplingScheme (and manager overloads)The pure virtuals setPreFilteringScheme(int) and setPoissonDiskSamplingScheme(int) have been removed from DtShadowSettingsInterface; any downstream subclass fails to compile.
The static string accessors theVarianceShadowMapsString(), theExponentialShadowMapsString(), theExponentialVarianceShadowMapsString(), theUniformString(), and theStratifiedString() have been removed from DtShadowSettingsInterface. Corresponding slots on DtShadowSettingsLogic and DtShadowSettingsWidget have also been removed.
The helpers generateFragmentComputeShadowFunctionEsm/Vsm, updateCascadeImportance, and other ESM/VSM code-generation helpers have been removed from DtOsgShadowTechnique.
To migrate, remove all references to these enums, accessors, and pure virtuals from downstream code and settings serialization. Serialized settings files that carry the retired fields load correctly under 3.3 – the fields are ignored.
The legacy weather effect model files data/Environment/Weather/weather_effect.imod and weather_effect.ms have been removed. Weather effects are now driven by the shader-based weather system in vrvOsg. Scenarios or configurations that referenced these files directly should be updated to use the current weather effect pipeline.
The phase parameter of DtSilverliningGroup::setForcedMoonPhase(float) has a new value range. In 3.2 the valid range was [0, 1], where 0 represented a new moon and 1.0 represented a full moon, covering only the waxing half of the lunar cycle. In 3.3 the range is [-1, 1], where -1 and 1 both represent a new moon, 0 represents a full moon, [-1, 0] spans the waxing phases, and [0, 1] spans the waning phases.
This change is a silent behavioral regression: the function signature is unchanged, so existing code will compile without error. However, every call that passes a value other than the default will produce the wrong moon phase at runtime.
To migrate code that passed waxing-only values in the old [0, 1] range, apply the following conversion:
If your 3.2 code used the full [0, 1] range to express waxing phases (new moon to full moon), the equivalent in 3.3 is the range [-1, 0]. To obtain a waning phase, use values in [0, 1].
DtWeatherAreaObjectManager (vrvCore/DtWeatherAreaObjectManager.h) has lost its full weather-area mutator surface. Direct programmatic weather- area mutation through this manager is gone; weather-area state is now authored through the schema-driven weather-area pipeline, and the manager only exposes local-query accessors.
Removed public virtuals include the full set-Weather-Area family (setWeatherAreaTransform, setWeatherAreaBounds, setWeatherAreaPrecipitationIntensity, setWeatherAreaPrecipitationType, setWeatherAreaGroundRainAccumulation, setWeatherAreaFogColor, setWeatherAreaVisibilityDistance, setWeatherAreaOvercast, setWeatherAreaLightningEnabled, setWeatherAreaWind, weatherAreaObjectCloudLayerAdded, weatherAreaObjectCloudLayerRemoved) as well as the agent-lookup and lifecycle entry points (findWeatherAreaObjectAgent(DtUniqueID), addWeatherArea(), removeWeatherArea(DtUniqueID)).
Downstream code that mutated weather areas through the manager must migrate to the schema-driven weather-area authoring surface (weather- area records in the model-definition pipeline). The retained query API (getLocalPrecipitation(...) and getLocalWind(...)) is covered in the release notes under Local Weather Area Query.
The following methods changed signatures on public or derivable classes that are not purely virtual interfaces. These produce compile errors for overrides and call sites that pass the old argument lists.
DtWeatherArea::computeBoundsDistance2d, computeBoundsDistance3d, and computeBoundsDistance2dAndTop are now const and accept a new boundsScale parameter. Update any call site that passed a non-const DtWeatherArea reference, and add the boundsScale argument.DtWeatherLayer::drawWeatherEffects(DrawData&) changed to drawWeatherEffects(DrawData&, float cullFade). Overrides and direct callers must add the cullFade argument.DtIndirectModelInfo::processGpuBufferUploads(unsigned int&) changed to processGpuBufferUploads(DtGpuArenaUploadState&). This introduces the new value type DtGpuArenaUploadState declared in vrvOsg/DtGpuArenaUploadState.h. Update overrides and callers to pass a DtGpuArenaUploadState object instead of a raw unsigned int reference.DtDynamicTerrainChange::Builder – setGeometry, addAllFrom, and addKeyValue were pure virtual in 3.2 and are no longer pure virtual in 3.3; their signatures also changed. Remove any override annotation from these methods in subclasses and follow the compiler diagnostics to resolve any signature mismatches.The following public methods have been removed from surviving public classes. Individually, each is low-probability for downstream subclasses; they are grouped here for completeness.
computeBasis helper. computeBasis(const osg::Vec3d&, osg::Matrixd&) has been removed from DtWeatherArea, DtWeatherAreaGroup, DtWeatherLayerGroup, DtGroundFogPatchArea, and DtHeightMapManager. The helper has been refactored to a shared base; override the corresponding method on the new base instead.DtWeatherAreaGroup::disableHeightFog() and DtWeatherAreaEnvironmental::setGlobalWind(float, float) have been removed.DtShaderEffect (documented in New Pure Virtuals on Existing Interfaces), the old DtShaderEffect::updateUniforms() has been removed, along with the concrete overrides DtShaderEffectRain::updateUniforms, DtShaderEffectSnow::updateUniforms, DtShaderEffectSnow::setWindSpeed, DtShaderEffectSnow::setWindDirection, DtShaderEffectSnow::reloadShader, and DtShaderEffectManager::updateUniforms.DtModelInstance::cloneInstance and DtOsgModelInstance::cloneInstance have been removed.DtEntityConditionalParticleSystemVisualizer::setIsEnabled / isEnabled, DtEntityTrailEffectVisualizer::setTrailEffectEnabled / trailEffectEnabled, and DtMilStdIconVisualizer::update have been removed.DtGpuArena::waitForGpu() and slot_timeBudgetUpdated(...) have been removed. Time-budget pacing is gone (see Indirect Buffer Update Time Budget Removed).DtEncoderIO::process, DtEncoderIO::initialize, DtProcessImageTask::process, and DtReadFramebufferCallback::process have been removed. The framebuffer read path is now driven internally (see also the createProcessImageTask() signature change documented in Signature Changes on Pure Virtual Methods).DtMilStdManager::parseHighlightFromKey(const std::string&) const has been removed. The highlight suffix is now parsed internally through the SIDC key/value pipeline; callers that inspected the key format directly should query the resulting symbol object instead.DtArticulatedModelParser::parseDefaultMultiSwitchValues(osgSim::MultiSwitch&) has been removed. Default multi-switch state is now discovered through the file-authority fallback in the switch-parsing pipeline; downstream code that called or overrode this helper must remove the usage.The audio subsystem lost the "maximum output decibel capability" setting and renamed the fire-interaction sound schema in 3.3.
As part of the 3.3 audio pipeline refactor (see the dBFS storage convention formalized in DtAudioLevel, documented in the Release Notes under DtAudioLevel dBFS Utility), the "maximum output decibel capability" setting has been removed. Audio output level is now determined internally.
The following methods have been removed:
DtAudioManager::setMaximumOutputDecibelCapability(double) and slot_maximumOutputDecibelCapabilityUpdated(...)DtAudioSettingsManager::setMaximumOutputDecibelCapability(double) / maximumOutputDecibelCapability() (and overloads)DtAudioSettingsRecord::setMaximumOutputDecibelCapability(double) / maximumOutputDecibelCapability() (the corresponding NVP is also removed from the serialization archive)DtAudioSettingsWidget::setMaximumOutputDecibelCapability(double) and DtAudioSettingsPageLogic::setMaximumOutputDecibelCapability(double)DtAudioSettingsWidgetInterface::setMaximumOutputDecibelCapability(double) = 0 – any downstream subclass fails to compileDtSoundModel::setAttachedEntityEngineRunning(bool) / attachedEntityEngineRunning()Remove all references from downstream code. Serialized audio settings files carrying the retired field load correctly under 3.3 – the field is ignored.
DtBuiltInSchemas::theDtFireInteractionSoundSchema() has been renamed to DtBuiltInSchemas::theDtSoundInteractionSchema(), reflecting the broader scope of the 3.3 sound interaction system (see the procedural audio and sound interaction additions in the Release Notes under Procedural Audio System and Interaction Display Settings). Update all call sites.
The rectangular-pyramid classes were removed, the SensorType enum moved to a free-standing header, and the VR-Link state listener renamed its target-location and targeted-entity accessors.
The header vrvCore/DtAttachableRectangularPyramidUpdater.h and its implementation have been deleted. The VR-Link reflected list and state interceptor classes for rectangular pyramids were also removed:
vrvVrl/DtVrlinkReflectedRectangularPyramidList.h / .inlvrvVrl/DtVrlinkRectangularPyramidStateInterceptor.h / .inlThese are replaced by the new sensor-field-of-view pipeline. Migrate to DtVrlinkSensorFieldOfViewStateInterceptor, DtVrlinkReflectedSensorFieldOfViewList, and DtVrlinkSensorFieldOfViewExistenceListener.
The nested SensorType enum inside DtSensorFieldOfViewStateListener has been removed. It has been replaced by the free-standing enumeration DtSensorFieldOfViewSensorType, declared in vrfExtObjects/aimableSystemEnums.h (relocated from the previous vrfExtObjects/sensorFieldOfViewEnums.h). The return type of sensorType() on the listener has changed accordingly.
To migrate:
DtSensorFieldOfViewStateListener::SensorType with DtSensorFieldOfViewSensorType.#include from vrfExtObjects/sensorFieldOfViewEnums.h to vrfExtObjects/aimableSystemEnums.h.sensorType().The rectangular-pyramid removal covered under DtAttachableRectangularPyramidUpdater Removed also stripped the rectangular-pyramid state-repository accessors from DtVrlinkSensorFieldOfViewStateListener: rsr() (both const and non-const overloads) has been removed.
Two related methods were also renamed for consistency with the global- object-designator terminology used elsewhere in vrvVrl:
setNetworkTargetLocation(const DtVector&) -> setNetworkTargetPosition(const DtVector&)targetedEntity() -> targetedEntityGlobalId()setTargetedEntity(const DtGlobalObjectDesignator&) -> setTargetedEntityGlobalId(const DtGlobalObjectDesignator&)The listener also gains a new resolvedHostElement(DtElement*) virtual to receive the resolved host element once the sensor's owner is discovered. Downstream overrides of any of the renamed methods stop overriding silently – the old declarations are gone. Rename each override to the new name and audit callers.
The aggregate-echelon pure-virtual signatures were reshaped in 3.3. The aggregate rollup entry migration_pure_virtual_signature_changes primarily concentrates aggregate / echelon methods and is owned by this group; it also covers pure-virtual signature changes on DtArticulatedModel, DtCharacterModel, DtEntitySettingsInterface, DtAggregateStateInterceptor, DtReadFramebufferCallback, DtDebugShapes, and audio-observer slots.
The following pure virtual methods changed their signatures between 3.2 and 3.3. These are silent breakers: the base class still compiles, but every downstream subclass fails to compile because its old override no longer matches the new declaration. Find each affected override in your code and update it.
DtArticulatedModel::weaponFired(const DtUnicode&) changed to weaponFired(int muzzleType). The parameter now identifies the munition through the integer muzzle-type mapping owned by DtMuzzleTypeMapper (new in 3.3) rather than a Unicode string. Update overrides to accept int; call DtMuzzleTypeMapper if the old string value was consumed downstream.DtCharacterModel::fireWeapon() changed to fireWeapon(int muzzleType). Same rationale as DtArticulatedModel::weaponFired above. Update overrides to accept int.DtEntitySettingsInterface::setIconScale(int) changed to setIconScale(double). The consolidated entity display settings widgets (which replace DtEntityIconScaleWidget – see DtEntityIconScaleWidget Removed) express icon scale as a continuous factor. Update overrides to accept double.DtAggregateSettingsInterface::setEchelonLevel(int) changed to setEchelonLevel(int level, int mapScale = -1). The optional mapScale parameter supports the new auto-collapse/expand echelon system. Overrides written against the 3.2 single-argument signature must add the second parameter; passing -1 preserves 3.2 behavior.DtAggregateStateInterceptor::setMarkingText(const char*) changed to setMarkingText(const DtString&). Update overrides to accept const DtString&. DtString implicitly constructs from const char*, so existing call sites are unaffected; only the override declaration must change.DtReadFramebufferCallback::createProcessImageTask(DtDe&, const DtVideoStream&) changed to createProcessImageTask(). The DE and video-stream context are now obtained internally. Overrides must drop both parameters.DtDebugShapes::updateLines, updateMultiLines, updateBoxes, and updateSpheres changed their timeStep parameter type from double to float. This is a silent breaker: base compiles, every downstream override still compiles but no longer overrides. Update every override in your code and audit any explicit double-typed callers.DtSoundComponentSystem::slot_currentObserverChanged(DtObserver*) and DtProceduralSoundscapeManager::slot_currentObserverChanged(DtObserver*) have been renamed to slot_audioListenerObserverChanged(DtObserver*). The signal these slots subscribe to also changed from the current-observer signal to the audio-listener-observer signal (see the new listener- resolution surface documented in the release notes under DtAudioManager -- Fixed Listener Observer). Downstream overrides must rename the method; any explicit boost::signals connections must be repointed.No entries in this release land primarily under Networking, but two entries elsewhere on this page have direct VR-Link / HLA impact and are cross-linked here for readers browsing the networking surface:
DtWorldMagneticModel relocation from vrvCore to vrvUtil)DIGuyModule.xml HLA FOM module was deleted as part of the application-template retirement)CDB vector class layout was reshaped and the experimental terrain-magnification high-LOD-angle command was removed.
Several CDB vector classes have been renamed, moved, or split:
| Removed | Replacement |
|---|---|
osgearth_cdb_utils/DTCDBDatabase.h | osgearth_cdb_utils/DtCDBDatabase.h (case change) |
osgdb_osgearth_model_cdb/DtCDBVectorFactory.h | osgdb_osgearth_model_cdb/DtCDBVectorModelFactory.h |
osgdb_osgearth_model_cdb/DtCDBVector.h | osgearth_cdb_utils/DtCDBVector.h (moved to utils) |
The CDB vector system has been significantly expanded with per-feature-type classes (DtCDBVectorFeatureRoadNetwork, DtCDBVectorFeatureGs, DtCDBVectorFeatureGt, etc.) and a DtCDBVectorFeatureFactory for creating them. If you subclassed DtCDBVectorFactory, switch to the new DtCDBVectorModelFactory in osgdb_osgearth_model_cdb.
The header vrvCore/DtTerrainMagnificationHighLodAngleCommand.h and its implementation have been deleted. The experimental "Terrain Magnification High
LOD Angle" setting that this command exposed is gone.
The Control_TerrainHighAngle enumerator on DtVrvControlTypeEnum is retained and marked deprecated so that older scenarios and logger tapes that carry the identifier continue to load. Existing .mrsx scenarios that referenced this setting continue to deserialize; the setting itself is silently ignored at runtime.
The companion pure virtual DtExperimentalFeaturesInterface::setTerrainMagnificationHighLodAngle(float) = 0 and the signal signal_terrainMagnificationHighLodAngleChanged have also been removed. Downstream subclasses of DtExperimentalFeaturesInterface must drop the override; any connection to the removed signal must be deleted.
The corresponding accessors on DtDeSharedState (setTerrainMagnificationHighLodAngle, terrainMagnificationHighLodAngle, and local_setTerrainMagnificationHighLodAngle), on DtDeSharedStateProctor (setTerrainMagnificationHighLodAngle), and on DtExperimentalFeaturesWidget (setTerrainMagnificationHighLodAngle) have also been removed. Downstream code that touched any of these methods must remove the calls; there is no replacement.
Downstream code that instantiated DtTerrainMagnificationHighLodAngleCommand, subclassed it, or referenced its header must remove the include and the usage. There is no replacement class.
The entity icon-scale widget was removed, the items-list damage-state override was replaced by a generic icon-refresh signal, and multiple widget interfaces gained new pure virtuals. The aggregate rollup New Pure Virtuals on Existing Interfaces primarily concentrates widget-interface pure virtuals (vrvCoreQt, vrvOsgQt, vrvVrlQt) and is owned by this group; it also lists three pure virtuals on vrvCore (DtObserverObject, Dt3DSegmentedLineModel, DtQuadProxyInterface, DtOverlayDirectionLineModel, DtRenderer) and one on vrvOsg (DtShaderEffect).
The header vrvVrlQt/DtEntityIconScaleWidget.h and its implementation have been removed. Entity icon scaling is now configured through the consolidated entity display settings widgets. If your code instantiated DtEntityIconScaleWidget directly, migrate to the entity display settings page in vrvVrlQt.
The pure virtual method DtItemsListInterface::updateItemDamageState(DtElementID, EntityStateListener::DamageState) has been replaced by updateItemIcon(DtElementID). The header no longer includes vrvCore/DtEntityStateListener.h, so downstream code that pulled the DamageState enum in transitively through this header must include vrvCore/DtEntityStateListener.h directly.
Downstream widget implementations that overrode updateItemDamageState must rename the override to updateItemIcon(DtElementID) and remove the damageState parameter. The damage state can be re-derived from the element's current state through the standard element-state APIs when the icon is rebuilt.
The following interfaces gained new pure virtual methods in 3.3. Any downstream class that derives from these interfaces must implement the new methods to compile.
vrvCore**
DtObserverObject – disableBuoyancyForAttachedEntities(bool disable, bool recurse) = 0Dt3DSegmentedLineModel – setFadeOutDistance(float distance) = 0DtQuadProxyInterface – setFadingEnabled(float fadeStart) = 0DtAttributeGroupWidget – setFadingEnabled(bool enabled) = 0DtOverlayDirectionLineModel – setIsArrowHeadEnabled(bool) = 0 and setLineOutlined(bool isOutlined, float r, float g, float b, float a) = 0DtRenderer – resetGlobalState() = 0
vrvCoreQt**
DtSymbolDecorationSettingsWidgetInterface gained nine new pure virtuals covering the new symbol decoration model: fade-distance controls, setColorSymbolByForce, setSymbolOutlineColorOverride, setMilSymbolStandard, and related setters. See the header for the full list.DtItemsListInterface gained three new pure virtuals: updateElementsParent, updateElementDisplayState, and refreshAllIcons.DtObserverSettingsInterface – addNorthType(...) adds a new north-type entry to the observer settings page.DtIntersectorSettingsInterface – setOceanWaveIntersectionsEnabled(int channel, bool enabled)DtGhostedToolbarWidgetInterface – setEchelonLevel(int level, int mapScale = -1) (mirrors the signature change on DtAggregateSettingsInterface::setEchelonLevel – see Signature Changes on Pure Virtual Methods).DtRenderSettingsInterface – setIndirectMaxRenderDistance(float distance)
vrvOsg**
DtShaderEffect – updateStateAndUniforms() = 0 and isEnabled() const = 0
vrvOsgQt**
DtLoaderSettingsInterface – setGpuArenaUploadMemoryBudget(int bytes)
vrvVrlQt**
DtAggregateSettingsInterface gained three additional pure virtuals as part of the new auto-collapse/expand echelon system (in addition to the signature change on setEchelonLevel described in Signature Changes on Pure Virtual Methods): setAutoCollapseExpandEnabled, resetAutoCollapseExpand, and setCollapseLevelsAboveMapScale.Implementers using the widget-interface pattern typically forward to VR-Vantage's own concrete widget. The recommended pattern for downstream subclasses is to delegate to the corresponding built-in widget rather than implementing every new method from scratch.
Several template application source directories were retired in 3.3, along with one HLA FOM object-model module.
The following template application source directories have been deleted from appsrc/:
appsrc/userStealth/appsrc/userIG/appsrc/userXR/appsrc/vantageXR/appsrc/viewFileFixer/If your team maintains a private VR-Vantage-derived application copied from one of these templates, keep your local copy but understand that future template updates from VR-Vantage will no longer track these directories. Base new derived applications on the current stealth and vantageIG sources.
The HLA FOM object-model module DIGuyModule.xml (previously located at the trunk root) has also been deleted. DIS-only federations are unaffected. HLA federations that named DIGuyModule.xml in their federate configuration must remove the reference; DIGuy character functionality is now integrated through the standard entity object-model module.
Headers relocated between library modules with an unchanged class interface.
DtWorldMagneticModel has been relocated:
#include <vrvCore/DtWorldMagneticModel.h> (link against vrvCore)#include <vrvUtil/DtWorldMagneticModel.h> (link against vrvUtil)The class interface is unchanged. Update your #include directives and CMake target_link_libraries calls.
A new DtMagneticModel abstraction has been added to vrvCore that provides a simpler interface.
DtVrlinkBaseConnection also lost its world-magnetic-model accessors as part of this move: setWorldMagneticModel(DtWorldMagneticModel*) and both overloads of worldMagneticModel() have been removed. Route WMM lookups through the new DtMagneticModel abstraction on vrvCore instead of through the connection object.
The DtBallisticSolver public solver API was reshaped from "return the
result" to "return an error code, write the result through an output
parameter."
The three public solver methods on DtBallisticSolver have been reshaped from a "return the result value" style to a "return an error code, write the
result through an output parameter" style. The failure reason is now explicit rather than encoded as an empty vector or an invalid solution.
Affected methods (all virtual):
solveFiringAngle – return type changed from std::vector<DtFiringSolution> to DtBallisticSolveError, and a new std::vector<DtFiringSolution>& solutions output parameter was inserted after env.solveInterceptTrajectory – return type changed from DtFiringSolution to DtBallisticSolveError, and a new DtFiringSolution& solution output parameter was inserted after env.optimalSolution – return type changed from DtFiringSolution to DtBallisticSolveError, and a new DtFiringSolution& solution output parameter was inserted after env.As a companion change, the redundant validity flag on DtFiringSolution was removed: DtFiringSolution::isValid() const and setIsValid(bool) are gone. The solver's returned DtBallisticSolveError is the authoritative validity indicator; call sites that queried solution.isValid() must dispatch on the returned error code instead.
The new DtBallisticSolveError enumeration is declared in the new header vrvBallistics/DtBallisticSolverResult.h; the release notes cover the enum values and the accompanying dtBallisticSolveErrorToString() helper under DtBallisticSolveError and Error-Returning Solver API. To migrate, add a #include <vrvBallistics/DtBallisticSolverResult.h>, declare the output parameter locally, pass it through, and dispatch on the returned error code:
Subclasses overriding these virtuals must adopt the new signatures.
The legacy boolean "IR mode" surface on the laser-designator listener and visualizer was replaced by the sensor-visibility enum documented in the release notes.
The legacy boolean "IR mode" surface on the laser-designator listener and visualizer has been removed. It is replaced by the richer DtLaserDesignatorVisualizer::SensorVisibility enum and the associated sensorMask / sensorVisibility accessors documented in the release notes under DtLaserDesignatorVisualizer SensorVisibility Enum.
Removed from DtLaserDesignatorStateListener:
setLaserIrMode(bool)laserIrMode()signal_laserIrModemyLaserIsIRRemoved from DtLaserDesignatorVisualizer:
setIrMode(bool)getIrMode() constTo migrate, replace calls to setIrMode(true) with setSensorVisibility(DtLaserDesignatorVisualizer::SensorVisibility::IrOnly), and replace calls to getIrMode() with a sensorVisibility() comparison against the desired enum value. Overrides of the removed virtuals must be removed from downstream subclasses; connect to the sensor-visibility notification surface on the visualizer instead of signal_laserIrMode.
DtCigiIntersectionHandler changed the pass-by-value / const-reference convention on four virtual handlers to pass-by-pointer with explicit ownership.
DtCigiIntersectionHandler (vrvCigi/DtCigiIntersectionHandler.h) changed the pass-by-value / const-reference convention on four virtual handlers to pass-by-pointer with explicit ownership, and added a wave- intersection configuration surface.
Signature changes (silent breakers on overrides):
slot_onHatHotRequest(const DtHatHotResponder::DtHatHotRequestData&) changed to slot_onHatHotRequest(DtHatHotResponder::DtHatHotRequestData* request, bool takeOwnership).performHatHotRequest(const DtHatHotResponder::DtHatHotRequestData&) changed to performHatHotRequest(DtHatHotResponder::DtHatHotRequestData* request).performLineOfSightRequest(DtCigiLosRequest* request, bool takeOwnership) changed to performLineOfSightRequest(DtCigiLosRequest* request) – the ownership hand-off flag was removed; the handler now always takes ownership of the passed-in request object.generateCollisionSegmentResponse(DtCollisionResponder::DtCollisionSegmentResponseData&) changed to generateCollisionSegmentResponse(DtCollisionResponder::DtCollisionSegmentResponseData* collResponse).Overrides in downstream CIGI extension code must be updated to match the new signatures. Callers that constructed one of the request/response values on the stack and passed by reference must now heap-allocate and pass by pointer. The wave-intersection configuration API added on the same class is covered in the release notes under DtCigiIntersectionHandler Wave-Intersection Configuration.
The SensorFX data / cache environment variables were renamed, and the SDK install layout was collapsed into the standard VR-Vantage layout.
The environment variables that override the SensorFX data and cache directories have been renamed:
JRM_DATA_DIR -> SENSORFX_DATA_DIRJRM_CACHE_DIR -> SENSORFX_CACHE_DIRLauncher scripts, CI environments, and integrator documentation that set the old JRM_* names must be updated to use the new SENSORFX_* names. The rename is a breaking change for anyone who explicitly set the overrides.
Note that explicit configuration is no longer required in most cases: the SensorFX plugin now publishes sensible defaults for both SENSORFX_DATA_DIR and SENSORFX_CACHE_DIR when they are unset (see the non-breaking additions covered in the release notes under SensorFX Data and Cache Directories Auto-Published).
The install layout for the SensorFX SDK has been collapsed into the standard VR-Vantage install layout. The dedicated $INSTALL/SensorFx/ folder and its associated top-level solution and helper trees are gone; SensorFX headers, examples, and plugin binaries now live alongside their VR-Vantage peers.
Any external build scripts, launcher wrappers, or integrator documentation that hard-code the retired paths must be updated to the new locations:
| Old location (3.2) | New location (3.3) |
|---|---|
$INSTALL/SensorFx/include/ | $INSTALL/include/sensorFx/ |
$INSTALL/SensorFx/exampleSensorSettings/ | $INSTALL/examples/exampleSensorSettings/ |
$INSTALL/SensorFx/ plugin runtime | $INSTALL/examples/plugins/release/ |
$INSTALL/export_sdk/ | Removed. SensorFX example .make files are merged into customer_examples/examples/. |
vrvSensorFx_64.sln (top-level solution) | Removed. exampleSensorSettings is now injected into the main vrvantageExamples_64.sln. |
SensorGuiSDK and osvSDK install folders | Removed. |
The collateral fixes that ship with this collapse should also be reflected in any downstream copies of the affected files:
examplePreApertureRadiance have been updated: -I../../sensorFx/{libsrc/sensorFx,include,osvSDK} becomes -I../../include/sensorFx.exampleSensorSettings launcher scripts have been corrected: ..\sensorFX becomes ..\examples on Windows, and ../sensorFX becomes ../examples on Linux.Makefile / *_64.make installation on Linux is fixed by nesting the packager output under customer_examples/examples/.Update any external build scripts, launcher wrappers, or documentation that hard-code $INSTALL/SensorFx/, $INSTALL/export_sdk/, or vrvSensorFx_64.sln to use the new paths.
New libraries, non-breaking features, API additions, new data and shader directories, and new examples introduced in VR-Vantage 3.3 are documented separately in the VR-Vantage 3.3 Release Notes.