princeton-vl / infinigen

Infinite Photorealistic Worlds using Procedural Generation

Home Page:https://infinigen.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Control the area and height of the room

GCChen97 opened this issue · comments

Is it possible to roughly control the floor area and ceiling height of the room? If we can do that, then it may be easier to create some big room such as big classrooms.

I found freespace_2d in constraint_language/__init__.py that seems to control freespace on the floor. Since the room size seems to be decided in the RoomSolver, I don't know if I can define a new constraint in a similar way as freespace_2d to control the room size.

Room height can be changed in


Total room size can be implemented similarily to
+ rooms[Semantics.StaircaseRoom].sum(

but without room type specifications

That is great! Thanks for pointing out the codes 👍