Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 964 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 964 Bytes

Converting between SDF and USD

This example shows how a world in a SDF file can be converted to USD.

Requirements

You will need all of the dependencies for sdformat, along with the following additional dependencies:

Setup

Build sdformat, you should now have an executable named sdf2usd, which can be used to convert a SDF world file to a USD file. The following command converts the example shapes.sdf file to its USD representation, stored in a file called shapes.usd:

sdf2usd ../shapes.sdf shapes.usd

You can now view the contents of the generated USD file with usdview (this should have been installed when setting up the USD dependency):

usdview shapes.usd