According to HIG about Augmented Reality. Haptic is a great tool to enhance the immersive experience.
So I added haptic function using UIFeedbackGenerator.
By the way, I found that haptic is not working.
The reason is providesAudioData that is one of the ARWorldTrackingConfiguration property is true.
After providesAudioData is false. Haptic is working well.
In my application features, recording audio is important. Is there any method using both "providesAudioData" and haptic feedback?
I think it's a bug in ARKit.
Post
Replies
Boosts
Views
Activity
I try to change background in ARSCNView. It works with below code.
let background = MDLTexture(named: "Background/photo_studio_01.jpg", bundle: nil) // or UIImage.
scene.background.contents =	background
I want to add animation such as fade in and fade out when changing the background.
I did with CAAnimation but it is not working. I read document of contents is animatable.
https://developer.apple.com/documentation/scenekit/scnmaterialproperty/1395372-contents
Give me some advice about animate contents.
I use SceneKit editor to preview and edit my 3D model.
The model contain animation have Animations attributes in right attribute bar.
And I can export with .scnanim extension file. After exporting, I can't see or decode from the file.
How can I show the contents(animation value like keyframe... geo position...)?
What is the purpose of the file?
Shadow makes 3D models more realistic.
In AR Quick Look, animated 3D model's shadow is really good. Because the shadow's transparent changes dynamically. I want to that feature in ARSCNView using shadow only material and shader.
I don't know about shader.
So please help or give some advise about linear shadow or shadow shader.
I did a question to WWDC20 SceneKit Lab, he told me to submit the post on the developer forum.