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

Customized Asset Placement in room generation: Selecting and Positioning specific items #38

Open
Miitz opened this issue Nov 10, 2023 · 4 comments

Comments

@Miitz
Copy link

Miitz commented Nov 10, 2023

Hello everyone, I have questions about placing assets during generation.
Is there a method to include only a specific list of assets in a room or apartment? For instance, generating a kitchen with only ['fridge', 'diningTable'].
If this is possible, can these assets be positioned next to each other?

@mariiak2021
Copy link

I'm also interested in this! @Lucaweihs @mattdeitke, can you please help?

@sarthakchittawar
Copy link

Are there any updates in this thread? I'm also interested in choosing only a set of objects for my procthor generated scene.

@Lucaweihs
Copy link
Contributor

Hi everyone, everything is customizable but it will require you "getting your hands dirty" by digging a bit into what ProcTHOR is doing and writing some code. If you want to generate a kitchen with only fridges/dining tables, then you'd want to change the add_floor_objects and add_small_objects functions that are being specified here. By default we use:

  1. default_add_floor_objects
  2. default_add_small_objects

In particular, for the kitchen example, you'd want to ensure that you exclude placing anything but fridges/dining tables when room.room_type is kitchen in the default_add_floor_objects function and, assuming you really want no other objects, you'd want to skip adding any objects to kitchens in the default_add_small_objects function.

@Lucaweihs
Copy link
Contributor

I might also point you to Holodeck that would let you specify your constraints via language and, so long as you're willing to bear the cost of some GPT-4 queries (not too bad), should also give you some scenes that give you what you want.

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

4 participants