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

Lighting is broken in tdw_room if scenes are loaded before it #613

Open
alters-mit opened this issue Jul 27, 2023 · 2 comments
Open

Lighting is broken in tdw_room if scenes are loaded before it #613

alters-mit opened this issue Jul 27, 2023 · 2 comments
Assignees

Comments

@alters-mit
Copy link
Member

Tested on Windows, MacOS, Linux. The bug can be reproduced by loading/unloading every scene except savanna_6k followed by tdw_room. It is very likely that fewer scenes than this are needed. If tdw_room is loaded first, there are no lighting bugs.

@alters-mit alters-mit self-assigned this Jul 27, 2023
@alters-mit
Copy link
Member Author

It's archviz_house and only archviz_house

@alters-mit
Copy link
Member Author

alters-mit commented Jul 28, 2023

from tdw.controller import Controller
from tdw.add_ons.third_person_camera import ThirdPersonCamera

c = Controller(launch_build=False)
c.communicate(Controller.get_add_scene(scene_name="archviz_house"))
c.add_ons.append(ThirdPersonCamera(position={"x": 0.56, "y": 1, "z": 1.26},
                                   avatar_id="a"))
c.communicate(Controller.get_add_scene(scene_name="tdw_room"))

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

1 participant