Microsoft PowerPoint - gpgpu_proximity.ppt

Similar documents
Ⅱ. Embedded GPU 모바일 프로세서의 발전방향은 저전력 고성능 컴퓨팅이다. 이 러한 목표를 달성하기 위해서 모바일 프로세서 기술은 멀티코 어 형태로 발전해 가고 있다. 예를 들어 NVIDIA의 최신 응용프 로세서인 Tegra3의 경우 쿼드코어 ARM Corte

19_9_767.hwp

untitled

[ReadyToCameral]RUF¹öÆÛ(CSTA02-29).hwp

63-69±è´ë¿µ

04_오픈지엘API.key

01이국세_ok.hwp

High Resolution Disparity Map Generation Using TOF Depth Camera In this paper, we propose a high-resolution disparity map generation method using a lo

2005CG01.PDF

김기남_ATDC2016_160620_[키노트].key

À±½Â¿í Ãâ·Â

APOGEE Insight_KR_Base_3P11


09권오설_ok.hwp

PowerPoint 프레젠테이션

<31325FB1E8B0E6BCBA2E687770>

04-다시_고속철도61~80p

°í¼®ÁÖ Ãâ·Â

Microsoft PowerPoint - NV40_Korea_KR_2.ppt

45-51 ¹Ú¼ø¸¸


<353420B1C7B9CCB6F52DC1F5B0ADC7F6BDC7C0BB20C0CCBFEBC7D120BEC6B5BFB1B3C0B0C7C1B7CEB1D7B7A52E687770>

,. 3D 2D 3D. 3D. 3D.. 3D 90. Ross. Ross [1]. T. Okino MTD(modified time difference) [2], Y. Matsumoto (motion parallax) [3]. [4], [5,6,7,8] D/3

untitled

歯15-ROMPLD.PDF

I

(JBE Vol. 21, No. 1, January 2016) (Regular Paper) 21 1, (JBE Vol. 21, No. 1, January 2016) ISSN 228

FMX M JPG 15MB 320x240 30fps, 160Kbps 11MB View operation,, seek seek Random Access Average Read Sequential Read 12 FMX () 2

(Exposure) Exposure (Exposure Assesment) EMF Unknown to mechanism Health Effect (Effect) Unknown to mechanism Behavior pattern (Micro- Environment) Re

Microsoft PowerPoint Q AMD DT channel training Nov.ppt

Output file

MAX+plus II Getting Started - 무작정따라하기

6.24-9년 6월

untitled

THE JOURNAL OF KOREAN INSTITUTE OF ELECTROMAGNETIC ENGINEERING AND SCIENCE Nov.; 25(11),

untitled


쿠폰형_상품소개서

- 이 문서는 삼성전자의 기술 자산으로 승인자만이 사용할 수 있습니다 Part Picture Description 5. R emove the memory by pushing the fixed-tap out and Remove the WLAN Antenna. 6. INS

OR MS와 응용-03장

example code are examined in this stage The low pressure pressurizer reactor trip module of the Plant Protection System was programmed as subject for

Journal of Educational Innovation Research 2018, Vol. 28, No. 3, pp DOI: NCS : * A Study on

<313120C0AFC0FCC0DA5FBECBB0EDB8AEC1F2C0BB5FC0CCBFEBC7D15FB1E8C0BAC5C25FBCF6C1A42E687770>

CL100B_manual_kor_m.0.2.indd

(JBE Vol. 7, No. 4, July 0)., [].,,. [4,5,6] [7,8,9]., (bilateral filter, BF) [4,5]. BF., BF,. (joint bilateral filter, JBF) [7,8]. JBF,., BF., JBF,.

MPEG-4 Visual & 응용 장의선 삼성종합기술원멀티미디어랩

CD-RW_Advanced.PDF

Microsoft PowerPoint - eSlim SV [080116]

融合先验信息到三维重建 组会报 告[2]

CyberLink YouCam

