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
0
votes
1 answer

How can I overlay a video onto background of SceneView behind a 3d model?

I rendered a 3D scene without the use of the camera and AR session following the website(https://developers.google.com/ar/develop/java/sceneform/build-scene). What I want to do is to put the video onto that green background after I bring a selected…
0
votes
1 answer

ARSCNView Corner Radius not showing

I have a corner radius on my ARSCNView as below; override func viewDidLayoutSubviews() { sceneView.layer.cornerRadius = 8 sceneView.layer.masksToBounds = true sceneView.clipsToBounds = true } However, it is only showing…
David Henry
  • 1,972
  • 20
  • 43
0
votes
2 answers

Showing standard gizmos in editor mode

I'm writing an extension to Unity editor and was wondering if there's a way to show multiplbe gizmos for rescaling/moving colliders in the scene view while in editing mode? I don't want to re-invent the wheel and create custome gizmos (already…
0
votes
2 answers

arkit scene view is only display 1 arkit object

My code below is only displaying 1 arkit object in the touches began function. I would like the user to be able to display several of the same arkit objects in the arkit scene view. Right now the user is able to place a image but as soon as the next…
user10764035
0
votes
1 answer

App crashes after i delete sceneview nodes

I added a button to my SceneView to delete placed images on a wall: @IBAction func reset(_ sender: Any) { sceneView.scene.rootNode.enumerateChildNodes { (node, _) in node.removeFromParentNode() } } It's working fine but after some seconds the…
0
votes
1 answer

Color of pixel in ARSCNView

I am trying to get the color of a pixel at a CGPoint determined by the location of a touch. I have tried the following code but the color value is incorrect. override func touchesBegan(_ touches: Set, with event: UIEvent?) { if let…
Tyler Kelly
  • 564
  • 5
  • 23
0
votes
1 answer

adding localRotation moves ArCore Node?

This has me totally puzzled. I put this node in the scene, but as soon as I add "localRotation", the node moves. It looks fine if I don't move it (positioned centered where I expect). Do I have to initialize the Quaternion so that it's…
kenyee
  • 2,309
  • 1
  • 24
  • 32
0
votes
1 answer

Placing a SCNNode on a plane and detecting that the node is tapped

I'm working on an app which first detect that there is a vertical plane, and after that, if the user touches the plane I add a SCNNode to the rootNode. After that, I want to detect if the user touches the node to do more things, but I'm not able to…
diegomen
  • 1,804
  • 1
  • 23
  • 37
0
votes
1 answer

SceneKit scene higher than expected FPS on macOS

My macOS app has two SceneKit sceneViews, and when they're empty, they both appear to be running at an FPS of 120. I've not manually set preferredFramesPerSecond anywhere in my code. The default for preferredFramesPerSecond is 60 FPS, so I'm a bit…
narner
  • 2,908
  • 3
  • 26
  • 63
0
votes
1 answer

How to Take a Snapshot of a Sceneview with the Sceneviews Autolighting

For anybody who has worked with snapshotting sceneview screens, you would know what I mean when I say the photo output appears much darker then the screen you are capturing. How can I capture photo output of the sceneview that shows the sceneviews…
Chris
  • 387
  • 5
  • 18
0
votes
1 answer

CAGradientLayer set as scenekit background blocks scene

I am working on a Swift 4, SceneKit 3D game. I set the background of the scene to a CAGradientLayer using: let gradientLayer = CAGradientLayer() gradientLayer.frame = self.view.bounds gradientLayer.colors = [UIColor.white.cgColor,…
Will Boland
  • 146
  • 2
  • 13
0
votes
0 answers

ArcGIS Camera animation

I'm starting to learn ArcGIS API for Java (Runtime 100). I need to do animation of SceneView() Camera. According to API documentation, Camera can to have arguments such us roll and pitch. But when in reality, I can rotate just pitch of camera. When…
0
votes
1 answer

esri ground world-elevation Not working

I'm trying to implement an application in Angular 2 where one module is dedicated to work with all the needs for map visualization. I want to be able to switch between MapView and a SceneView (to have a 3D view with the ground elevation). I was able…
BasicSide
  • 97
  • 1
  • 11
0
votes
2 answers

How do I make a scnView smaller than the screen size?

ViewController import UIKit import SceneKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() let scnView = self.view as SCNView scnView.backgroundColor =…
swl
  • 129
  • 2
  • 12
1 2 3 4
5