{"title":"Real-time Collision using AI","authors":"L. Ladicky, Sohyeon Jeong","doi":"10.1145/3588430.3597254","DOIUrl":null,"url":null,"abstract":"Traditional narrow collision pipelines for rigid body dynamics typically consist of calculation of collisions between primitives with a dedicated deepest point function for each primitive pair and a much slower general collision calculation between a pair of convex shapes. The mixture of different collision functions makes these methods not CPU-cache friendly and unsuitable for modern GPU hardware. For many reinforcement learning applications, data transfers become the bottle-neck of the whole pipeline. To get a stable behavior of rigid bodies even on a flat ground without jittering, it is necessary to use multiple contact points for each pair of objects. This is achieved by either keeping track of old collision points, or by adding noise to the collision pair. Using the first approach we get a full set of collision points only after multiple frames, using the second, the computational cost largely increases by a factor equal to the number of samples. In this project, we propose to tackle these issues by introducing: a) the quadric decomposition - a data representation for both primitives and general shapes, describing each object as a union of the intersection of planar and quadric inequalities, b) calculation of the deepest point as a maximization of depth over a set of quadric inequalities, c) prediction of the desired number of contact points as a maximization of the surface of the intersection polygon, d) Recurrent neural network (RNN) based solver to speed up the optimization process.","PeriodicalId":256728,"journal":{"name":"ACM SIGGRAPH 2023 Real-Time Live!","volume":"10 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-07-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM SIGGRAPH 2023 Real-Time Live!","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3588430.3597254","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Traditional narrow collision pipelines for rigid body dynamics typically consist of calculation of collisions between primitives with a dedicated deepest point function for each primitive pair and a much slower general collision calculation between a pair of convex shapes. The mixture of different collision functions makes these methods not CPU-cache friendly and unsuitable for modern GPU hardware. For many reinforcement learning applications, data transfers become the bottle-neck of the whole pipeline. To get a stable behavior of rigid bodies even on a flat ground without jittering, it is necessary to use multiple contact points for each pair of objects. This is achieved by either keeping track of old collision points, or by adding noise to the collision pair. Using the first approach we get a full set of collision points only after multiple frames, using the second, the computational cost largely increases by a factor equal to the number of samples. In this project, we propose to tackle these issues by introducing: a) the quadric decomposition - a data representation for both primitives and general shapes, describing each object as a union of the intersection of planar and quadric inequalities, b) calculation of the deepest point as a maximization of depth over a set of quadric inequalities, c) prediction of the desired number of contact points as a maximization of the surface of the intersection polygon, d) Recurrent neural network (RNN) based solver to speed up the optimization process.