MS-SQL SERVER 대비 기능

CONTENTS 목차 1. 전원 및 설치시 주의사항 2 2. 시스템 사용시 바른 자세 4 3. 시스템 구성품 확인 5 슬림형 케이스1 6 슬림형 케이스2 7 타워형 케이스1 8 타워형 케이스2 9 일체형 케이스1 10 망분리형 케이스 시스템 시작 및 종료

Microsoft PowerPoint - 발표_090513_IBM세미나_IPTV_디디오넷_완료.ppt

Orcad Capture 9.x

Microsoft PowerPoint cg01.ppt

PowerPoint 프레젠테이션

1.장인석-ITIL 소개.ppt

K_R9000PRO_101.pdf

PJTROHMPCJPS.hwp

Microsoft PowerPoint - eSlim SV [ ]

목차 제 1 장 inexio Touch Driver소개 소개 및 주요 기능 제품사양... 4 제 2 장 설치 및 실행 설치 시 주의사항 설치 권고 사양 프로그램 설치 하드웨

(JBE Vol. 20, No. 5, September 2015) (Special Paper) 20 5, (JBE Vol. 20, No. 5, September 2015) ISS

슬라이드 1

PowerPoint 프레젠테이션

13김상민_ok.hwp

안전을 위한 주의사항 제품을 올바르게 사용하여 위험이나 재산상의 피해를 미리 막기 위한 내용이므로 반드시 지켜 주시기 바랍니다. 2 경고 설치 관련 지시사항을 위반했을 때 심각한 상해가 발생하거나 사망에 이를 가능성이 있는 경우 설치하기 전에 반드시 본 기기의 전원을

Microsoft PowerPoint - ch03ysk2012.ppt [호환 모드]

untitled

04서종철fig.6(121~131)ok

15_3oracle

SchoolNet튜토리얼.PDF

untitled

달라진 프로엔지니어 와일드파이어 따라잡기 회전(Revolve) - 단면에 스케치한 첫 번째 중심선 주위로 지정 한 각도만큼 스케치 단면을 회전시켜 퀼트를 생성한다. 경계 블렌드(Boundary Blend) 등 고급 파라메트릭 서피스 도구가 있다. 가변 단면 스윕(Var

Microsoft PowerPoint - Lect17-FromGeoToPixels-1.pptx

Slide 1

03이승호_ok.hwp

DBPIA-NURIMEDIA

, ( ) 1) *.. I. (batch). (production planning). (downstream stage) (stockout).... (endangered). (utilization). *

Development of culture technic for practical cultivation under structure in Gastrodia elate Blume

B-05 Hierarchical Bayesian Model을 이용한 GCMs 의 최적 Multi-Model Ensemble 모형 구축

Journal of Educational Innovation Research 2019, Vol. 29, No. 1, pp DOI: * Suggestions of Ways

