了解 Auki 网络和代币经济的基本原理
在 Auki 网络的支持下,获取自己的领域。
深入了解Auki网络白皮书的细节
在Uniswap DEX上交易$AUKI
在MEXC CEX上交易$AUKI
在Aerodrome DEX上交易$AUKI
实时跟踪 Auki 网络的网络状况。
See how the Auki network is empowering robot fleets.
See how the Auki network is enabling AI.
See how the Auki network is enabling XR experiences.
使用ConjureKit,构建第一代社交增强现实体验。
申请高达 100,000 美元 Auki 代币的开发者补助金
了解如何在 posemesh 上使用我们的 SDK 构建应用程序。
所有 ConjureKit SDK 文档和支援。
了解 Cactus 如何提高零售效率。
了解 Gotu 如何协助物业经理工作。
了解 Gotu 导航如何提升您的活动体验。
零售行业的空间人工智能平台。
为活动和物业提供室内导航。
家庭和展览装饰应用。
通过这个同时多人共享的AR体验,让您大获全胜。
看看谁在与Auki一起搭建 posemesh。
深入了解我们的理念。
加入 Discord 对话。
通过 X 随时了解 Auki 社区的最新动态。
Stay up to date with the Auki community on X.
关于 Auki 和 posemesh 的常见问题。
我们的新闻稿、媒体资料工具包和联系方式。
In this chapter, we'll cover how to use Manna to display and scan a QR code to join a shared AR session.
Manna module makes it easy to join a session and get instantly calibrated into a shared coordinate system by scanning a Lighthouse (a QR code in this case). Follow these steps to install and use Manna:
1. Open the Package Manager and install the ^Manna^ module.
Manna^
start-note
If you are experiencing issues with Unity editor when installing a new package, try restarting Unity.
end-note
2. Import ^Manna^
using Auki.ConjureKit.Manna;
3. Create a private ^Manna^ variable and initialize it right after ConjureKit
private Manna _manna;
4. Declare a ^Button^ variable that will enable and disable the QR code and a ^bool^ variable to save the QR code visibility state.
Button^
bool^
[SerializeField] bool qrCodeBool; [SerializeField] Button qrCodeButton;
5. Toggle the QR code button interactable state in ^ToggleControlsState^ method.
ToggleControlsState^
private void ToggleControlsState(bool interactable) { if (spawnButton) spawnButton.interactable = interactable; if (qrCodeButton) qrCodeButton.interactable = interactable; }
6. Add a ^ToggleLighthouse^ method and use _manna.SetLighthouseVisible(true) to show and hide the Lighthouse (QR code).
ToggleLighthouse^
public void ToggleLighthouse() { qrCodeBool = !qrCodeBool; _manna.SetLighthouseVisible(qrCodeBool); }
7. Feed Manna with AR camera video frames acquired from ARCameraManager to recognize QR codes
ARCameraManager
Manna is independent of any specific AR SDK, like ARFoundation. You need to manually choose how to Feed Manna With Video Frames. An example of how to do it in conjunction with ARFoundation can be found in below and in the Manna demo sample.
Feed Manna With Video Frames
private void Update() { FeedMannaWithVideoFrames(); } private void FeedMannaWithVideoFrames() { var imageAcquired = arCameraManager.TryAcquireLatestCpuImage(out var cpuImage); if (!imageAcquired) { AukiDebug.LogInfo("Couldn't acquire CPU image"); return; } if (_videoTexture == null) _videoTexture = new Texture2D(cpuImage.width, cpuImage.height, TextureFormat.R8, false); var conversionParams = new XRCpuImage.ConversionParams(cpuImage, TextureFormat.R8); cpuImage.ConvertAsync( conversionParams, (status, @params, buffer) => { _videoTexture.SetPixelData(buffer, 0, 0); _videoTexture.Apply(); cpuImage.Dispose(); _manna.ProcessVideoFrameTexture( _videoTexture, arCamera.projectionMatrix, arCamera.worldToCameraMatrix ); } ); }
8. Add a ^Button^ to the scene, configure the on click callback to invoke ^ToggleLighthouse^ method. Drag the button game object to the field you declared in step 5.
9. Subscribe to ^OnEntityAdded^ event to create cubes when other participants add entities in the session.
_conjureKit.OnEntityAdded += CreateCube;
In File -> Build settings, make sure that you have added open scenes before building to Xcode.
Another Device B running the same app as Device A can now join Device A's Session by scanning the Lighthouse (QR code) of Device A.
申请 AUKI 代币补助金以启动您的项目,并直接与 Auki Labs 团队合作,将您的创意推向市场。成功申请者可获得价值高达 10 万美元的 AUKI 代币,以及 Auki Labs 团队提供的开发和营销支持。