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

Exporting a scene causes all objects to move to 0, 0, 0 coordinate. #399

Open
destin-v opened this issue Jan 10, 2025 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@destin-v
Copy link

Describe the bug

When exporting a generated scene to USDC, all of the objects are placed in the 0, 0, 0 position. I discovered this bug just by following the tutorial on installation, hello world, and exporting.

Steps to Reproduce

See below.

What version of the code were you using?

Release: v1.12.2
Git Commit: 59a2574

What command did you run?

# on  Mac x86_64 (Intel)
brew install wget cmake llvm open-mpi libomp glm glew zlib

git clone https://github.com/princeton-vl/infinigen.git
cd infinigen
conda create --name infinigen python=3.11
conda activate infinigen

# Full install (Terrain & OpenGL-GT enabled, needed for Infinigen-Nature HelloWorld)
pip install -e ".[terrain,vis]"

# Make dirs
mkdir outputs

# Generate a scene layout
python -m infinigen_examples.generate_nature --seed 0 --task coarse -g desert.gin simple.gin --output_folder outputs/hello_world/coarse

# Populate unique assets
python -m infinigen_examples.generate_nature --seed 0 --task populate fine_terrain -g desert.gin simple.gin --input_folder outputs/hello_world/coarse --output_folder outputs/hello_world/fine

# NOTE
# -----------------------------------------------------------------------------
# At this point I can open up Blender and view the desert generated file.  
# I see that there are boxes spread out across the map which are placeholders 
# for the generators needed for things like bush, cactus, etc.  The next step is 
# where things fail.  When I export the file and view the USDC it places all of 
# the objects in the 0,0,0 position.  This does not match the original fine Blender
# file found in outputs/hello_world/fine.
# -----------------------------------------------------------------------------
python -m infinigen.tools.export --input_folder outputs/hello_world/fine --output_folder outputs/desert -f usdc -r 1024

Platform

  • OS & OS Version: Mac Sonoma 14.7.2
  • GPU (?) : Radeon Pro 5500M
  • GPU Driver Version (?) :
  • RAM (GB): 16GB

Logs

export_logs.txt

@destin-v destin-v added the bug Something isn't working label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants