-
Notifications
You must be signed in to change notification settings - Fork 38
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
Bug when rendering the home scenes #41
Comments
I have try the method 2 in #30 (comment)
the error disappers, but there is still nothing: |
Hi @MiangChen, the black screen might be caused by the poor pose of the perspective camera. You may expand the stage panel on the right, select an object, and then press the F key to align the current camera to that object. Thus you can check whether the scene is correctly loaded. |
hi, I try this, and I can see a coordinate system indicating the position of that thing, but they are not rendered properly. 2025.03.10.08.41.22.webm |
It seems that the references are broken. Can you check the existence of the referred usd files? You can find the reference path in the |
thanks, I check the reference path, and there is some error. and I change the true usd path to the content in the but this files doesn't work for some reason, so the scenes are not rendered properly. |
Hi @MiangChen , thank you for the details about the issue. It is caused due to the broken symlinks of the |
Hi @tianshihan818 , can you provide a script for automatic symlink fixing? |
tks, looking forward to the script for repair. I can help test the effect later if necessary. |
@MiangChen Hello! Thanks for your feedback! You could try this script to fix/recreate the symlinks inside the scenes folder: import os
def create_symlinks(scenes_folder):
if not os.path.exists(scenes_folder):
raise FileNotFoundError(f"scenes_folder {scenes_folder} not found!")
models_dir = os.path.abspath(os.path.join(scenes_folder, 'models'))
scenes_dir = os.path.abspath(os.path.join(scenes_folder, 'scenes'))
materials_dir = os.path.abspath(os.path.join(scenes_folder, 'Materials'))
# create "Materials" symlink in models_dir
for root, _, files in os.walk(models_dir):
for _ in files:
link_path = os.path.join(root, "Materials")
materials_dir_relpath = os.path.relpath(materials_dir, root)
if not os.path.islink(link_path):
os.symlink(materials_dir_relpath, link_path)
# create "Materials" and "models" symlink in scenes_dir
for root, _, files in os.walk(scenes_dir):
for _ in files:
materials_link_path = os.path.join(root, "Materials")
models_link_path = os.path.join(root, "models")
materials_dir_relpath = os.path.relpath(materials_dir, root)
models_dir_relpath = os.path.relpath(models_dir, root)
if not os.path.islink(materials_link_path):
os.symlink(materials_dir_relpath, materials_link_path)
if not os.path.islink(models_link_path):
os.symlink(models_dir_relpath, models_link_path)
SCENES_FOLDER = 'commercial_scenes'
create_symlinks(SCENES_FOLDER) |
Hi @HanqingWangAI, I am facing somewhat similar issue. When I try to play the table scene given in demo franka scene dir via the command python toolkits/grscenes_scripts/preprocess.py -f /root/Documents/grutopia_assets/scenes/demo_scenes/franka_mocap_teleop/table_scene.usd -i Then streaming client does not display anything and the logs I see on terminal are the following: I also tried to load the usd file through this method (#41 (comment)) but then I get this error: Is there anything I am doing wrong here?@MiangChen can you guide me as how you are able to play the scene? Any help will be appreciated! (P.S: I downloaded the assets at a different directory but I ran the |
hi, @m-muaz I try your command in my terminal, and the error is
I try to add a parameter So I try another command
Although there would be some red error saying "No space left on device", don't worry, just wait, and then you can see the demo scene. |
Ubuntu 20.04
IsaacSim 4.2.0
The table_scene.usd can be rendered properly:
However, when I try the scene in the commercial and home scenes, there is nothing:
and the error occurs:
The text was updated successfully, but these errors were encountered: