Questions tagged [arview]

9 questions
2
votes
1 answer

How to change and continuously update RealityKit's Text using a keyboard?

I have been able to do this on SceneKit in the past for whatever reason this can't be done on RealityKit. This is some code I am using to test before adding to the app I am working on. Updating AR Text from Header View text So I have a header view…
2
votes
1 answer

How do I automatically set the world origin to a new point on the floor and tether a 3D model there

I want to do the followings automatically: (1) asynchronously load a 3D model, for example a vase 50 cm tall (2) detect the point P on the floor that is vertically down from the world origin (initial location of the device) and set P as the new…
D.Park
  • 53
  • 5
1
vote
1 answer

Why do I get a redundant Entity within the entity hierarchy after loading and anchoring a Model?

I have used the following code to (1) create an AnchorEntity and add to the ARView scene. (2) asynchronously load a model and tethered it to the AnchorEntity from (1). The 3D model is from here. var cancellable: AnyCancellable? let…
D.Park
  • 53
  • 5
1
vote
0 answers

How to record video in ARView(Reality Kit)?

I'm using ReplayKit RPScreenRecorder but it's recording whole screen, which is not my requirement, my requirement is to record ARView area only.
1
vote
2 answers

How to load SCNScene into ARView

I am trying to develop AR app with SwiftUI using FocusEntity to show placing object indicator. My objects are not in USDZ format they are in .scn and there is no way to convert them (at least I did not find). Now I am trying to load my objecst using…
Mc.Lover
  • 4,813
  • 9
  • 46
  • 80
0
votes
0 answers

Setting up a simple AR View in Android Studio with ARCore (Kotlin)

I have major problems setting up a simple ARView with ARCore. I looked in many forums, even Googles official ARCore website, how to set Up ARCore. The Problem isnt adding the Dependencies in Gradle or the permissions in the Android manifest, but…
0
votes
1 answer

Having issue with ARView installGestures

I am creating an ARView using UIViewRepresentable in SwiftUI, and I am trying to apply all EntityGestures to the model, but I am not sure why the gestures are not working and the ARView is not receiving any gestures. Here is the code: func…
Mc.Lover
  • 4,813
  • 9
  • 46
  • 80
-1
votes
1 answer

ARKit – Adding bounding box to anchor?

I'm using: ARView, RealityFoundation I am using the following source code to add boxes to ARView But now it will draw boxes (mesh), my goal just want to draw bounding boxes (depicted in the following image) I think to change ModelComponent(mesh:…
AnhTuan
  • 205
  • 3
  • 6
-1
votes
1 answer

Adding Zoom-in functionality in ARKit Session(camera view not the AR object)

I am working on an app with ARKit, and want to detect objects at some distance by using ARKit camera session. Could anyone help if we can add any zoom in functionality to the AR Camera view? Although did not find any concrete answer to this question…