Our designer uses Cinema 4D to export the obj file, but using rajawali will prompt nan parsing exception, but using three js can load normal
Trace or Log Output
org.rajawali3d.loader.ParsingException: java.lang.NumberFormatException: For input string: "nan"
2023-03-24 17:56:09.835 30912-31033 System.err org.rajawali3d.examples W at org.rajawali3d.loader.LoaderOBJ.parse(LoaderOBJ.java:300)
2023-03-24 17:56:09.835 30912-31033 System.err org.rajawali3d.examples W at org.rajawali3d.loader.LoaderOBJ.parse(LoaderOBJ.java:117)
2023-03-24 17:56:09.835 30912-31033 System.err org.rajawali3d.examples W at org.rajawali3d.examples.examples.loaders.LoadModelFragment$LoadModelRenderer.initScene(LoadModelFragment.java:45)
2023-03-24 17:56:09.835 30912-31033 System.err org.rajawali3d.examples W at org.rajawali3d.renderer.Renderer.onRenderSurfaceSizeChanged(Renderer.java:353)
2023-03-24 17:56:09.835 30912-31033 System.err org.rajawali3d.examples W at org.rajawali3d.view.TextureView$GLThread.guardedRun(TextureView.kt:1228)
2023-03-24 17:56:09.835 30912-31033 System.err org.rajawali3d.examples W at org.rajawali3d.view.TextureView$GLThread.run(TextureView.kt:947)
Rajawali Version or Branch
develop
Device and Android Version
12
Summary
Our designer uses Cinema 4D to export the obj file, but using rajawali will prompt nan parsing exception, but using three js can load normal
Trace or Log Output
org.rajawali3d.loader.ParsingException: java.lang.NumberFormatException: For input string: "nan" 2023-03-24 17:56:09.835 30912-31033 System.err org.rajawali3d.examples W at org.rajawali3d.loader.LoaderOBJ.parse(LoaderOBJ.java:300) 2023-03-24 17:56:09.835 30912-31033 System.err org.rajawali3d.examples W at org.rajawali3d.loader.LoaderOBJ.parse(LoaderOBJ.java:117) 2023-03-24 17:56:09.835 30912-31033 System.err org.rajawali3d.examples W at org.rajawali3d.examples.examples.loaders.LoadModelFragment$LoadModelRenderer.initScene(LoadModelFragment.java:45) 2023-03-24 17:56:09.835 30912-31033 System.err org.rajawali3d.examples W at org.rajawali3d.renderer.Renderer.onRenderSurfaceSizeChanged(Renderer.java:353) 2023-03-24 17:56:09.835 30912-31033 System.err org.rajawali3d.examples W at org.rajawali3d.view.TextureView$GLThread.guardedRun(TextureView.kt:1228) 2023-03-24 17:56:09.835 30912-31033 System.err org.rajawali3d.examples W at org.rajawali3d.view.TextureView$GLThread.run(TextureView.kt:947)