Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

SceneKit is an OS X and iOS framework for building apps and games that use 3D graphics.

1
vote
0answers
7 views

Affect of timeStep on PhysicsBodies in SceneKit

In SceneKit, I had a problem on collision of two dynamic spheres, when the one strikes to another with fast speed, it was passing through inside of it. After i have reduced physicsWorld.timeStep value ...
0
votes
0answers
17 views

Player name / health bars in scenekit

i'm working on a game right now in SceneKit and swift. it's a multiplayer game with the camera fixed in an overhead / isometric view. I need to now add health bars, player names etc attached to the ...
0
votes
0answers
13 views

Swift4 SceneKit SCNTube Physics

I have a Tube that I designed using Swift4 & sceneKit. It rotates (forever) on its X Axis. nothing special: ...
0
votes
0answers
21 views

3d animation that changes state - what's best practice

I'm a developer with a little bit of 2d game experience, but the need has come for me to do a bit of 3d work and I wanted to understand some best process. I'm primarily working with blender and ...
2
votes
2answers
66 views

Impact of increasing physics simulation rate

I am working one Mini Golf game development using Scenekit (iOS). To fix one of the problem with Scenekit, I have to increase the physics simulation rate by 4 times. Questions: What is the impact ...
0
votes
0answers
72 views

Collision physics error

I am working on a game developed using Scenekit (iOS). I am facing some strange issues with collision physics. I have added one 3D table (with a hole at its center) to the scene. I am setting physics ...
0
votes
0answers
49 views

Using a MTLTexture as the environment map of a SCNScene

I want to set a MTLTexture object as the environment map of a scene, as it seems to be possible according to the documentation. I can set the environment map to be ...
2
votes
1answer
375 views

Get the up vector of the camera in ARKit

I'm trying to get the four vectors that make up the boundaries of the frustum in ARKit, and the solution I came up with is as follows: Find the field of view angles of the camera Then find the ...
0
votes
1answer
231 views

Fixed camera rotate to follow character

I have a camera in a fixed position in the middle of a field, and I would like to rotate the camera to follow the character as it moves around. There is no point lower than the camera, but I would ...
2
votes
1answer
334 views

Process for converting unity asset to scenekit scene/resource

Has anyone successfully figured out a method for converting a unity3d asset to a 3d SceneKit model/scene? I imagine it would require exporting the asset into some third party file type, and then ...
0
votes
0answers
37 views

given 4 points on a textured sphere extract a 2d plane and it's projected texture

Setting the scene I'm working on a feature in scenekit where i have a camera at the center of a sphere. The sphere has a texture wrapped around it. Let's say it was a 360 degree image captured inside ...
1
vote
1answer
271 views

Nothing gets rendered in SceneKit

I have this code in OpenGL: ...
0
votes
1answer
795 views

The object can't rotate around z axis in SceneKit

I am doing an app with a functionality like a 3D compass, it can point to the direction where I want. The code is ...
1
vote
1answer
573 views

Load large .obj file

I am working with the 3D model and I am using the Scene Kit for rendering and Model I/O for loading the obj file. It works perfectly fine for the small size of obj. But now I have 250MB of file and ...
1
vote
0answers
147 views

Map individual images to the surface of a sphere

I know this is a FAQ but I don't know the terms to search on. I even saw something like this with a blue globe, but now I can't find it any more! I'm trying to make a UV map to apply to a sphere (in ...
1
vote
2answers
1k views

How can I create a “wireframe” texture for a sphere in SceneKit?

I've been struggling to figure this out. I would like to have a sphere in SceneKit that looks like this: I think the easiest way would be to create a mostly transparent texture with the wireframe ...
4
votes
1answer
2k views

How do I pixelate a scene with SceneKit and Metal, in Swift?

I managed to get pixelation working by using the OpenGLES2 rendering API, and a CIFilter. But it was way too slow, so I want to use the Metal API and just have a very simple filter that pixelates ...
1
vote
0answers
350 views

Failed to pass uniform in Metal shader modifier

I'm trying to write a simple shader able to pass the color to be used for drawing in the fragment shader, through a uniform. I load the shader modifier and pass the uniform: ...
3
votes
2answers
693 views

How to add a bump map in scene kit?

I'm trying to draw an Earth, as I've found the textures in this site: http://planetpixelemporium.com/earth.html I loaded the diffuse, specular and bump maps: ...
2
votes
1answer
1k views

Is it possible to use Metal and SceneKit at the same time?

All the tutorials that I've found online speak about using Metal alone, without any other supporting library. But I don't understand if it's possible to create a SceneKit game and then use a Metal ...
1
vote
1answer
4k views

Why is SCNNode.rotation property a four dimensional vector?

I don't understand why SCNNode's rotation property is a SCNVector4 instead of a SCNVector3. The documentation states that: The four-component rotation vector specifies the direction of the rotation ...
-1
votes
1answer
236 views

SceneKit – White layer covering my tube

I have a simple tube node in my scene that isn't displaying properly. When I rotate it to face the camera, more than half of it is covered by some invisible sheet. When I rotate the tube enough, it ...
0
votes
0answers
84 views

Ball movement simulation

I'm doing a little demo with scene kit and i want to simulate the rotation of a ball on a table. How can i achieve this? This is the scene that i prepared:
4
votes
3answers
302 views

How to fill in crevices on a height map

I am a very experienced iOS Developer, but I am beginning my very first foray into 3D graphics (specifically with SceneKit). I'm trying to model a planet, and I have it working with a height map ...
1
vote
0answers
417 views

Render cylinder tube along 3D Path

I'm working on a roller coaster game, and I have computed a function that represents the path of the track in the 3D space. Since the track will be tubular and will be dynamically generated(as opposed ...
1
vote
1answer
803 views

problem with SCNTransaction in Scene Kit

I'm trying to move an object over a period of ten seconds from y coordinate 0 to y coordinate 10. the object is created at y coordinate 0. The problem is when the animation starts, the object pops ...