• 제목/요약/키워드: deformable object simulation

검색결과 25건 처리시간 0.042초

Simulation of Deformable Objects using GLSL 4.3

  • Sung, Nak-Jun;Hong, Min;Lee, Seung-Hyun;Choi, Yoo-Joo
    • KSII Transactions on Internet and Information Systems (TIIS)
    • /
    • 제11권8호
    • /
    • pp.4120-4132
    • /
    • 2017
  • In this research, we implement a deformable object simulation system using OpenGL's shader language, GLSL4.3. Deformable object simulation is implemented by using volumetric mass-spring system suitable for real-time simulation among the methods of deformable object simulation. The compute shader in GLSL 4.3 which helps to access the GPU resources, is used to parallelize the operations of existing deformable object simulation systems. The proposed system is implemented using a compute shader for parallel processing and it includes a bounding box-based collision detection solution. In general, the collision detection is one of severe computing bottlenecks in simulation of multiple deformable objects. In order to validate an efficiency of the system, we performed the experiments using the 3D volumetric objects. We compared the performance of multiple deformable object simulations between CPU and GPU to analyze the effectiveness of parallel processing using GLSL. Moreover, we measured the computation time of bounding box-based collision detection to show that collision detection can be processed in real-time. The experiments using 3D volumetric models with 10K faces showed the GPU-based parallel simulation improves performance by 98% over the CPU-based simulation, and the overall steps including collision detection and rendering could be processed in real-time frame rate of 218.11 FPS.

변형 가능한 물체를 위한 효과적인 시뮬레이션 제어 (Effective Simulation Control for Deformable Object)

  • 홍민;최민형
    • 컴퓨터교육학회논문지
    • /
    • 제8권1호
    • /
    • pp.73-80
    • /
    • 2005
  • 변형 가능한 물체들 간의 자연스럽고 그럴듯한 상호작용을 얻거나, 시뮬래이션을 사용자가 원하는 시작 조건으로 설정하기 위해서는 이를 제어할 수 있는 기하학적인 제한을 직관적으로 정의하거나 제어 할 수 있어야 한다. 또한 사용자가 시뮬레이터의 중대한 변경 없이 시뮬레이션을 다양한 환경의 시뮬레이션문제를 풀기위한 기반으로 사용할 수 있어야 한다. 본 논문에서 제안된 물리학 기반의 기하학적 제한 시뮬레이션 시스템은 변형 가능한 물체를 표현하기 위혜서 비선형적인 유한요소 해석 방법을 사용하였으며, 제약 조건을 지키기 위해서 물체의 노드에 기하학적인 제한을 설정함으로써 제한 힘이 생성된다. 또한 사용자가 기하학적인 제한을 설정하고 변경 할 수 있도록 해주며, 이러한 제약들은 지속적으로 시뮬레이션 시스템을 통제 할 수 있도록 제한 힘으로 변환된다. 따라서 시뮬레이터는 물체에 적용되는 선형적, 각도, 부동식 등의 기하학적 제한을 통제 할 수 있다. 본 연구의 실험적인 결과들은 전체 시뮬레이션 동안 기하학적 제한이 작은 오차 범위 내에서 잘 지켜지고, 변형 가능한 물체의 원하는 형태를 잘 보존하고 있음을 보여준다.

  • PDF

s-FEM을 이용한 변형체 햅틱 시뮬레이션 (Haptic Simulation for Deformable Object with s-FEM)

  • 전성기;최진복;조맹효
    • 한국전산구조공학회:학술대회논문집
    • /
    • 한국전산구조공학회 2006년도 정기 학술대회 논문집
    • /
    • pp.373-380
    • /
    • 2006
  • Accurate and fast haptic simulations of deformable objects are desired in many applications such as medical virtual reality. In haptic interactions with a coarse model, the number of nodes near the haptic interaction region is too few to generate detailed deformation. Thus, local refinement techniques need to be developed. Many approaches have employed purely geometric subdivision schemes, but they are not proper in describing the deformation behavior of deformable objects. This paper presents a continuum mechanics-based finite element adaptive method to perform haptic interaction 'with a deformable object. This method superimposes a local fine mesh upon a global coarse model, which consists of the entire deformable object. The local mesh and the global mesh are coupled by the s-version finite element method (s-FEM), which is generally used to enhance accurate solutions near the target points even more. The s-FEM can demonstrate a reliable deformation to users in real-time.

  • PDF

