SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Rule-based layout solving and its application to
procedural interior generation




CASA Workshop on 3D Advanced Media In Gaming And Simulation (3AMIGAS)

Tim Tutenel, Ruben M. Smelik, Rafael Bidarra, Klaas Jan de Kraker

June 19, 2009

                                                                        1
Rule-based layout solving and its application to
procedural interior generation




CASA Workshop on 3D Advanced Media In Gaming And Simulation (3AMIGAS)

Tim Tutenel, Ruben M. Smelik, Rafael Bidarra, Klaas Jan de Kraker

June 19, 2009

                                                                        2
Rule-based layout solving



• (Semi-)Automated placement of objects based on
  relationships
• Why focus on interiors?
   • General structure
   • A lot of user knowledge




June 17, 2009                                      3
Solving approach


                   Class Library

                                    Class rules
                      Class        and features

      User Input
                                                   Possible
          or          object         Solver
                                                  locations
       Planner




June 17, 2009                                             4
Feature-based class representation


• Geometric representation valid for each instance of
  that class
   • Relatively defined (on top of, in front of, …)
• Different feature types
   • OffLimit
   • Clearance
   • …



June 17, 2009                                           5
Cupboard representation
                          Clearance
                          feature in front
                          of cupboard


      OffLimits
      feature




June 17, 2009                       6
Class relationships


• Examples:
   • Sofa instance should face TV instance when present
   • The back of a Cupboard instance should be against
     a Wall feature
   • DinnerPlate instance on stack in a cupboard or on
     top of a Table instance




June 17, 2009                                        7
Hierarchical solving with sub plans


• Example: Desk
   • A lot of linked objects (chair, computer, lamp, filing
     cabinet, phone…)
   • For layout purposes: it is one block




June 17, 2009                                             8
Solving mechanism


• Find all possible areas from the ground type
• Remove invalid areas based on the features present in
  the current scene
• Intersect with the areas described in the rules




June 17, 2009                                         9
Glass on table




June 17, 2009    10
Attractors and detractors


• Boolean approach not always desirable




June 17, 2009                             11
Solving approach


                   Class Library

                                    Class rules
                      Class        and features

      User Input
                                                   Possible
          or          object         Solver
                                                  locations
       Planner




June 17, 2009                                             12
Planner overview


• Submits objects to solver based on a procedure
  containing rules like:
   • Place 2 instances of class Table
   • Place as many instances of class Chair as possible
   • Add instances of class Cupboard until total amount
     of storage > 1.3 m³




June 17, 2009                                         13
Multiple example solutions




June 17, 2009                14
Living room example




                      Time: 152 ms
                      Nr of objects: 30

June 17, 2009                  15
Factory example




June 17, 2009     16
House layout example




June 17, 2009          17
Road example




June 17, 2009   18
Conclusion


• Layout solving approach
   • Speed up manual design
   • Automatically create parts of game worlds
• Interior generation possible at runtime
• Generic approach by using abstract class representations
• Future work
   • Integration with comprehensive semantics-based class
     library
   • Visual editing possibilities for the classes, rules and plans
   • Maintaining relationships when editing

June 17, 2009                                                  19
Questions




June 17, 2009   20

Weitere ähnliche Inhalte

Ähnlich wie Rule-based Layout Solving and Its Application to Procedural Interior Generation

DDD Part3 Retrospective
DDD Part3 RetrospectiveDDD Part3 Retrospective
DDD Part3 RetrospectiveYukei Wachi
 
Open Source Tools For Freelancers
Open Source Tools For FreelancersOpen Source Tools For Freelancers
Open Source Tools For FreelancersChristie Koehler
 
Introduction to Go
Introduction to GoIntroduction to Go
Introduction to Gozhubert
 
The State of the Social Desktop 2009
The State of the Social Desktop 2009The State of the Social Desktop 2009
The State of the Social Desktop 2009Frank Karlitschek
 
MiningTheSocialWeb.Ch2.Microformat
MiningTheSocialWeb.Ch2.MicroformatMiningTheSocialWeb.Ch2.Microformat
MiningTheSocialWeb.Ch2.MicroformatHyeonSeok Choi
 
