princeton-vl / infinigen

Infinite Photorealistic Worlds using Procedural Generation
https://infinigen.org
BSD 3-Clause "New" or "Revised" License
5.38k stars 466 forks source link

How to create a custom scene #307

Open DreamerYinYu opened 2 months ago

DreamerYinYu commented 2 months ago

How to create your own scene, such as the moon or Mars? How can I customize the scene layout, such as the placement of objects, etc

GCChen97 commented 2 months ago

I am learning this framework too. I am trying to understand 'infinigen/infinigen_examples/constraints/home.py' for generating indoor scenes and the scene layout is generated according to

    consgraph = home_constraints.home_furniture_constraints()
    consgraph_rooms = home_constraints.home_room_constraints()

You need to define your own graphs by yourself.