s-FEM 을 이용한 햅틱 시뮬레이션 (Haptic Simulation with s-FEM)

  • 전성기;조맹효
    • 대한기계학회:학술대회논문집
    • /
    • 대한기계학회 2007년도 춘계학술대회A
    • /
    • pp.780-785
    • /
    • 2007
  • Accurate and fast haptic simulations of deformable objects are desired in many applications such as medical virtual reality. In haptic interactions with a coarse model, the number of nodes near the haptic interaction region is too few to generate detailed deformation. Thus, local refinement techniques need to be developed. Many approaches have employed purely geometric subdivision schemes, but they are not proper in describing the deformation behavior of deformable objects. This paper presents a continuum mechanics-based finite element adaptive method to perform haptic interaction with a deformable object. This method superimposes a local fine mesh upon a global coarse model, which consists of the entire deformable object. The local mesh and the global mesh are coupled by the s-version finite element method (s-FEM), which is generally used to enhance accurate solutions near the target points even more. The s-FEM can demonstrate a reliable deformation to users in real-time.

  • PDF

B-spline volume 변형체의 실시간 시뮬레이션 II (Real-time simulation on B-spline deformable volume-part III)

  • 전성기;조맹효
    • 한국전산구조공학회:학술대회논문집
    • /
    • 한국전산구조공학회 2002년도 가을 학술발표회 논문집
    • /
    • pp.70-77
    • /
    • 2002
  • Since our physical world cannot be modeled as rigid body, deformable object models are important. For real-time simulation of elastic object, it must be guaranteed by its exact solution and low-latency computational cost. In this paper, we describe the boundary integral equation formulation of linear elastic body and related boundary element method(BEM). The deformation of elastic body can be effectively solved with 1ow run-time computational costs, using precomputed Green Function and fast low-rank updates based on Capacitance Matrix Algorithm.

  • PDF

모바일 게임을 위한 증강현실 기반 직관적 변형 직물객체 조작 (Intuitive Manipulation of Deformable Cloth Object Based on Augmented Reality for Mobile Game)

  • 김상준;홍민;최유주
    • 정보처리학회논문지:소프트웨어 및 데이터공학
    • /
    • 제7권4호
    • /
    • pp.159-168
    • /
    • 2018
  • 최근 높은 관심을 모으고 있는 모바일 증강현실 게임은 몰입감을 높이기 위한 접근 방법으로 손꼽히고 있다. 모바일 디바이스의 카메라를 이용하여 대상 물체를 인식하고 게임 캐릭터가 등장하도록 하는 기존 증강현실 기반의 게임에서는 대부분이 터치 기반의 인터랙션만을 사용하고 있다. 본 논문에서는 게임의 몰입도를 높이기 위하여 증강현실 타겟 이미지를 움직임으로써 게임 속 변형 객체를 직관적으로 조작하는 기법을 제안한다. 제안 방법에서는 타겟 이미지들 사이의 거리와 방향을 계산하고, 이에 따라 변형객체에 주어지는 외부력(external force)의 크기를 조정함으로써, 직관적 방법으로 변형 객체의 움직임을 조작할 수 있도록 하였다. 본 논문에서는 게임 콘텐츠에서 자연스러운 객체 표현을 위하여 많이 사용되고 있는 변형 직물(cloth) 모델에 초점을 맞추었고, 바람(wind)과 강체(rigid object)로 표현되는 게임 객체들과 상호작용하는 자연스러운 직물의 움직임을 표현하였다. 실험에서는 유니티 에셋 스토어에서 판매하는 기존 유료 직물 모델의 적용 결과와의 비교를 통하여 제안 기법이 보다 현실감 있는 직물의 움직임을 표현하고 있는 것을 보였다.

햅틱 인터페이스를 위한 물리기반 변형체 실시간 시뮬레이션 (Physics-based Real-time Simulation of Deformable Body for Haptic Interface)

  • 전성기;최진복;조맹효
    • 대한기계학회:학술대회논문집
    • /
    • 대한기계학회 2004년도 춘계학술대회
    • /
    • pp.557-562
    • /
    • 2004
  • For constructing virtual environment it is more natural to model object as deformable body than as rigid body. High accuracy of simulation of model and low-latency computational cost for real-time simulation should be guaranteed. We pre-compute Green function through finite element analysis of deformable body and it is possible to simulate deformation of body in real-time environment using Capacitance Matrix Algorithm. Also, the capacitance matrix algorithm enables to construct the haptic rendering which serves the reaction force through a haptic device. The Newmark scheme is used for the more realistic haptic rendering and dynamic simulation in real-time.

  • PDF

