0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Blenderの normals_split_custom_set_from_vertices について

Posted at

メッシュがFlat Shadingの状態でnormals_split_custom_set_from_verticesするとバグ?ってる
bpy.ops.object.shade_smooth() を mesh.normals_split_custom_set_from_vertices() する前に呼ぶこと。

理屈的にはFlat Shadingでは頂点が面毎に法線を持つが、normals_split_custom_set_from_verticesしても両方に面毎に分かれた法線すべてに適応されないのでそうなるのだと思われる。
Smooth Shadingを先に設定してやることで、1頂点1法線になるので直る。

smooth shadingをカスタム法線設定後に呼んでいたため(数週間)ハマった。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?