Material Style Sheets & packed Primitives

   1694   1   0
User Avatar
Member
350 posts
Joined: June 2016
Offline
Hi

Following along Jeff's webinar on material Style sheets, right about the 1 hour mark there is a demo applying a material Style sheet to a packed primitive.
To better my understanding, I'd like to know why it doesn't work (both in the webinar and my sample .hip file)

My hip is attached.

Attachments:
packedObject_begin3.hiplc (6.9 MB)
Material_style_packedPrimitive.JPG (148.7 KB)

User Avatar
Member
7755 posts
Joined: Sept. 2011
Offline
Since you aren't assigning the material with a stylesheet, mantra only knows about the materials on the geometry or on objects. Since the geometry is packed, it can't ‘see’ the materials on the geometry either. Therefore none of the materials in the scene are sent to the render. You'll need to force the inclusion of the materials by setting declare materials to ‘declare all materials.’

Hope that helps
  • Quick Links