SceneView / sceneview-android

SceneView is a 3D and AR Android Composable and View with Google Filament and ARCore. This is a Sceneform replacement in Kotlin
Apache License 2.0
849 stars 161 forks source link

A crash occurs with a number of bones greater than 256 #564

Open Danwolve98 opened 1 month ago

Danwolve98 commented 1 month ago

As far as I can see, the limit of bones supported by the Filamented class is 256, and if you have more than that, a crash occurs. With more demanding models, is there a way to handle this?

Panic
in build:436
reason: bone count > 256
aleyooop commented 1 month ago

It's a hard limit on Filament side

image
aleyooop commented 1 month ago

More context here

image
Danwolve98 commented 1 month ago

Im pretty noob at this. Could u help me? How can I change that limit in code?

aleyooop commented 1 month ago

Simple answer - you can't. To do it, you should fork Filament repo, change the limit there and rebuild, than fork SceneView repo, and change original dependency to the forked one.