Dev tools rendering & memory profiling
Dev tools rendering & memory profilingDev tools rendering & memory profiling
Dev tools rendering & memory profilingOpen Academy
 
Google Chrome DevTools: Rendering & Memory profiling on Open Academy 2013
Google Chrome DevTools: Rendering & Memory profiling on Open Academy 2013Google Chrome DevTools: Rendering & Memory profiling on Open Academy 2013
Google Chrome DevTools: Rendering & Memory profiling on Open Academy 2013Máté Nádasdi
 
The Social Desktop - Keynote Akademy 2008
The Social Desktop - Keynote Akademy 2008The Social Desktop - Keynote Akademy 2008
The Social Desktop - Keynote Akademy 2008Frank Karlitschek
 
Advanced Skinning & Styling for Android
Advanced Skinning & Styling for AndroidAdvanced Skinning & Styling for Android
Advanced Skinning & Styling for Androidcephus07
 
Computer vision old problems new solutions
Computer vision   old problems new solutionsComputer vision   old problems new solutions
Computer vision old problems new solutionsGopi Krishna Nuti
 
Apcug 2011 07-17-intro_to_drupal_jeff_schuler
Apcug 2011 07-17-intro_to_drupal_jeff_schulerApcug 2011 07-17-intro_to_drupal_jeff_schuler
Apcug 2011 07-17-intro_to_drupal_jeff_schulerhewie
 
Explanation Capabilities of the Open Source Case-Based Reasoning Tool myCBR
Explanation Capabilities of the Open Source Case-Based Reasoning Tool myCBRExplanation Capabilities of the Open Source Case-Based Reasoning Tool myCBR
Explanation Capabilities of the Open Source Case-Based Reasoning Tool myCBRThomas Roth-Berghofer
 
COMP 775 Motion planning paper presentation
COMP 775 Motion planning paper presentation COMP 775 Motion planning paper presentation
COMP 775 Motion planning paper presentation Ravikiran J
 
Non Relational Databases And World Domination
Non Relational Databases And World DominationNon Relational Databases And World Domination
Non Relational Databases And World DominationJason Davies
 

Ähnlich wie Rule-based Layout Solving and Its Application to Procedural Interior Generation (20)

All The Little Pieces
All The Little PiecesAll The Little Pieces
All The Little Pieces
 
DDD Part3 Retrospective
DDD Part3 RetrospectiveDDD Part3 Retrospective
DDD Part3 Retrospective
 
Open Source Tools For Freelancers
Open Source Tools For FreelancersOpen Source Tools For Freelancers
Open Source Tools For Freelancers
 
Introduction to Go
Introduction to GoIntroduction to Go
Introduction to Go
 
The State of the Social Desktop 2009
The State of the Social Desktop 2009The State of the Social Desktop 2009
The State of the Social Desktop 2009
 
MiningTheSocialWeb.Ch2.Microformat
MiningTheSocialWeb.Ch2.MicroformatMiningTheSocialWeb.Ch2.Microformat
MiningTheSocialWeb.Ch2.Microformat
 
Dev tools rendering & memory profiling
Dev tools rendering & memory profilingDev tools rendering & memory profiling
Dev tools rendering & memory profiling
 
Google Chrome DevTools: Rendering & Memory profiling on Open Academy 2013
Google Chrome DevTools: Rendering & Memory profiling on Open Academy 2013Google Chrome DevTools: Rendering & Memory profiling on Open Academy 2013
Google Chrome DevTools: Rendering & Memory profiling on Open Academy 2013
 
The Social Desktop - Keynote Akademy 2008
The Social Desktop - Keynote Akademy 2008The Social Desktop - Keynote Akademy 2008
The Social Desktop - Keynote Akademy 2008
 
Capitol js
Capitol jsCapitol js
Capitol js
 
Advanced Skinning & Styling for Android
Advanced Skinning & Styling for AndroidAdvanced Skinning & Styling for Android
Advanced Skinning & Styling for Android
 
Component-first Applications
Component-first ApplicationsComponent-first Applications
Component-first Applications
 
