allenai / procthor

🏘️ Scaling Embodied AI by Procedurally Generating Interactive 3D Houses
https://procthor.allenai.org/
Apache License 2.0
241 stars 20 forks source link

Door and window openness randomization #11

Open plrlz2 opened 1 year ago

plrlz2 commented 1 year ago

I saw that it seems not to be possible to randomize the door and/or window openness with procthor since the openness of doors only has two states (open, closed). Are there any plans to support continuous openness states of doors/windows at some point? Would that be even possible and if so, how much effort would it take to implement that?

mattdeitke commented 1 year ago

Openable doors and windows support an openness parameter. Here, 0 is closed, 1 is open at 90 degrees (default), 2 is open at 180 degrees, and there are linear interpolations between there.

plrlz2 commented 1 year ago

Interesting, can you point me to the code section where the openness value is sampled? Thanks a lot!