Closed elmkni closed 3 years ago
Fixed! Thank you for the report.
The
Invalid number of items in a normal or texture coordinate array for shape "IndexedFaceSet"...
was quite serious problem underneath. It occurred during a refactor of a piece of renderer code (I think a few months ago), I'm ashamed it wasn't caught earlier.
It's fixed now, in Castle Game Engine and view3dscene. If you use the precompiled view3dscene, then take the latest view3dscene "snapshot" version from https://castle-engine.io/view3dscene.php in an ~hour from now, it will contain the fix.
Note: the warnings
Wavefront material "xxx" specifies specular exponent (Ns) as zero, ignoring
will remain. This is indeed an invalid thing in the OBJ file, and we ignore Ns 0
in Wavefront materials after https://github.com/castle-engine/castle-engine/issues/178 .
Hi Michalis,
thanks for the quick fix!
I've tested with view3dscene-4.1.0-win64-x86_64.zip | 15-Sep-2021 22:59
and it works!
with best regards,
Elmar
Hi Michalis,
it's me again, Elmar...
I just found a problem when loading a simple Wavefront .obj/.mtl file that I exported from MeshLab 2021.07 (https://github.com/cnr-isti-vclab/meshlab/releases):
View3DScene (view3dscene-4.1.0-win64-x86_64.zip | 10-Sep-2021 22:42 | 7270675) issues the following:
Please help...
with best regards,
Elmar
I attach the .obj+.mtl files and the view3dscene.log: view3dscene_issue_40.zip