Skip to content

HMS Scene kit demo provides an example of integrating HUAWEI Scene Kit with an app. A 3D graphics rendering engine performs more with less. User-friendly rendering APIs for games, AR & VR apps, and other apps bring your users a stunning visual experience.

License

Notifications You must be signed in to change notification settings

HMS-Core/hms-scene-demo

Repository files navigation

HMS SceneKit Demo

English | 中文

Table of Contents

Introduction

The SceneKitDemo app demonstrates samples to call the SceneView, ARView and FaceView.

Read more about HUAWEI Scene Kit.

Getting-Started

  1. Check whether the Android studio development environment is ready. Open the sample code project directory with file "build.gradle" in Android Studio.
  2. Register a HUAWEI account.
  3. Create an app and configure the app information in AppGallery Connect. See details: HUAWEI Scene Kit Development Preparation.
  4. If the agconnect-services.json file has been added to the app, go to buildscript -> dependencies and add the AppGallery Connect plugin configuration. See details: Integrating the HMS Core SDK.
  5. To build this demo, please first import the demo in the Android Studio (3.6.1+).
  6. Run the sample on your Android device or emulator.

Supported-Environments

  • AndroidStuido 3.6.1 or a later version is recommended.
  • JDK 1.8 or later
  • HMS Core (APK) 4.0.2.300 or later
  • EMUI 10.0 or a later version is recommended.

Result

SceneView

With SceneView, you are able to load and render 3D materials in common scenes.

ARView

ARView uses the plane detection capability of AR Engine, together with the graphics rendering capability of Scene Kit, to provide you with the capability of loading and rendering 3D materials in common AR scenes.

FaceView

FaceView can use the face detection capability provided by ML Kit or AR Engine to dynamically detect faces. Along with the graphics rendering capability of Scene Kit, FaceView provides you with superb AR scene rendering dedicated for faces.

Question or issues

If you want to evaluate more about HMS Core, Reddit is for you to keep up with latest news about HMS Core, and to exchange insights with other developers.

If you have questions about how to use HMS samples, try the following options:

  • Stack Overflow is the best place for any programming questions. Be sure to tag your question with huawei-mobile-services.
  • Huawei Developer Forum HMS Core Module is great for general questions, or seeking recommendations and opinions.

If you run into a bug in our samples, please submit an issue to the Repository. Even better you can submit a Pull Request with a fix.

License

SceneKitDemo is licensed under the Apache License, version 2.0.

3D model 'Mjolnir' (no modified) published by Star Conflict under the Creative Commons Attribution license.

Learn more about Mjolnir.

3D model 'Robo_OBJ_pose4' (no modified) published by Artem Shupa-Dubrova under the Creative Commons Attribution-NoDerivatives 4.0 International license.

Learn more about Robo_OBJ_pose4.

About

HMS Scene kit demo provides an example of integrating HUAWEI Scene Kit with an app. A 3D graphics rendering engine performs more with less. User-friendly rendering APIs for games, AR & VR apps, and other apps bring your users a stunning visual experience.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages