dmsurti / AssimpKit

A library (macOS, iOS) that converts the files supported by Assimp to Scene Kit scenes.
http://assimpkit.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
474 stars 54 forks source link

iOS-Sample Crash when I click ViewModel #56

Closed ChokWah closed 6 years ago

ChokWah commented 6 years ago

I run iOS Sample in iPad Air2, copy my.obj and my.mtl to app-Document. When I selected the obj in tableview. Then I click view model , it crashed.

Xcode 8.3.2, iPad Air2 - iOS10.3.3 Myobj file is here. You can unpack and put them in. myObj.zip

jietu20170810-111138

dmsurti commented 6 years ago

@ChokWah thanks for reporting this. I have tried with both the Mac and iOS viewers and it does not render, so it is a problem with AssimpKit.

dmsurti commented 6 years ago

@ChokWah PR #59 fixes this problem.

Are you OK with me using the model you have provided as part of AssimpKit test cases? The AssimpKit licenses explicitly mention the usage of such files only for testing purpose. Let me know. Thanks!

screenshot 2017-08-17 18 14 55 screenshot 2017-08-17 18 19 18
ChokWah commented 6 years ago

@dmsurti I'm ok with that.

In fact, I'm looking for something like AssimpKit to solve scenekit load model's problem.How can i load model so beautiful by scenekit just like sketchfab. I don't want to adjust model's effect in xcode everytime. Hope AssimpKit become better.

dmsurti commented 6 years ago

How can i load model so beautiful by scenekit just like sketchfab. I don't want to adjust model's effect in xcode everytime.

@ChokWah Request you to open issues describing the features you want in AssimpKit that will help you build scenes as per envision and that will be really helpful. Thanks 👍.

dmsurti commented 6 years ago

Fixed in #59