FBX importer does not check material indices of polygons are valid. #41015

Closed
opened 2014-07-10 11:00:41 +02:00 by Kuvapuisto · 15 comments
Kuvapuisto commented 2014-07-10 11:00:41 +02:00 (Migrated from localhost:3001)

System Information
Mac OSX 10.9.4
MacBook Pro late 2013
Nvidia GeForce GT 750M

and tested also

Linux Ubuntu 12.04
Nvidia GTX 560Ti

Blender Version
2.71 (2.70 is not making crash)

Short description of error
This scene is part of project, where meshes were imported from 3D Max using fbx-format. Some meshes are causing Blender crash if VBO is checked in user preferences. In attach file there is only one mesh left with something odd.

Exact steps for others to reproduce the error
Open file with official BLender 2.71, go to user preferences, check in system tab VBOs -> crash.
blender_271_crash_with_vbo_linux_Mac.blend

**System Information** Mac OSX 10.9.4 MacBook Pro late 2013 Nvidia GeForce GT 750M and tested also Linux Ubuntu 12.04 Nvidia GTX 560Ti **Blender Version** 2.71 (2.70 is not making crash) **Short description of error** This scene is part of project, where meshes were imported from 3D Max using fbx-format. Some meshes are causing Blender crash if VBO is checked in user preferences. In attach file there is only one mesh left with something odd. **Exact steps for others to reproduce the error** Open file with official BLender 2.71, go to user preferences, check in system tab VBOs -> crash. [blender_271_crash_with_vbo_linux_Mac.blend](https://archive.blender.org/developer/F97296/blender_271_crash_with_vbo_linux_Mac.blend)
Kuvapuisto commented 2014-07-10 11:00:41 +02:00 (Migrated from localhost:3001)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Kuvapuisto commented 2014-07-10 11:00:41 +02:00 (Migrated from localhost:3001)
Author

Added subscriber: @Kuvapuisto

Added subscriber: @Kuvapuisto
Sergey Sharybin self-assigned this 2014-07-10 11:15:54 +02:00

Added subscriber: @Psy-Fi

Added subscriber: @Psy-Fi

Can confirm the issue. Will look later today or tomorrow. Looking into some Cycles bugs ATM..

@Psy-Fi might be faster on investigation :)

Can confirm the issue. Will look later today or tomorrow. Looking into some Cycles bugs ATM.. @Psy-Fi might be faster on investigation :)
Sergey Sharybin was unassigned by Antonis Ryakiotakis 2014-07-10 11:28:56 +02:00
Antonis Ryakiotakis self-assigned this 2014-07-10 11:28:56 +02:00

Added subscriber: @Sergey

Added subscriber: @Sergey

Issue is that faces hold invalid mat_nr assignment. I suspect it's trash values after material deletion.

To workaround this for now, open blender with VBO turned off, assign the object material to all faces in edit mode and reenable VBO.

But to really solve this, it would help if we knew how to reach to this file. I will try some tests here first.

Issue is that faces hold invalid mat_nr assignment. I suspect it's trash values after material deletion. To workaround this for now, open blender with VBO turned off, assign the object material to all faces in edit mode and reenable VBO. But to really solve this, it would help if we knew how to reach to this file. I will try some tests here first.
Kuvapuisto commented 2014-07-10 14:30:09 +02:00 (Migrated from localhost:3001)
Author

Material is created by fbx importer in Blender. Object is originally exported on 3D max 2013.
Actually workflow is longer. First I got models on fbx format, but Blender gave error: fbx version is 7000, must be 7100 or later. So I opened files on 3D Max 2003, exported them again on fbx-format. Now Blender accepted them. But materials are cranky

Yes I noticed now, I have adjusted proper materials, VBO is working again.

Material is created by fbx importer in Blender. Object is originally exported on 3D max 2013. Actually workflow is longer. First I got models on fbx format, but Blender gave error: fbx version is 7000, must be 7100 or later. So I opened files on 3D Max 2003, exported them again on fbx-format. Now Blender accepted them. But materials are cranky Yes I noticed now, I have adjusted proper materials, VBO is working again.

Can you share the original fbx model? It might be an issue in the importer which we might fix :)

Can you share the original fbx model? It might be an issue in the importer which we might fix :)
Kuvapuisto commented 2014-07-10 15:10:30 +02:00 (Migrated from localhost:3001)
Author

I tried to upload, but there seems to be some limit in size of file. It is about 10Mb

I tried to upload, but there seems to be some limit in size of file. It is about 10Mb

You can upload it to ftp://download.blender.org/incoming or pastall.org.

You can upload it to ftp://download.blender.org/incoming or pastall.org.
Kuvapuisto commented 2014-07-10 16:03:57 +02:00 (Migrated from localhost:3001)
Author
I put it there: http://www.kuvapuisto.fi/tmp/ET1_V1_max.FBX.zip
Antonis Ryakiotakis removed their assignment 2014-07-11 16:57:16 +02:00
Bastien Montagne was assigned by Antonis Ryakiotakis 2014-07-11 16:57:16 +02:00

Assigning to Bastien, he will know what goes on here.

Assigning to Bastien, he will know what goes on here.
Bastien Montagne changed title from Selecting VBO in user preferenses causing crash in certain scenes to FBX importer does not check material indices of polygons are valid. 2014-07-12 18:38:29 +02:00
Author

This issue was referenced by 15054752be

This issue was referenced by 15054752be43a3b66743fcd4f9702a43c0b6a99a

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Closed by commit 15054752be.

Closed by commit 15054752be.
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#41015
No description provided.