변형물체 시뮬레이션을 활용한 비 마커기반 증강현실 시스템 구현 (Implementation of Markerless Augmented Reality with Deformable Object Simulation)

  • 성낙준;최유주;홍민
    • 인터넷정보학회논문지
    • /
    • 제17권4호
    • /
    • pp.35-42
    • /
    • 2016
  • 최근 제한적인 마커기반 증강현실의 여러 가지 단점들을 보완하기 위해 사용자의 얼굴, 발, 손 등을 활용한 비 마커기반 증강현실 시스템에 관한 연구들이 활발하게 진행되고 있는 추세이다. 또한 대부분의 기존 증강현실 시스템들은 사용자에게 보여주는 것과 기본적인 상호작용에 목표를 두고 강체를 증강하여 수행되는 경우가 많았다. 본 논문에서는 단지 보여주는 것에 국한되는 것이 아니라 여러 분야에서 활용이 가능한 변형물체를 사용자와의 상호작용을 바탕으로 시뮬레이션을 제공하는 비 마커기반의 증강현실 시스템을 설계 및 구현하였다. 변형물체는 질량-스프링 모델, 유한 요소 모델 두 가지 방법을 주로 사용하여 구현한다. 질량-스프링 모델은 실시간 시뮬레이션에 장점이 있으며 유한 요소 모델은 변형물체의 정밀함을 나타낼 때 장점을 가진다. 본 논문에서는 실시간으로 시뮬레이션을 목표로 하고 있기 때문에 질량-스프링 모델을 기반으로 하는 테트라헤드론 구조를 이용하여 변형물체를 구현하였다. 변형물체의 자연스러운 움직임을 실시간으로 시뮬레이션하기 위해 키넥트 SDK를 통해 사용자의 손의 위치를 추적 하고, 손의 위치 변화량을 바탕으로 힘을 계산한다. 이를 바탕으로 $4^{th}$ order Runge-Kutta Integration 수치적분법을 이용하여 물체의 다음 위치를 계산하여 시뮬레이션 하도록 하였다. 그리고 자연스러운 동작을 표현하기 위해서 사용자의 손을 통해 물체에 작용하는 힘이 너무 많이 작용하지 않기 위해 제스처에 임계값을 정하였으며 해당 임계값을 넘는 힘이 작용할 경우 임계값으로만 적용되도록 설정하였다. 각 실험을 5회씩 반복하였으며 실험에 따른 시뮬레이션 연산속도를 분석하였다. 본 논문을 통해 구현한 변형물체를 활용한 비 마커기반 증강현실 시스템을 바탕으로 기존의 강체 기반의 증강현실에서 활용하기 힘들었던 의료, 교육 및 다양한 방면으로 시뮬레이션이 가능할 것으로 기대한다.

B-spline volume 변형체의 실시간 시뮬레이션 I (Real time simulation on B-spline deformable volume-part I)

  • 김현기;조맹효
    • 한국전산구조공학회:학술대회논문집
    • /
    • 한국전산구조공학회 2002년도 가을 학술발표회 논문집
    • /
    • pp.62-69
    • /
    • 2002
  • With the development of CUP speed and graphic technology, real-time simulation of deformable object is embossed as an essential issue in engineering field. Recently, it has been applied to the surgical training and game animation with haptic force feedback. But real time simulation of deformable objects is not easy because of the conflicting demands of speed and low latency and physical accuracy. In this study, we present the implementation of boundary element method(BEM) which is combined with the nonuniform B-spline surface. It is working together with the real-time simulation technique and the geometry data is altered by handling control points without preprocessing routine.

  • PDF

햅틱 상호작용에 의한 증강 객체의 동적 움직임 모델링 (Dynamic Behavior Modelling of Augmented Objects with Haptic Interaction)

  • 이선호;전준철
    • 인터넷정보학회논문지
    • /
    • 제15권1호
    • /
    • pp.171-178
    • /
    • 2014
  • 본 논문에서는 실시간으로 가상현실의 증강객체에 외부의 힘이 작용할 때 증강된 가상 객체의 동적 모델링 방법을 제시하였다. 가상객체의 자연스러운 움직임을 시뮬레이션 하기 위하여 AR 객체에 적용되는 외부의 힘의 변화에 대하여 Newton의 운동법칙을 적용하여 객체의 움직임을 설명하는 식을 생성하였다. 동적 모델링 과정에서 증강된 객체와 햅틱 장비간의 실질적 상호작용이 발생하며 이때 외부의 힘이 가상객체에 전달된다. 증강된 객체의 고유특성은 강체 혹은 탄성체의 성질을 갖는 모델이다. 강체의 동적 모델링에서는 선형 모멘텀과 각속도 모멘텀을 모두 고려하여 증강된 객체와 햅틱 스틱이 충돌할 때 수행하였다. 비강체의 동적 모델링에 있어서는 탄성체의 변형 모델은 내외의 힘과 제한요소에 자연적으로 반응하기 때문에 물리기반 시뮬레이션 방법을 적용하였다. 증강된 탄성체는 햅틱 인터페이스를 통해 사용자에 의하여 발생하는 힘의 특성과 모델의 고유 특성에 따라 자연스럽게 변형된다. 변형 물체의 모델링을 위하여 Newton의 제 2 운동법칙이라 불리는 질량-스프링 연결 시스템을 적용하였다. 실험을 통하여 증강된 강체와 비강체의 성질을 지닌 가상 객체에 햅틱 장비에 의한 햅틱 상호작용이 발생 할 때 객체의 변환을 자연스럽게 가시화 할 수 있었다.