当前位置: 首页 > 软件库 > 手机/移动开发 > >

sceneform-android-sdk

Sceneform SDK for Android
授权协议 Apache-2.0 License
开发语言 Java
所属分类 手机/移动开发
软件类型 开源软件
地区 不详
投 递 者 吕森
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Status: Archived

This repository has been archived and is no longer maintained.

Sceneform SDK for Android

Copyright (c) 2018 Google Inc. All rights reserved.

Sceneform is a 3D framework with a physically based renderer that's optimizedfor mobile devices and that makes it easy for you to build augmented realityapps without requiring OpenGL.

Choosing the right Sceneform SDK version for your project

As of ARCore release 1.16.0, Google open-sourced the implementation of Sceneformallowing you to extend Sceneform's features and capabilities. As part of the1.16.0 release, support for SFA and SFB assets was removed in favor ofadding glTF support

You can continue to use Sceneform 1.15.0 (or earlier). There is no requirementthat you migrate to Sceneform 1.16.0.

Do not use Sceneform 1.17.0 as that release will not work correctly. (Sceneform1.17.1 can be used, but is otherwise identical to Sceneform 1.15.0.)

Sceneform SDK Description
Sceneform SDK
versions 1.0.0 - 1.15.0
  • Closed source
  • Included in your project as an external Gradle dependency
  • FBX and OBJ files can be converted to Sceneform's SFA and SFB Sceneform formats
Sceneform SDK
version 1.16.0
  • Open source
  • Built alongside an application as a Gradle module
  • Supports glTF instead of SFA and SFB Sceneform formats
Sceneform SDK
version 1.17.0
Do not use
Sceneform SDK
version 1.17.1
Identical to version 1.15.0

Getting started with Sceneform 1.16.0

Use the following steps to include and build the Sceneform 1.16.0 SDK with yourapp:

  1. Download sceneform-android-sdk-1.16.0.zip from the Sceneform SDKreleasespage.
  2. Extract the sceneformsrc and sceneformux directories into your project'stop-level directory. The resulting directory structure should be similar tothe following:
project
+-- app
|   +-- build.gradle
|   +-- ...
+-- sceneformsrc
+-- sceneformux
+-- build.gradle
+-- settings.gradle
+-- ...
  1. Modify your project's settings.gradle to include the Sceneform projects:
include ':app'

// Add these lines:
include ':sceneform'
project(':sceneform').projectDir=new File('sceneformsrc/sceneform')

include ':sceneformux'
project(':sceneformux').projectDir=new File('sceneformux/ux')
  1. Finally, add a reference to the Sceneform SDK to your app's build.gradle:
dependencies {
    api project(":sceneformux")
}

To get started with the Sceneform SDK, check out theSceneform sample.

Archived Sceneform 1.15.0 content

Documentation for the Sceneform SDK for Android 1.15.0 is available fromhttps://developers.google.com/sceneform.

Release notes

The SDK release notes are available on thereleases page.

License

Please see theLICENSEfile.

Brand Guidelines

The Sceneform trademark is a trademark of Google, and is not subject to thecopyright or patent license grants contained in the Apache 2.0-licensedSceneform repositories on GitHub. Any uses of the Sceneform trademark other thanthose permitted in these guidelines must be approved by Google in advance.

Purpose of the Brand Guidelines

These guidelines exist to ensure that the Sceneform project can share itstechnology under open source licenses while making sure that the "Sceneform"brand is protected as a meaningful source identifier in a way that's consistentwith trademark law. By adhering to these guidelines, you help to promote thefreedom to use and develop high-quality Sceneform technology.

Acceptable uses

Because we are open-sourcing the Sceneform technology, you may use the Sceneformtrademark to refer to the project without prior written permission. Examples ofthese approved references include the following:

  • To refer to the Sceneform project itself;
  • To refer to unmodified source code or other files shared by the Sceneformrepositories on GitHub;
  • To accurately identify that your design or implementation is based on, is foruse with, or is compatible with the Sceneform technology.

Examples:

  • "[Your Product] for Sceneform."
  • "[Your Product] is a fork of the Sceneform project."
  • "[Your Product] is compatible with Sceneform."

Usage guidelines

  • The Sceneform name may never be used or registered in a manner that wouldcause confusion as to Google's sponsorship, affiliation, or endorsement.
  • Don't use the Sceneform name, or a confusingly similar term, as part of yourcompany name, product name, domain name, or social media profile.
  • Other than as permitted by these guidelines, the Sceneform name should not becombined with other trademarks, terms, or source identifiers.
  • Don't remove, distort or alter the Sceneform name. That includes modifying theSceneform name, for example, through hyphenation, combination, orabbreviation. Do not shorten, abbreviate, or create acronyms out of theSceneform name.
  • Don't display the Sceneform name using any different stylization, color, orfont from the surrounding text.
  • Don't use the term Sceneform as a verb, or use it in possessive form.

Terms & Conditions

By downloading the Sceneform SDK for Android, you agree that theGoogle APIs Terms of Service governsyour use thereof.

User privacy requirements

You must disclose the use of Google Play Services for AR (ARCore) and how itcollects and processes data, prominently in your application, easily accessibleto users. You can do this by adding the following text on your main menu ornotice screen: "This application runs onGoogle Play Services for AR(ARCore), which is provided by Google LLC and governed by theGoogle Privacy Policy".

 相关资料
  • 每次我尝试为我的应用程序导入场景表单资产时,Android Studio都会崩溃。obj文件 我有一个文件夹sampledata,我必须在其中保存文件。mtl和。obj,当我尝试为我的应用程序导入Sceneform资产时。obj文件,IDE压碎并给出下面的错误 我该怎么做才能让它工作?

  • 我一直得到我的屁股踢尝试得到一个垂直放置的三维模型GLB格式正确放置在垂直表面。 为了澄清一点,我指的不是识别垂直表面的困难,这本身是一个完全不同的问题。 删除设置的常用样板以最小化此帖子。 如果你想知道“启动和停止”AR体验的原因,是为了最大限度地利用GPU周期进行其他UX交互,而这些交互在这个覆盖屏幕上很重,所以我们等待启动或停止的基础上,其他事情正在发生的当前实时数据状态。 好吧继续。 让我

  • 我正在试着翻译场景表单1.15。要与ARCore 1.18一起使用的0的增强图像示例。0和场景窗体1.16。0。(请注意,GitHub上的Sceneform 1.16.0存储库仅附带gltfio加载程序示例)。 我的目标是使用GLTFIO库加载动画GLTFs/GLBs以在图像上显示。(在Sceneform 1.16.0的早期版本中提供的Android Studio插件机制无法实现此功能)。 通过这

  • 我目前正在尝试使用谷歌的ARCore库,特别是场景形式,来渲染一个导入的3D模型。我试图使用这个指南从谷歌做到这一点。 然而,当我去归档 我也尝试过从jetbrains页面手动下载和安装,但当我尝试从磁盘安装时,出现了错误: 插件Google Sceneform Tools(Beta)与此安装不兼容 我目前使用的是Android Studio 3.0.1和Android SDK 24.4.1。我唯

  • 我一直在搜索通过Sceneform设置3D对象动画。我对AR很陌生。 有谁能提供一个3D动画的例子,比如一个移动的人?

  • 假设我有三个锚,来自阿拉片段的命中结果。 锚定=命中结果。createAnchor(); 如何使用Sceneform绘制三角形并应用自定义纹理?