0
0

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 3 years have passed since last update.

スムーズメッシュでハードエッジを有効に(MEL)

Posted at

スムーズメッシュでハードエッジを有効にしたい
https://support.borndigital.co.jp/hc/ja/articles/360010574093-%E3%82%B9%E3%83%A0%E3%83%BC%E3%82%BA%E3%83%A1%E3%83%83%E3%82%B7%E3%83%A5%E3%81%A7%E3%83%8F%E3%83%BC%E3%83%89%E3%82%A8%E3%83%83%E3%82%B8%E3%82%92%E6%9C%89%E5%8A%B9%E3%81%AB%E3%81%97%E3%81%9F%E3%81%84

上の記事をmelにしました。
選択オブジェクトでスムーズメッシュのハードエッジが有効になります。

string $mySel[] = `ls -sl`;
for ($each in $mySel)
{
setAttr ($each +".useGlobalSmoothDrawType") 0; // Use Global(OpenSubdiv Catmull-Clark)
setAttr ($each +".smoothDrawType") 0; // Maya Catmull-Clark
setAttr ($each +".khe") yes; // Hard edges
}

名称未設定-1.jpg

こちらの記事を参考にしてます。
https://forums.cgsociety.org/t/adaptive-opensubdiv-on-maya-2015-standard-mel-inside/1650677

0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?