wierd shading after cinema import

i exported as OBJ from cinema4D and imported it into blender, and the shading is really wierd.
i checked materials, matcap, normals, textures, and i cant seem to figure out why this happens. anyone got any tips?

this is in flat shading i might add!
in smooth shading it just looks like the normals are inverted, but if i flip them it looks like there is a cloud texture on it.
however this is in solid view, so no materials or anything like that should have any effect, all though i did check materials aswell.

Have you performed a Remove Doubles by any chance?

paolo

Make sure the model didn’t bring custom vertex normals with it:

https://dl.dropboxusercontent.com/u/27650383/15-06-2016%2019-20-18.png

thats it, thanks ikari.

small thing, know how to do this to all objects? there are 400 of them :slight_smile:

I think it might be easier to export from C4D again with normals set to “Skip”:

https://dl.dropboxusercontent.com/u/27650383/15-06-2016%2021-38-07.png

This might work.


import bpy
scene = bpy.context.scene

obj_active = scene.objects.active
selection = bpy.context.selected_objects

bpy.ops.object.select_all(action='DESELECT')

for obj in selection:

    obj.select = True
    scene.objects.active = obj
    bpy.ops.mesh.customdata_custom_splitnormals_clear()
    obj.select = False

Paste in Text editor, select objects and Run.

thank you eppo! perfect!
i would export it again, problem is i dont have cinema at home. :stuck_out_tongue: