assign material: difference between geometry and mesh

   1884   2   1
User Avatar
Member
660 posts
Joined: 8月 2013
Offline
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
7836 posts
Joined: 9月 2011
Offline
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
スタッフ
4454 posts
Joined: 7月 2005
Offline
"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