Implementasi Augmented Reality Pada Objek Ibadah Haji Berbasis Android
Tugas Akhir Diajukan Untuk Memenuhi Persyaratan Guna Meraih Gelar Sarjana Strata 1 Teknik Informatika Universitas Muhammadiyah Malang
Willy Destyawan Putra Hardika 201110370311005
JURUSAN TEKNIK INFORMATIKA FAKULTAS TEKNIK UNIVERSITAS MUHAMMADIYAH MALANG 2016
ii
iii
iv
LEMBAR PERSEMBAHAN Puji syukur penulis panjatkan ke hadirat Allah Subhanahu wa Ta'ala atas rahmat dan karunia-Nya sehingga penulis dapat menyelesaikan Tugas Akhir ini. Maka dari itu penulis menyampaikan ucapan terima kasih yang sebesar-besarnya kepada : 1. Allah Subhanahu wa Ta'ala. Atas semua Rahmat dan Hidayah-Nya dalam menyelesaikan tugas akhir ini. 2. Ummi tercinta Wahju Indrawati, M.Pd dan Abi Edy Sutikno, M.Pd., M.M.Pd dengan seluruh doanya dan dukungan yang tiada henti untuk anak-anaknya. 3. Dosen pembimbing Bapak Ilyas Nuryasin, S.Kom., M.Kom dan Bapak Denar Regata Akbi, S.Kom., M.Kom yang telah membimbing dengan penuh kesabaran hingga selesai. 4. Dosen penguji Ibu Lailatul Husniah, S.ST, MT dan Ibu Diah Risqiwati, S.T, M.T., terimakasih banyak atas saran dan dukungannya. 5. Rosa Putri Pertiwi, S.Pd., Muhammad Hidayatulah N., S.Kom., Faizal Fahmi Karim, S.Kom., Moch. Regriagi Fadilah, S.Kom., Labib Naufal Muttaqin, S.Kom., Kurniawan Nur Utomo, A.Md., Fudin Hariyanto, Marjan Faturahman Ode.
v
KATA PENGANTAR
Assalamu'alaikum Warahmatullahi Wabarakatuh Dengan memanjatkan puji syukur kehadirat Allah Subhanahu wa Ta'ala, atas limpahan rahmat dan hidayah-NYA sehingga peneliti dapat menyelesaikan tugas akhir yang berjudul : “IMPLEMENTASI AUGMENTED REALITY PADA OBJEK IBADAH HAJI BERBASIS ANDROID” Peneliti menyadari sepenuhnya bahwa dalam penulisan tugas akhir ini masih banyak kekurangan dan keterbatasan. Oleh karena itu peneliti mengharapkan saran yang membangun agar tulisan ini bermanfaat bagi perkembangan ilmu pengetahuan kedepan. Akhir kata penulis mengucapkan terima kasih kepada semua pihak yang telah membantu sehingga tugas akhir ini terselesaikan Wassalamu’alaikum Warahmatullahi Wabarakatuh.
Malang, 27 Agustus 2016
Penulis
vi
DAFTAR ISI
Halaman Judul Lembar Persetujuan ................................................................................
ii
Lembar Pengesahan ..................................................................................
iii
Lembar Pernyataan .................................................................................
iv
Lembar Persembahan ..............................................................................
v
Abstrak ......................................................................................................
vi
Abstract .....................................................................................................
vii
Kata Pengantar ........................................................................................
viii
Daftar Isi ...................................................................................................
ix
Daftar Gambar .........................................................................................
xii
Daftar Tabel ..............................................................................................
xiv
BAB I PENDAHULUAN 1.1
Latar Belakang Masalah .......................................................
1
1.2
Rumusan Masalah .................................................................
2
1.3
Tujuan ...................................................................................
2
1.4
Batasan Masalah ...................................................................
2
1.5
Metodologi ............................................................................
2
1.6
Sistematika Penulisan ...........................................................
3
BAB II DASAR TEORI 2.1
Augmented Reality ................................................................
4
2.2
Vuforia SDK .........................................................................
5
2.3
Marker ..................................................................................
7
2.4
Model Tiga Dimensi .............................................................
8
2.5
Android .................................................................................
9
2.6
Unity 3D ...............................................................................
10
2.7
Haji ........................................................................................
10
2.7.1 Syarat Rukun dan Wajib Haji ...................................
11
2.7.2 Macam - Macam Haji ...............................................
12
vii
2.7.3 Pelaksanaan Ibadah Haji (Manasik Haji) ..................
12
2.7.4 Larangan Haji ............................................................
14
BAB III ANALISIS DAN PERANCANGAN SISTEM 3.1
Analisis ................................................................................
16
3.2
Analisis Kebutuhan ...............................................................
16
3.2.1 Kebutuhan Non Fungsional ......................................
16
3.2.2 Kebutuhan Fungsional ..............................................
16
3.3
Deskripsi Sistem ...................................................................
17
3.4
Metode Pengumpulan Data ...................................................
18
3.5
Proses Alur Kerja ..................................................................
18
3.6
Flowchart Diagram ...............................................................
18
3.7
Perancangan Sistem ..............................................................
20
3.7.1 Blok Diagram ............................................................
20
3.7.2 Deteksi Marker .........................................................
20
Konstruksi Sistem .................................................................
21
3.8.1 Perancangan Objek 3D ..............................................
21
3.8.1.1 Perancangan Objek Ibadah Haji ..................
21
3.8.2 Perancangan Marker .................................................
22
Perancangan Desain Interfaces .............................................
22
3.10 Perancangan Model Objek 3D ..............................................
23
3.10.1 Perancangan Model Objek Ibadah Haji 3D ..............
23
3.11 Perancangan Poster Marker ..................................................
25
3.12 Skenario Pengujian Black-box ..............................................
26
3.13 Skenario Pengujian Jarak dan Cahaya ..................................
26
3.8
3.9
BAB IV IMPLEMENTASI DAN PENGUJIAN 4.1
Implementasi Sistem .............................................................
28
4.1.1 Import Package Vuforia SDK Unity Extension .........
30
4.1.2 Implementasi Icon Aplikasi ......................................
32
4.1.3 Implementasi Marker ................................................
32
4.1.4 Implementasi AR Camera ........................................
37
viii
4.2
4.1.5 Implementasi Touchscreen Events ............................
38
4.1.6 Implementasi Add Sound Image Target ....................
40
4.1.7 Implementasi Script ..................................................
41
4.1.8 Implementasi Tampilan Antarmuka ..........................
43
Pengujian Sistem ...................................................................
46
4.2.1 Pengujian Jarak dan Cahaya .....................................
47
4.2.2 Proses Black-box Testing ..........................................
47
4.2.3 Pembahasan Pengujian ..............................................
49
BAB V KESIMPULAN DAN SARAN 5.1
Kesimpulan ...........................................................................
50
5.2
Saran .....................................................................................
50
DAFTAR PUSTAKA ...............................................................................
51
LAMPIRAN
ix
DAFTAR GAMBAR Gambar 2.1
Milgram’s Reality Virtual Continuum ................................
4
Gambar 2.2
QR (Quick Response) .........................................................
7
Gambar 2.3
Fiducial Marker ..................................................................
8
Gambar 2.4
Markerless Marker .............................................................
8
Gambar 2.5
Ilustrasi Penggunaan Fungsi Distance() .............................
10
Gambar 3.1
Konsep Implementasi AR Pada Objek Ibadah Haji ...........
18
Gambar 3.2
Flowchart Diagram ............................................................
19
Gambar 3.3
Blok Diagram Pendeteksian Marker ...................................
20
Gambar 3.4
Tampilan Antarmuka Menu AR Objek Ibadah Haji ..........
22
Gambar 3.5
Tampilan Menu Tutorial .....................................................
23
Gambar 3.6
Perancangan Model Objek Ka’bah 3D ...............................
23
Gambar 3.7
Perancangan Model Objek Jabal Rahmah 3D ....................
24
Gambar 3.8
Perancangan Model Objek Tenda Mabit 3D ......................
24
Gambar 3.9
Perancangan Model Objek Tugu Jamratul 3D ...................
25
Gambar 3.10 Perancangan Poster Marker ................................................
25
Gambar 4.1
Smartphone OS Android ....................................................
29
Gambar 4.2
Marker Augmented Reality Objek Ibadah Haji ..................
29
Gambar 4.3
Marker Location Augmented Reality Objek Ibadah Haji ...
30
Gambar 4.4
Import Package Vuforia SDK ............................................
31
Gambar 4.5
Import Package Vuforia Unity ...........................................
31
Gambar 4.6
Menampilkan Icon Aplikasi ...............................................
32
Gambar 4.7
License Key .........................................................................
33
Gambar 4.8
Create Database .................................................................
33
Gambar 4.9
Database .............................................................................
34
Gambar 4.10 Add Target Marker .............................................................
34
Gambar 4.11 Database Marker ................................................................
35
Gambar 4.12 Download Database ...........................................................
35
Gambar 4.13 Import Package Database ..................................................
36
Gambar 4.14 Merubah Image Target .......................................................
37
Gambar 4.15 Implementasi Transform AR Camera ................................
37
x
Gambar 4.16 Setting AR Camera Pada Inspectore ..................................
38
Gambar 4.17 Import Package Lean Touch SDK .....................................
38
Gambar 4.18 Implementasi Touchscreen Events LeanTouch ..................
39
Gambar 4.19 Implementasi Touchscreen Events ImageTarget ................
39
Gambar 4.20 Implementasi Add Sound Image Target Audio Source .......
40
Gambar 4.21 Implementasi Add Sound Image Target .............................
40
Gambar 4.22 Script Menu ........................................................................
41
Gambar 4.23 Script Revolusi.js ................................................................
41
Gambar 4.24 Script SimpleMove.cs .........................................................
42
Gambar 4.25 Script SimpleRotateScale.cs ...............................................
42
Gambar 4.26 Main Menu .........................................................................
43
Gambar 4.27 Tampilan Augmented Reality Ka’bah .................................
44
Gambar 4.28 Tampilan Augmented Reality Jabal Rahmah ......................
44
Gambar 4.29 Tampilan Augmented Reality Tenda Mabit ........................
45
Gambar 4.30 Tampilan Augmented Reality Tugu Jamratul .....................
45
Gambar 4.31 Tampilan Augmented Reality Location ..............................
46
Gambar 4.32 Tampilan Augmented Reality Tutorial ................................
46
xi
DAFTAR TABEL Tabel 3.1
Rancangan Pengujian Black-box ............................................
26
Tabel 3.2
Rancangan Pengujian Jarak dan Cahaya ................................
27
Tabel 4.1
Spesifikasi Perangkat ..............................................................
28
Tabel 4.2
Pengujian Jarak dan Cahaya ...................................................
47
Tabel 4.3
Pengujian Menu Utama ..........................................................
48
Tabel 4.4
Pengujian Mulai Augmented Reality ......................................
48
Tabel 4.5
Pengujian Menu Tutorial ........................................................
49
Tabel 4.6
Pengujian Menu Exit ..............................................................
49
xii
DAFTAR PUSTAKA [1] Ardi, B.P. 2012. Desain dan Implementasi Augmented Reality Berbasis Web pada Aplikasi Furniture Shopping Manager Sebagai Alat Bantu Belanja Online. Jurnal Transformatika Vol. 10 (26-33). http://journals.usm.ac.id/index.php/transformatika/article/view/67/67, diakses 16 Oktober 2015. [2] Dedynggego., Mohammad. & Affan, M. 2015. Perancangan Media Pembelajaran Interaktif 3D Tata Surya Menggunakan Teknologi Augmented Reality untuk Siswa Kelas 6 Sekolah Dasar Sangira. Jurnal Elektronik System Informasi dan Komputer Vol 1. http://jesik.web.id/index.php/jesik/article/download/13/12, diakses 16 Februari 2016. [3] Dwi, D.P. & Dharmayanti. 2014. Teknologi Multimedia Augmented Reality dalam Pembuatan Ensiklopedia Model Alat Transportasi Darat di Jakarta. Prosiding Seminar Ilmiah Nasional Komputer dan Sistem Intelijen. http://ejournal.gunadarma.ac.id/index.php/kommit/article/viewFile/1034/896, diakses 1 November 2015. [4] Endra, M.W.P., Nyoman, P.C., Gede, I.M.D., & Windu, M.A.K. 2013. Augmented Reality Book Sistem Rumah Tradisional Bali berdasarkan Asta Kosala-Kosali. Jurnal Nasional Pendidikan Teknik Informatika Vol 1, No 3. http://pti.undiksha.ac.id/janapati/vol2no3/6.pdf, diakses 4 November 2015. [5] Fauzi, F.P., Nurma, J.S. & MOH.Suhatman, R. Aplikasi Pembelajaran Matamorfosis Berbasis Android Augmented Reality. Jurnal Teknik Informatika Vol 1. http://aksara.pcr.ac.id/page/read_pdf.php?name=FahrezaFauzi-Putra.pdf&id=45, diakses 4 April 2015. [6] Tanpa Nama. 2015. Pengetahuan Ibadah Haji. http://mihrabqolbi.com/artikel/detail/24/pengetahuan-ibadah-haji.html, diakses 19 Oktober 2015.
xiii