Questions tagged [sceneview]

For questions that are specifically related to Unity3D's SceneView. You should consider to rather use tags [unity3d] or [unity3d-editor].

For tagging questions that are specifically related to Unity3D's SceneView.

Related tags:

74 questions
43
votes
2 answers

Unable to activate constraint with anchors

So, I'm trying to create a sceneView programatically class ViewController: UIViewController, ARSCNViewDelegate { var sceneView: ARSCNView = ARSCNView() let configuration = ARWorldTrackingConfiguration() override func viewDidLoad()…
utiq
  • 1,342
  • 2
  • 17
  • 33
6
votes
1 answer

Take photo in ARKit Camera like snapchat

Are they any ways in swift to take high quality pictures with the sceneview camera session like snapchat does? Or at least without the scnnode objects in the picture? Because I don't want to init a second camera frame to take pictures. I want it to…
Moe
  • 61
  • 1
  • 2
5
votes
2 answers

How to clear the background of a SceneView 3D Object in SwiftUI

Does anyone knows how to clear the background of a SceneView 3D Object? I'm trying using UIColor.clear, but it makes it white. [] import SwiftUI import SceneKit struct TestView: View { var body: some View { ZStack{ …
4
votes
1 answer

How can I load my glTF file on SceneViewer with ARCore Android SDK

I'm following the document at Google (https://developers.google.com/ar/develop/java/scene-viewer#ar-only). I put glTF file in assets/models directory (as same location with Andy.obj) and I tried to load glTF 2.0 file (from KhronosGroup Sample) but…
Joona Yoon
  • 314
  • 3
  • 16
3
votes
1 answer

SceneKit: how to create chessboard pattern for SCNFloor from image?

The goal is to create an infinite chessboard pattern. Using a SCNFloor and the attached image, we produce something close but not quite like a chessboard. Some black squares merge where they shouldn't. We tried different values for Scale, WrapS,…
Crashalot
  • 33,605
  • 61
  • 269
  • 439
2
votes
0 answers

View are flaoting above plane in Sceneview form

I am using Sceneview to show AR characters. It is showing a few centimeters above the horizontal plane. Here is Code for Sceneview and Anchor. sceneView.apply { planeRenderer.isEnabled = true planeRenderer.planeRendererMode =…
Shvet
  • 1,159
  • 1
  • 18
  • 30
2
votes
1 answer

Change usdz model joint location in scenekit

I have loaded apple's robot.usdz model into a sceneview using mdlAsset. Right now the model loads into the view doing the standard t pose, but I would like to change the models pose by setting each joint location to 3d coordinates that I captured in…
Jordan
  • 73
  • 1
  • 4
2
votes
0 answers

How to draw a polygon with texture in Sceneform/ARCore?

How can I draw custom texture/material inside a defined polygon (defined by 3 or 4 or more points)? I found this: How to draw a polygon with Sceneform, ARCore? It's a good start. But it's only for 3 points. What if the user adds 4th point? I tried…
Pepa Zapletal
  • 2,879
  • 3
  • 39
  • 69
2
votes
0 answers

Load Webview using arcore/sceneform in augmented reality

I'm trying to create an app which load a webview using arcore. I've created a viewRenderable which load the layout with the webView, but when touch screen to place a webview, the webview shows a white page. I have tried the sam xml with buttons and…
2
votes
0 answers

Augmented image detection is not working fine when device ARCore updated to 1.11.0

Augmented Image detection is working perfectly with 1.10.0 when I updated the ARCore version from 1.10.0 to 1.11.0 then ARSceneview is not detecting the augmented images trackables from updated frame in addUpdateListener in Android. Due to…
2
votes
0 answers

SceneView camera preview as background

I'm working on app that should use camera preview as background for SceneView. I'm trying to set it like this: scene.background.contents = AVCaptureDevice.default(for: .video)! Application already has granted permission to use camera. But video is…
Damian Dudycz
  • 2,622
  • 19
  • 38
2
votes
0 answers

ARKit resetting session crashes app

I am trying to restart the sceneView.session by using a function called restartSession(). I found that I was getting random crashes when calling this function. My viewDidLoad(): override func viewDidLoad() { super.viewDidLoad() …
willhess
  • 1,334
  • 13
  • 14
2
votes
0 answers

How to remove every node from ArKit sceneview and free up memory

Here is my code: It removes the nodes, but the memory is still around 200MB self.sceneView.scene.rootNode.enumerateChildNodes { (node, _) in if node.name == path! { node.removeFromParentNode() } }
DAWID
  • 79
  • 6
2
votes
0 answers

SKVideoNode Not Working on Iphone 5 for 360 degree video

I am working on 360 degree video player. I have done this throw SKVideoNode. it works fine on all other devices but it's not working on iphone 5. and it's showing black screen while playing video but we can hear audio. So please suggests me how i…
Rakesh
  • 21
  • 2
2
votes
0 answers

SceneKit: improve performance of SceneView's hitTest function?

Our scene only has about 20 nodes. The code below lets the user pan, conducting a hit test on each pan -- the goal is to highlight blocks as the user pans around the screen. However, it is noticeably sluggish on a iPhone 5S. It's not deterministic…
Crashalot
  • 33,605
  • 61
  • 269
  • 439
1
2 3 4 5