NVIDIAGameWorks / NVIDIAGameWorks/kaolin

converting .obj to .usd

Open
#529 3 comments 0 reactions 1 assignee View on GitHub

@Jean-Francois-Lafleche is already working on this.

Since Feb 25, 2022.

no-issue-activity
Dominant language
Python
Stars
5.2k
Forks
629
Avg merge
53m
Merged PRs (30d)
2

Description

I would like to know how to convert an .obj file to a usdfile , which is exclusively used in the Kaolin App. I tried to follow the kaolin.io.usd.export_mesh documentation but I failed. My .obj file contains vertex colors as texture, while the kaolin.io.usd.export_mesh does not support simple vertex colors or face colors. My .obj file is in this format:

v -0.156279 0.470894 0.131134 0.365163 1.000000 0.000000
vn -0.886813 -0.261297 0.381164
f 1352 1324 1357

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.