mantra: thickness of a curve

   10855   2   1
User Avatar
Member
21 posts
Joined: Nov. 2010
Offline
I have a simple curve SOP, and was pleasantly surprised to learn that it renders in mantra without converting it to a tube or other. But where do I control its thickness?

Thanks,

-Greg
User Avatar
Member
1925 posts
Joined: Nov. 2006
Offline
Curve rendering thickness is controlled by a point attribute called width. If you append an Attribute Create SOP to your network and create a point attribute of that name you can control the thickness when it renders with that value. By default curves render with a width of 0.1.
Graham Thompson, Technical Artist @ Rockstar Games
User Avatar
Member
21 posts
Joined: Nov. 2010
Offline
Thanks graham. That's it.
  • Quick Links