Post

Replies

Boosts

Views

Activity

Comment on Convert SceneKit/matrix/transform code into pure Metal/MetalKit
Hi again, I tested the code but I'm afraid it has the wrong result. In your example it is rotating in Object Space. This is why I'm using the SCNNode and worldTransform and simdWorldOrientation. To be clear, I'm using SceneKit because it is doing some "World Space" magic :-) and I would like to do that myself. • [World Space.](https://www. dropbox. com/s/q5t12xpk7xjk7qk/WorldSpace.mov?dl=0) • [Object Space.](https://www. dropbox. com/s/uicf149bdqt6yb1/ObjectSpace.mov?dl=0)
Topic: Graphics & Games SubTopic: General Tags:
Oct ’22
Comment on Dashed Line in Metal
This creates some pretty horrible artefacts if the lines are rotating or vertical…!
Topic: Graphics & Games SubTopic: Metal Tags:
Replies
Boosts
Views
Activity
Oct ’23
Comment on Dashed Line in Metal
I'm also interested in knowing how to do this, and I have a feeling a lot of people are as well. Could you perhaps write som sample code to help us out? thx
Topic: Graphics & Games SubTopic: Metal Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on Convert SceneKit/matrix/transform code into pure Metal/MetalKit
Ahh yes, you are correct – I missed the part where the order of matrix algebra is right to left :-) Thank you very much!
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’22
Comment on Convert SceneKit/matrix/transform code into pure Metal/MetalKit
Hi again, I tested the code but I'm afraid it has the wrong result. In your example it is rotating in Object Space. This is why I'm using the SCNNode and worldTransform and simdWorldOrientation. To be clear, I'm using SceneKit because it is doing some "World Space" magic :-) and I would like to do that myself. • [World Space.](https://www. dropbox. com/s/q5t12xpk7xjk7qk/WorldSpace.mov?dl=0) • [Object Space.](https://www. dropbox. com/s/uicf149bdqt6yb1/ObjectSpace.mov?dl=0)
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’22
Comment on Convert SceneKit/matrix/transform code into pure Metal/MetalKit
Hello and thank you very much for your time and answer secret "Graphics and Games Engineer" ;-) My goal is to not be dependent on SceneKit and be just 100% Metal/MetalKit 🤘🎸 Because I used the scnNode as a placeholder for its capabilities. I'm thinking of simd due to performance, but if you suggest anything else – I'm 100% open to trying it :-)
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’22
Comment on SwiftUI Navigation Stack pops back on ObservableObject update
Yes it does!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’22