Computer vision old problems new solutions
Computer vision   old problems new solutionsComputer vision   old problems new solutions
Computer vision old problems new solutions
 
Pulsar
PulsarPulsar
Pulsar
 
Apcug 2011 07-17-intro_to_drupal_jeff_schuler
Apcug 2011 07-17-intro_to_drupal_jeff_schulerApcug 2011 07-17-intro_to_drupal_jeff_schuler
Apcug 2011 07-17-intro_to_drupal_jeff_schuler
 
Explanation Capabilities of the Open Source Case-Based Reasoning Tool myCBR
Explanation Capabilities of the Open Source Case-Based Reasoning Tool myCBRExplanation Capabilities of the Open Source Case-Based Reasoning Tool myCBR
Explanation Capabilities of the Open Source Case-Based Reasoning Tool myCBR
 
COMP 775 Motion planning paper presentation
COMP 775 Motion planning paper presentation COMP 775 Motion planning paper presentation
COMP 775 Motion planning paper presentation
 
Non Relational Databases And World Domination
Non Relational Databases And World DominationNon Relational Databases And World Domination
Non Relational Databases And World Domination
 
Splash
SplashSplash
Splash
 
HCI-Lecture-1
HCI-Lecture-1HCI-Lecture-1
HCI-Lecture-1
 

Kürzlich hochgeladen

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 

Kürzlich hochgeladen (20)

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

Rule-based Layout Solving and Its Application to Procedural Interior Generation

  • 1. Rule-based layout solving and its application to procedural interior generation CASA Workshop on 3D Advanced Media In Gaming And Simulation (3AMIGAS) Tim Tutenel, Ruben M. Smelik, Rafael Bidarra, Klaas Jan de Kraker June 19, 2009 1
  • 2. Rule-based layout solving and its application to procedural interior generation CASA Workshop on 3D Advanced Media In Gaming And Simulation (3AMIGAS) Tim Tutenel, Ruben M. Smelik, Rafael Bidarra, Klaas Jan de Kraker June 19, 2009 2
  • 3. Rule-based layout solving • (Semi-)Automated placement of objects based on relationships • Why focus on interiors? • General structure • A lot of user knowledge June 17, 2009 3
  • 4. Solving approach Class Library Class rules Class and features User Input Possible or object Solver locations Planner June 17, 2009 4
  • 5. Feature-based class representation • Geometric representation valid for each instance of that class • Relatively defined (on top of, in front of, …) • Different feature types • OffLimit • Clearance • … June 17, 2009 5
  • 6. Cupboard representation Clearance feature in front of cupboard OffLimits feature June 17, 2009 6
  • 7. Class relationships • Examples: • Sofa instance should face TV instance when present • The back of a Cupboard instance should be against a Wall feature • DinnerPlate instance on stack in a cupboard or on top of a Table instance June 17, 2009 7
  • 8. Hierarchical solving with sub plans • Example: Desk • A lot of linked objects (chair, computer, lamp, filing cabinet, phone…) • For layout purposes: it is one block June 17, 2009 8
  • 9. Solving mechanism • Find all possible areas from the ground type • Remove invalid areas based on the features present in the current scene • Intersect with the areas described in the rules June 17, 2009 9
  • 10. Glass on table June 17, 2009 10
  • 11. Attractors and detractors • Boolean approach not always desirable June 17, 2009 11
  • 12. Solving approach Class Library Class rules Class and features User Input Possible or object Solver locations Planner June 17, 2009 12
  • 13. Planner overview • Submits objects to solver based on a procedure containing rules like: • Place 2 instances of class Table • Place as many instances of class Chair as possible • Add instances of class Cupboard until total amount of storage > 1.3 m³ June 17, 2009 13
  • 15. Living room example Time: 152 ms Nr of objects: 30 June 17, 2009 15
  • 19. Conclusion • Layout solving approach • Speed up manual design • Automatically create parts of game worlds • Interior generation possible at runtime • Generic approach by using abstract class representations • Future work • Integration with comprehensive semantics-based class library • Visual editing possibilities for the classes, rules and plans • Maintaining relationships when editing June 17, 2009 19