assign material: difference between geometry and mesh

   2403   2   1
User Avatar
Member
739 posts
Joined: 8月 2013
オンライン
Hi. on the assignmaterial LOP in Solaris you can change the primitive to geometry or mesh amongst others. What is the difference between geometry and mesh. I was to tag geometry meshes (pols, sub-d etc. Is one preferred over the other?

EDIT: is seems MESH tags poly/subd data, but I still do not really understand what the difference in definition is.

Best

Mark
Edited by Mark Wallman - 2021年3月23日 09:29:04
User Avatar
Member
8173 posts
Joined: 9月 2011
オフライン
It looks like "Geometry" is a shortcut for all prims that inherit from the UsdGeomBoundable schema and Mesh is from UsdGeomMesh. I'm fairly certain Mesh is a subset of boundable, however I'm not sure if boundable is a subset of gprim or the otherway around.
User Avatar
スタッフ
4559 posts
Joined: 7月 2005
オフライン
"Geometry" would include curves, points, cubes, spheres... The reason "Geometry" uses UsdGeomBoundable is to capture point instancers (which are boundable, but are not gprims). If you go to https://graphics.pixar.com/usd/docs/api/class_usd_geom_boundable.html [graphics.pixar.com] and click on the "Inheritance Diagram for UsdGeomBuondable" it shows a nice graphical representation of the schema inheritance.
  • Quick Links