A collegue has modelled, in Rhino, a small transparent plastic bottle (the type commonly seen holding small amounts of cosmetics etc.) with an embossed logo on the wall of the bottle.
The mesh is pretty evenly divided until it gets to the embossed logo where the mesh gets very, very dense due to the bevels. It's imported into Blender as an .obj file.
For the most part, the normals all face out as should be the case, but around the embossed area the normal direction becomes random - some face out, others face into the bottle mesh making glass rendering impossible.
I've tried just about all the normal management functions (there aren't many) but it literally comes down to me having to individually select the reversed faces and and then flipping the normals. This is not a practical solution.
I'm wondering if anyone might be able to write a script for me, that would work something like this: 1) Import my mesh, set its base at 0:0:0. 2) Place an empty at the bottle's centre of mass, so-to-speak. 3) Run script, in Edit Mode, that selects all the normals on the bottle mesh that point towards the empty's z-axis.
Surely then I could simply click on flip direction and solve this issue?
Feedback is welcome!