Add --folder option to export without USDZ packaging for large PLY files#190
Open
j3soon wants to merge 1 commit intonv-tlabs:mainfrom
Open
Add --folder option to export without USDZ packaging for large PLY files#190j3soon wants to merge 1 commit intonv-tlabs:mainfrom
--folder option to export without USDZ packaging for large PLY files#190j3soon wants to merge 1 commit intonv-tlabs:mainfrom
Conversation
Large USDZ archives can fail to export due to size limit. This adds a --folder option to `ply_to_usd.py` that exports USD files (default.usda, gauss.usda, and .nurec) directly to a folder instead of packaging them in a USDZ archive. Reference: nv-tlabs#139
Author
|
Example steps: First, clone the repo: git clone -b feat/folder-option-for-large-ply https://github.com/j3soon/3dgrut.git
cd 3dgrutSecond, launch 3DGRUT container xhost +local:root
docker run -v --rm -it --gpus=all --net=host --ipc=host -v $PWD:/workspace --runtime=nvidia -e DISPLAY j3soon/3dgrut:20260203in the container run: python -m threedgrut.export.scripts.ply_to_usd ./assets/example.ply --output_file ./assets/example --folderwait for it to finish, and change permissions for later use: chmod -R a+r ./assets/exampleThird, launch Isaac Sim 5.1.0 (Kit 107.3.3) container: mkdir -p ~/docker/isaac-sim/cache/main/ov
mkdir -p ~/docker/isaac-sim/cache/main/warp
mkdir -p ~/docker/isaac-sim/cache/computecache
mkdir -p ~/docker/isaac-sim/config
mkdir -p ~/docker/isaac-sim/data/documents
mkdir -p ~/docker/isaac-sim/data/Kit
mkdir -p ~/docker/isaac-sim/logs
mkdir -p ~/docker/isaac-sim/pkg
sudo chown -R 1234:1234 ~/docker/isaac-sim
docker pull nvcr.io/nvidia/isaac-sim:5.1.0
xhost +local:docker
docker run --name isaac-sim --entrypoint bash -it --gpus all -e "ACCEPT_EULA=Y" --rm --network=host \
-e "PRIVACY_CONSENT=Y" \
-v ~/docker/isaac-sim/cache/main:/isaac-sim/.cache:rw \
-v ~/docker/isaac-sim/cache/computecache:/isaac-sim/.nv/ComputeCache:rw \
-v ~/docker/isaac-sim/logs:/isaac-sim/.nvidia-omniverse/logs:rw \
-v ~/docker/isaac-sim/config:/isaac-sim/.nvidia-omniverse/config:rw \
-v ~/docker/isaac-sim/data:/isaac-sim/.local/share/ov/data:rw \
-v ~/docker/isaac-sim/pkg:/isaac-sim/.local/share/ov/pkg:rw \
-v $(pwd):/workspace \
-e DISPLAY=$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $HOME/.Xauthority:/root/.Xauthority \
-u 1234:1234 \
nvcr.io/nvidia/isaac-sim:5.1.0in the container run: then drag |
Author
|
As a side note, the PLY should have SH degree 3 (i.e., should have Line 69 in a03c594 If following above with a PLY with SH degree 0, the error will occur: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Large PLY files (>4 GB) fail to convert to USDZ when using the threedgrut.export.scripts.ply_to_usd script due to the USDZ 4 GB size limit. The failure occurs silently during conversion and can only be detected using USD tooling such as
usdview,usdtree -f, Omniverse Kit, or Isaac Sim.This adds a
--folderoption toply_to_usd.pythat exports USD files (default.usda,gauss.usda, and.nurec) directly to a folder instead of packaging them in a USDZ archive. Exporting to a folder avoids the USDZ size limit and provides a simple workaround for large point cloud files.Closes: #139