AR-Bounceball
Do we create space-time?
For the first time, it is possible to see the quantum world from multiple points of view at once. This hints at something very strange – that reality only takes shape when we interact with each other
demo.mp4
Features
Firebase Login/Registration
Place an 3D object cube,sphere
Rotate cube X (left arrow)
Rotate cube Y (right arrow)
place sphere3D object ARCore
persistence of 3D object after screen move away
bounce (on progress)
Rotate Z (on progress)
Project Architecture
AR Scene form
Android Navigation Component
Firebae Auth
Kotlin Extension
Sphere 3D object
private fun makeTextureSphere(hitResult: HitResult, res: Int) {
Texture.builder().setSource(BitmapFactory.decodeResource(resources, res))
.build()
.thenAccept {
MaterialFactory.makeOpaqueWithTexture(this, it)
.thenAccept { material ->
addNodeToScene(arFragment, hitResult.createAnchor(),
ShapeFactory.makeSphere(
0.1f,
Vector3(0.0f, 0.15f, 0.0f),
material
))
}
}
}
Read more: https://dev.to/surajsahani/create-your-ar-application-using-ar-core-17kj