This repository has been archived by the owner on Jul 28, 2020. It is now read-only.
Sceneform SDK for Android v1.3.0
New samples
- Added Augmented Image sample to demonstrate using Augmented Images with Sceneform.
Breaking changes
- Rebuilding old glTF Sceneform models may result in different scales and translations, and your glTF may need to be modified.
New APIs and capabilities
- Binary format conversion supports the glTF/2.0 extension
"KHR_materials_unlit"
. TransformableNode
will now work with vertical planes.SceneView
can now be used instead ofArSceneView
to render a scene when not using ARCore.- The camera can be moved and rotated via
SceneView.getScene().getCamera()
.- The initial camera transform is currently not defined and likely to change in future releases. Make sure the camera position and orientation is set when the view is created.
SceneView.setBackgroundColor()
or theandroid:background
property can be used to control the background color of the scene.
- The camera can be moved and rotated via
Deprecations
None.
Behavioral changes
TranslationController
will start translation when dragging a child of theTransformableNode
, not just theTransformableNode
itself.- Transparent
Renderable
will cast a shadow (if it is a shadow caster).
Other changes
- Private construtor added to
DemoUtils
class, since it only has static methods. - If a sample is run on a device that can't support AR a popup will appear and the activity will finish.
Bug fixes
- Binary format conversion will pre-transform model vertices in order to support glTF models with node transform hierarchies.
- Fixed support for
smoothing_angle
property in glTF/OBJ files. - Fixed support for
flip_texture_coordinates
property in FBX files. BaseArFragment
will no longer request permissions it already has.ArFragment
can now be loaded dynamically and added to an existing container.- Fixed logging on ARCore initialization errors.
- Fixed bug in
BaseTransformationController
,setEnabled()
was ignored if called beforesetParent()
. - Fixed a bug that caused the plane visualization to not display on
HORIZONTAL_DOWNARD_FACING
planes. Renderable.setMaterial()
was always throwing an exception. Now it only throws on error.ViewRenderable
colors reflect theView
more accurately now. Previously, they were slightly washed out.- Fixed a bug where the index offsets were wrong when building a
Renderable
with aRenderableDefinition
with multiple submeshes. - Fixed bug that caused the camera feed to render incorrectly on Samsung Galaxy S9 and S9+ devices with a Qualcomm processor.
Known issues
Runtime
- The initial camera transform of the non-AR camera (
SceneView.getScene().getCamera()
) is currently not defined and likely to change in future releases. Make sure the camera position and orientation is set when the view is created.