Post

Replies

Boosts

Views

Activity

Reply to Vision look up is awesome!
Thank you, after reading today's technical explanation, I think OpticalFlow may be able to solve it. It is best to have a mask that can directly obtain virtual objects in AR scenes, and can control virtual objects more flexibly. https://developer.apple.com/videos/play/wwdc2022/10024/
Topic: Machine Learning & AI SubTopic: General Tags:
Jun ’22
Reply to Tracking and Visualizing Faces demo crashes
I tested it. Now the code has changed the path to remove the (subdirectory: "Models.scnassets") parameter, and if it doesn't work, add the files you want to the Resource folder in the Bundle.main path let fileUrl = Bundle.main.url(forResource: resourceName, withExtension: "scn")! Now the file can be recognized normally. However, my code here has encountered a little problem, which is still being solved now. There are problems in upgrading the system and these paths let faceScene = SCNScene(named: "face.scn", inDirectory: "Models.scnassets/face") It's still not readable, but if you change it to obj you can recognize it let faceScene = SCNScene(named: "face.obj", inDirectory: "Assets.scnassets/face") The code written before can recognize the path normally, now upgrade to ios16.2 will not work, where there is no setting or system problems, not clear.
Topic: Programming Languages SubTopic: Swift Tags:
Feb ’23
Reply to How to import FBX SDK into my Swift project?
Yes, I am also trying in this area and found that I cannot find any relevant teaching case references. I have done everything I need to do according to the previous teaching method, but I still cannot successfully call the libfbxsdk. a method in Swift. I'm not sure where the problem is, but I hope there are some reference cases. I would like to know if it's a problem with calling Swift or with FBXSDK. I deliberately wrote an . a file in Mac and successfully called C++functions in Swift, but I still don't know how to successfully call the function of fbxsdk.
Topic: Programming Languages SubTopic: Swift Tags:
Jan ’24