1. 3DTV Fig. 1. Tentative terrestrial 3DTV broadcasting system. 3D 3DTV. 3DTV ATSC (Advanced Television Sys- tems Committee), 18Mbps [1]. 2D TV (High

Berechenbar mehr Leistung fur thermoplastische Kunststoffverschraubungen

보고서(겉표지).PDF

2 / 26

DBPIA-NURIMEDIA

KDTÁ¾ÇÕ-1-07/03

6. Separate HDD by pulling in the arrow direction. * Cautions Avoid lifting HDD excessively, because Connector can be damaged ODD Remove

Journal of Educational Innovation Research 2019, Vol. 29, No. 1, pp DOI: (LiD) - - * Way to

untitled

1 : HEVC Rough Mode Decision (Ji Hun Jang et al.: Down Sampling for Fast Rough Mode Decision for a Hardware-based HEVC Intra-frame encoder) (Special P

08이규형_ok.hwp

Microsoft Word - HD-35 메뉴얼_0429_.doc

3 : OpenCL Embedded GPU (Seung Heon Kang et al. : Parallelization of Feature Detection and Panorama Image Generation using OpenCL and Embedded GPU). e

DBPIA-NURIMEDIA

Journal of Educational Innovation Research 2017, Vol. 27, No. 2, pp DOI: : Researc

KDTÁ¾ÇÕ-2-07/03

PowerChute Personal Edition v3.1.0 에이전트 사용 설명서

Analyses the Contents of Points per a Game and the Difference among Weight Categories after the Revision of Greco-Roman Style Wrestling Rules Han-bong

THE JOURNAL OF KOREAN INSTITUTE OF ELECTROMAGNETIC ENGINEERING AND SCIENCE Dec.; 27(12),

Transcription:

Fast Geometric Computations using GPUs 김영준 http://graphics.ewha.ac.kr 이화여자대학교컴퓨터학과

Topics Collision detection Closest point query Approximate arrangement computation Ewha Womans University http://graphics.ewha.ac.kr 2

Streaming AABBs Collision detection for deformable models Ewha Womans University http://graphics.ewha.ac.kr 3

Teaser Video Ewha Womans University http://graphics.ewha.ac.kr 4

Streaming AABB Pipeline 1. Stream setup 2. Stream calculation 3. Stream update Ewha Womans University http://graphics.ewha.ac.kr 5

Streaming AABBs (a) Intersecting bunny models (b) Pre-computed AABB-trees (c) Intersecting AABB streams Pull Down Stream setup using pre-computed AABB Ewha Womans University http://graphics.ewha.ac.kr 6 trees

Streaming AABBs Vertex textures MAX MIN AABB Streams Ewha Womans University http://graphics.ewha.ac.kr 7

Streaming AABB Overlap Test Streaming AABBs of model B Ewha Womans University http://graphics.ewha.ac.kr 8

Streaming CD Results Collision result of AABB pairs stored at an off-screen buffer Intersected models Ewha Womans University http://graphics.ewha.ac.kr 9

Readback from GPU to CPU Readback from GPU to CPU is costly 50 milli-seconds for 1024x1024 frame buffer Hierarchical readback Ewha Womans University http://graphics.ewha.ac.kr 10

Stream Reduction Level n Level 1 Level 0 Ewha Womans University http://graphics.ewha.ac.kr 11

Readback Level 3 (P3) Level 2 (P2) Encoding Level 1 (P1) Level 0 (P0) Ewha Womans University http://graphics.ewha.ac.kr 12

Readback Decoding Level 3 (P3) Level 2 (P2) Level 1 (P1) Level 0 (P0) Time (encoding) + Time (decoding) << Time (direct readback) Video Ewha Womans University http://graphics.ewha.ac.kr 13

Primitive Level Test Triangle-triangle overlap test using CPUs Ewha Womans University http://graphics.ewha.ac.kr 14

Stream Update Vertex textures Fragment shader Fragment program MAX MIN Framebuffer-1 Framebuffer-2 Multi-Rendering Targets (MRT) Ewha Womans University http://graphics.ewha.ac.kr 15

Implemetation Streaming computation in GPUs nvidia GeForce 7800 GTX GPU (PCI-E) 512 MB video memory 32-bit floating point Serial computation in CPU 3.4 GHz Intel Dual Core Processor, 2.7 GB main memory Languange C++ in Windows nvidia s Cg (vp40 and fp40 profiles) OpenGL 2.0 Ewha Womans University http://graphics.ewha.ac.kr 16

Benchmarking Scenarios (a) Interlocking torii (15000x2 triangles, 60-80 FPS) (b) Touching torii (15000x2 triangles, 90-100 FPS) (c) Merging torii (15000x2 triangles, 25-30 FPS) (d) Bump bunnies (15000x2 triangles, 50-60 FPS) (e) Happy buddhas (20000x2 triangles, 25-40 FPS) (f) Intimate animals (50000x2 triangles, 20-30 FPS) Ewha Womans University http://graphics.ewha.ac.kr 17

Performance Comparison Three times performance improvement over CULLIDE No collision misses up to floating point precision Ewha Womans University http://graphics.ewha.ac.kr 18

Demo Video Ewha Womans University http://graphics.ewha.ac.kr 19

Parallel Triangle Intersection Test Using CUDA Triangles of Object2 (n2) b_hig (tri1, tri2) Triangles of Object1 (n1) b_wid

Implementation Environment Microsoft Visual Studio 2005 CUDA Toolkit/SDK 1.1 OpenGL Library Intel Core2Duo E6550 nvidia GeForce 8800 GTX Benchmarks Model 1 Model 2 Scenario 1 Sphere(960) Cylinder(216) Scenario 2 Cup(7580) Azucar(5250) Scenario 3 Cup(7580) Spoon(26012)

Intersection Results Sphere & Cylinder CPU vs. GPU(CUDA) Time (ms) CPU 11.84 GPU(CUDA) 2.34 5 times faster! Ewha Womans University

Intersection Results Cup & Azucar CPU vs. GPU(CUDA) Time (ms) CPU 2099.5 GPU(CUDA) 183.9 11 times faster! Ewha Womans University

Intersection Results Cup & Spoon CPU vs. GPU(CUDA) Time (ms) CPU 10377.62 GPU(CUDA) 1084.22 10 times faster! Ewha Womans University

Closest Point Query Application to penetration depth computation Ewha Womans University http://graphics.ewha.ac.kr 25

Closest Point Query Shortest distance from a point to the surface of the union of convex polytopes Approximate the query using GPUs easy difficult Ewha Womans University Young J. Kim 26

Closet Point Query Main Idea Incrementally expand the current front of the boundary Ewha Womans University Young J. Kim 27

Closest Point Query 1. Render front faces, and open up a window where z- value is less than the current front 2. Render back faces w/ z-greater-than test 3. Repeat the above m times, where m := # of obj s Ewha Womans University Young J. Kim 28

Closest Point Query 1. Render front faces, and open up a window where z- value is less than the current front 2. Render back faces w/ z-greater-than test 3. Repeat the above m times, where m := # of obj s Ewha Womans University Young J. Kim 29

Penetration Depth (PD) Minimum translational distance needed to separate objects Ewha Womans University Young J. Kim 30

Penetration Depth (PD) d Minimum translational distance needed to separate objects Ewha Womans University Young J. Kim 31

Penetration Depth PD determines the amount of repulsive forces in penalty-based, 6DOF haptic rendering Ewha Womans University Young J. Kim 32

Penetration Depth Shortest distance from the origin to the surface of convex Minkowski sum 0.3 sec 3.7 sec 1.9 sec 0.4 sec Ewha Womans University http://graphics.ewha.ac.kr 33

Approximate Arrangement Computation Application to global visibility and swept volume

Arrangement C 44 C 11 C 33 C 22 A simple arrangement of 5 lines An arrangement of geometric objects is the decomposition of space induced by given geometric primitives The outer envelope is defined as a boundary of the cell in an arrangement, which can be reached from the infinity [Halperin 97] Ewha Womans University http://graphics.ewha.ac.kr 35

Motivations Engine of a BMW 5 with 3,741,833 triangles [Ernst 04] Car door with 782,018 triangles Ewha Womans University http://graphics.ewha.ac.kr 36

Goal Remove invisible geometric elements when the inspection is performed from outside only Design reviews Visual inspection Training simulations Ewha Womans University http://graphics.ewha.ac.kr 37

Infinite Number of Viewpoint Render the scene from infinite # of viewpoint [Ernst 04] Ewha Womans University http://graphics.ewha.ac.kr 38

Main Contributions Robust and practical approach to find invisible elements from a given scene database Pose the problem as envelope computation Use of GPUs to accelerate the computation Ewha Womans University http://graphics.ewha.ac.kr 39

Algorithm Overview Distance field representations Use GPUs Fast marching method Use CPUs Extract visible surface Use CPUs Ewha Womans University http://graphics.ewha.ac.kr 40

Directional Distance Fields 3D voxel grid where each voxel contains a value of shortest distance to the surface We compute directional distance fields for six principal directions (+x, -x, +y, -y, +z, -z) Ewha Womans University http://graphics.ewha.ac.kr 41

Distance Fields Computations P P R P R P R P R P R P R R P R Ewha Womans University http://graphics.ewha.ac.kr 42 z

Distance Fields Computations primitive orthographic projection Z = D projection Y image plane X Z-buffer holds the directed distance values Ewha Womans University http://graphics.ewha.ac.kr 43

Distance Fields Generation Ewha Womans University http://graphics.ewha.ac.kr 44

Front Propagation Initial Front Final Front Ewha Womans University http://graphics.ewha.ac.kr 45

Front Propagation Rules D Q P 1. Propagate d<d Q P Q P 2. Don t Propagate 3. Find envelope and don t propagate Ewha Womans University http://graphics.ewha.ac.kr 46

Front Propagation Initial Front Final Front Ewha Womans University http://graphics.ewha.ac.kr 47

Extract Visible Surface out out in out Ewha Womans University http://graphics.ewha.ac.kr 48

Implement Environment Microsoft Visual Studio.Net OpenGL, OpenSG library Dual AMD Athlon 64 2.6GHz PC with nvidia GeForce 7900 GX2 Ewha Womans University http://graphics.ewha.ac.kr 49

Benchmarking Models Car Model 3M triangles 0.25K scene graph nodes Engine Model 0.3 M triangles 7K scene graph nodes Ewha Womans University http://graphics.ewha.ac.kr 50

Results Grid Resolution: 128 3, Removal Rate: 71% Ewha Womans University http://graphics.ewha.ac.kr 51

Results Grid Resolution: 256 3, Removal Rate: 69% Ewha Womans University http://graphics.ewha.ac.kr 52

Results Grid Resolution: 64 3 Removal Rate: 82% Ewha Womans University http://graphics.ewha.ac.kr 53

Results Grid Resolution: 128 3 Removal Rate: 64% Ewha Womans University http://graphics.ewha.ac.kr 54

Computation Time Models Car (247 nodes, 3M Tri.) Engine (7177 nodes, 270K Tri.) Grid resolution directed distance field computation time Front propagation time 128 3.42sec 0.05sec 256 6.59sec 0.10sec 64 1.85sec 0.05sec 128 4.26sec 0.40sec Average : 4.18sec Ewha Womans University http://graphics.ewha.ac.kr 55

Application to Swept Volume Sweep Trajectory Arrangement Boundary of SV

Computational Pipeline 1. Enumerate surface primitives 2. Compute their arrangement 3. Traverse the arrangement and extract the outermost boundary

Results Trajectory Sweep Ewha Womans University http://graphics.ewha.ac.kr 58

Results Ewha Womans University http://graphics.ewha.ac.kr 59

References Xinyu Zhang, Young J. Kim, Interactive collision detection for deformable models using Streaming AABBs, IEEE Transactions on Visualization and Computer Graphics, 13(2), Mar/Apr,2007 Y. J. Kim, K. Hoff, M. C. Lin and D. Manocha, Closest point query among the union of convex polytopes using rasterization hardware, Journal of Graphics Tools, 7.4, 2003 민혜정, 이민경, 김영준, 대용량모델렌더링을위한전역적가시화컬링알고리즘, 한국그래픽스학회, Nov. 2006 Y. J. Kim, G. Varadhan, M. C. Lin and D. Manocha, Fast Swept Volume Approximation of Complex Polyhedral Models, Computer Aided Design, 36(11), Sep 2004. Ewha Womans University http://graphics.ewha.ac.kr 60

Thank you Questions to kimy@ewha.ac.kr Ewha Womans University http://graphics.ewha.ac.kr 61