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

the lighting of "dataset mode" and "scene mode" are different, how to change it #2374

Open
Jay-Vim-Lv opened this issue Apr 26, 2024 · 2 comments

Comments

@Jay-Vim-Lv
Copy link

Habitat-Sim version

v0.3.0

Habitat is under active development, and we advise users to restrict themselves to stable releases. Are you using the latest release version of Habitat-Sim? Your question may already be addressed in the latest version. We may also not be able to help with problems in earlier versions because they sometimes lack the more verbose logging needed for debugging.

Main branch contains 'bleeding edge' code and should be used at your own risk.

Docs and Tutorials

Did you read the docs? https://aihabitat.org/docs/habitat-sim/
yes
Did you check out the tutorials? https://aihabitat.org/tutorial/2020/
yes
Perhaps your question is answered there. If not, carry on!

❓ Questions and Help

I am new learner, when I try to run the examples/viewer.py, i found this situation.

i used the hssd-hab dataset and the code like this
--dataset data/.../hssd-hab.scene_dataset_config.json --scene data/.../103997919_171031233.scene_instance.json
the scene is like this:
图片

and it looks different from the picture in the paper or glb in the dataset. (As known, hssd-hab is the compressed version of hssd)

so i download the hssd dataset, and run it like this
--scene data/.../103997919_171031233.glb
the scene is like this:
图片

so i choose a component, hssd-hab/stages/103997919_171031233.glb
--scene data/.../103997919_171031233.glb
the scene is like this:
图片
I don't know how to describe it exactly, it seems like the lighting or color is different. how does it happen? and what should i do to set it.

waiting for the help.

@aclegg3
Copy link
Contributor

aclegg3 commented Apr 26, 2024

Hey @Jay-Vim-Lv,

That one scene you are using does have a missing kitchen element (top image), so that is a known issue.

You may be looking for the shadows provided by Horizon Based Ambient Occlusion(HBAO). You can toggle this with --hbao in the python viewer.

For example, the same scene with HBAO:
image

@Jay-Vim-Lv
Copy link
Author

Thank you for the reply @aclegg3 !
I added the "--hbao" like this:

--dataset data/.../hssd-hab.scene_dataset_config.json

--scene data/.../103997919_171031233.scene_instance.json

--hbao

I'm sure sim_settings["enable_hbao"] is True at this time.
but like the scene still looks different like yours:
图片

aha, it seems the same as the top image, what is this about?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants