Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instancing support #687

Open
lilleyse opened this issue Feb 14, 2024 · 1 comment
Open

Instancing support #687

lilleyse opened this issue Feb 14, 2024 · 1 comment

Comments

@lilleyse
Copy link
Contributor

Once instancing is supported in cesium-native (CesiumGS/cesium-native#458) we'll need a way to convert EXT_mesh_gpu_instancing to instanced USD/Fabric geometries.

See UsdGeomPointInstancer as a potential starting point. Not sure what the equivalent Fabric representation looks like.

@lilleyse
Copy link
Contributor Author

I found some sample data from the OpenUSD website: PointInstancedMedCity.zip

image

I saved the Fabric stage (fabric_stage.zip) and had a look at the Fabric representation. The instanced meshes have an _instancerPath attribute which points to a prim that has instanced positions, orientations, scales. With more reverse engineering we should be to replicate this in FabricGeometry.

How to save the Fabric stage:

  • Click the "Save Fabric Stage" button in the Cesium Power Tools window
  • Opencesium-omniverse/exts/cesium.powertools/fabric_stage.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant