/!\ Deprecated repository /!\
New plugin and demo are accessible here : https://www.unrealengine.com/marketplace/en-US/product/live-link-augmenta
This Unreal 5.1 project contains the Augmenta Unreal plugin and a sample map with a Blueprint to test the plugin.
Content/Maps/AugmentaDemo.umap: This map contains theBP_AugmentaTestactor for testing.Content/Blueprints/BP_AugmentaTest.uasset: A test blueprint actor that has theReceive Ip AddressandPortvariables exposed for modification. The default values are127.0.0.1and12000respectively. This actor also has the following functionality.- On Actor BeginPlay : Creates an AugmentaReceiver that in turn connects to the OSCServer with the given Ip address and Port and also binds to the Augmenta Plugin events i.e.,
OnSceneUpdated,OnObjectEntered,OnObjectUpdated,OnObjectLeft,OnVideoOutputUpdated,OnEnteredExtraData,OnUpdatedExtraDataandOnLeaveExtraData. - It contains a cube called PlayArea which is scaled according to the AugmentaScene data when
OnSceneUpdatedevent fires. - It creates a
SpherewhenOnObjectEnteredevent fires and updates its position relative to the PlayArea using the AugmentaPerson data. It uses a map to track the AugmentaPerson with theIdas the key and the sphere static mesh component as the value. - When
OnObjectUpdatedevent is fired, a sphere is created if the AugmentaPerson has not been tracked before. Otherwise, will update the relative position of the already existing sphere according to the Id. - It removes the sphere when
OnObjectLeftevent fires. - When
OnVideoOutputUpdatedevent is fired, currently it just logs the data (offset, size and resolution) to the screen. - When
OnEnteredExtraDataorOnUpdatedExtraDataorOnLeaveExtraDataevent is fired, currently it just logs the Id of the object to the screen. - On Actor EndPlay : Stops the AugmentaReceiver that in turn stops the connection to the OSCServer.
- On Actor BeginPlay : Creates an AugmentaReceiver that in turn connects to the OSCServer with the given Ip address and Port and also binds to the Augmenta Plugin events i.e.,
There are 2 ways to test this Demo.
- Using the Physical Augmenta Nodes that send data to an AugmentaFusion software on a PC and using the IP address of that PC as the
Receive Ip Address. - Using the AugmentaSimulator. The default output Ip address and Port in the Augmenta simulator are set to
127.0.0.1and12000respectively. So the demo should work without any modifications.