Category Archives: Info

Advanced Graphics : Assignment 4

Group Discussion Session

Given Date : November 30th, 2015

Due Date : December 1st, 2015

Scenario : 

  1. Lecturer divide the class to form five groups. (done)
  2. Lecturer will explain about concept of texture (approx. 30 minutes)
  3. Lecturer will give topics to be discussed by each group (approx. @10 minutes)
  4. The result of discussion will be presented by each group (approx. @5 minutes)
  5. Lecturer will review the presentation

Group 1

Leader : Moh. Adri Alfi Sidqi

Topic : Texture Mapping

Materials : Listen to the lecturer presentation

Question :

What is texture mapping? Explain how to do texture mapping in a surface / model?

Answer :

Texture mapping is mapping of any image into multidimensional space

To do texture mapping in a model :

  1. Define the 2D coordinate (s, t) in the image (usually the value is normalized to [0, 1])
  2. Assign or map the texture coordinate to each vertices in 3D surface
  3. After each vertices is mapped into texture value, change the pixel value (RGB) in the surface model accordingly

Group 2

Leader : Jaka Pratama

Topic : Concept of Texture

Materials : Listen to the lecturer presentation

Question :

Why use texture in a model? What is the benefit of using texture?

Answer :

Texture is used to make a model more interesting and realistic

Benefit of using texture :

  1. Texture uses less geometry or simple polygon / surface
  2. The result looks as good as the real things

Group 3

Leader : Dzulfiqar Yodhi A.

Topic : Texture Mapping

Materials : Listen to the lecturer presentation

Question :

What is aliasing? Explain why aliasing / artifact can present in the texture mapping process?

Answer :

Aliasing is incorrect rendering of a scene because a model is masquerading as one of many other models who sample identically. It is appear as jagged line

Aliasing occurred because an on-screen pixel does not always map neatly to a texel. This will cause jagged edges


Group 4

Leader : Mayhardi

Topic : Texture Mapping

Materials : Listen to the lecturer presentation

Question : 

What is mipmapping? How can mipmapping reduce aliasing?

Answer :

Mipmapping is pre-calculation on how the texture should look at various distances, then use the appropriate texture at each distance

Mipmapping can reduce aliasing because for every level of depth, it uses the appropriate pre-calculated texture


Group 5

Leader : Dimas Nugroho Setyadi

Topic : Texture Mapping

Materials : Listen to the lecturer presentation

Question : 

How can filtering process reduce aliasing? Mention some filters we can use to reduce aliasing!

Answer :

Filter can reduce aliasing because it interpolates the jagged edges to make them smooth by averaging the value with its neighborhood

Some filters that can reduce aliasing :

  1. Bilinear filter
  2. Trilinear filter
  3. Anisotropic filter

 

File System (Spec) : Assignment 4


File System (Spec) : Assignment 4

Given Date : November 27th, 2015

Due Date : December 3rd, 2015


Bhakti Fajar Pradita : Twitter

Imam Muamar Kharisma : Facebook

Yoyon Pitoyo : Google

Question :

  • Make a short review on how [google / facebook / twitter] manage their database / file system
  • The minimum review length is one page A4
  • Give the reference link in the end of the review
  • Send to my email in pdf format

Useful keywords to search :

“how [google / facebook / twitter] manage their database”


Answer by (1) Imam Kharisma

How Facebook Manage Their Database

Facebook merupakan layanan jejaring sosial yang diluncurkan pada bulan Februari tahun 2004, dimiliki dan dioperasikan oleh Facebook, Inc. Seperti dilansir dari situs Techcrunch, pengguna harian tercatat sebanyak 936. “Ini menunjukkan jejaring sosial belum mengalami kejenuhan pertumbuhan baru,” Techcrunc, Kamis, 23 April 2015. Untuk pengguna yang mengakses dari piranti mobile, Facebook mencatat jumlahnya sekitar 1,25 miliar atau naik 5 persen. Ini menunjukkan adanya sedikit penurunan dari pertumbuhan sebelumnya sekitar 6,2 persen.  Pengguna facebook semakin hari terus bertambah, menurut rilis dari manajemen facebook menerangkan bahwa jumlah total pengguna Facebook pada kwartal pertama tahun ini tercatat sebanyak 1,44 miliar atau naik 3,6 persen dibanding kwartal sebelumnya.  Dengan pengguna yang sedemikian banyaknya, bagaimana facebook mengelola semua data base user yang bermilyar-milyar jumlahnya. Pusat pemeliharaan data facebook terdapat di Santa Clara, CA San Fransisco dan Northem Virginia. Pusat-pusat tersebut di bangun diatas tingkatan server x86, dimuat menggunakan perangkat lunak open source dan beberapa dari perangkat lunak tersebut merupakan ciptaan facebook sendiri. Lalu bagaimana pusat-pusat data tersebut berinteraksi dengan pusat-pusat lainnya ? Terlebih dahulu kita akan melihat fasilitas utama yang terdepan di Santa Clara. Tingkat atas dari jaringan Facebook terdiri dari server Web yang menampilkan halaman Web sehingga dapat dilihat oleh pengguna, sebagian besar system tersebut bekerja dengan core yang menjalankan 64-bit Linux dan Apace sebagai Web Server. Untuk bahasa pemrograman sendiri, facebook meggunanakan lebih dari satu bahasa pemrograman dengan fitur yang sangat kompleks seperti c++. Java, Python dan Ruby. Untuk mengelola kompeksitas pendekatan tersebut, facebook menciptakan Thrift yaitu kerangka aplikasi yang memungkinkan program untuk dikompilasi dari bahsa yang berbeda dan menjadi satu membentuk sebuah system jejaring yang sangat cerdas. Pada tingkat bawah terdiri dari Linux Server 8 Core yang menjalakan MySql sebagai databasenya. Tidak ada informasi yang akurat terkait dengan teknologi server seperti apa yang digunakan oleh facebook, karena pihak facebook sendiri tidak mempublikasikan seluruh informasi tersebut, namun dari beberapa sumber mengatakan, bahwa Facebook memiliki sekitar 800 server yang mampu mendistribusikan sekitar 40 terabyte bahkan lebih data pengguna. Ini merupakan lapisan semua metadata tentang setiap objek dalam database, seperti orang, foto, atau acara, video dan lain-lain.

Menurut Mark Callaghan  salah satu anggota Tim Infrastruktur  basis data facebook mengatakan pada note facebook miliknya bahwa dimasa lalu server database MySql facebook hanya mampu melakukan eksekusi lebih dari 1000 per detik, tapi sekarang facebook sudah mampu melakukan eksekusi data lebih dari 10.000 perdetik. Mark Callaghan dalam catatannya  juga menuliskan, jika saya mengajukan pertanyaan seperti, “Apabila saya bisa membuatnya melakukan 10 hal per detik saat ini, bisakah saya membuatnya melakukan 20 hal per detik untuk  besok?” Sebagai contoh, kita terbiasa menggunakan algoritma yang sangat CPU intensif untuk memeriksa halaman database. Orang lain di tim saya, Ryan Mack, dimodifikasi untuk menggunakan dukungan hardware pada prosesor X86 sehingga kami bisa profil server produksi untuk melihat apa yang mereka lakukan di checksum komputasi ini. Kami kemudian menyadari bahwa CPU terbaru memiliki cara yang lebih cepat untuk melakukan itu, jadi kami memodifikasi MySQL menggunakan CRC32 untuk checksum. Bagian yang sulit ada upgrade server dengan cepat dari menggunakan zona cek lama ke checksum baru tanpa mengambil situs down.

Sumber :

Technologyreview. “How  Facebook Works.” www.technologyreview.com.  26  November 2015 <http://www.technologyreview.com/featuredstory/410312/how-facebook-works/>

Technologyreview. “How Facebook Copes With 300 Million Users.” www.technologyreview.com.  26  November 2015 <http://www.technologyreview.com/news/415409/how-facebook-copes-with-300-million users/>

Facebook. “Mysql And Database Engineering Mark Callaghan.” www.facebook.com.  26  November 2015 < https://www.facebook.com/notes/facebook-engineering/mysql-and-database-engineering-mark-callaghan/10150599729938920>


Answer by (2) Bhakti Fajar Pradita

Need revision


Answer by (3) Yoyon Pitoyo

Didn’t upload yet


 

File System (Spec) : Assignment 2 & 3


File System (Spec) : Assignment 2 & 3

Given Date : November 20th, 2015

Due Date : November 26th, 2015


Question for Assignment 2 :

  1. What is the definition of storage media?
  2. In the CD / DVD, there are number such as 8x, 16x, etc. What is the meaning of “x” in that number?
  3. In storage media for example a flash disk, if we have a flash disk with capacity 2GB, why we can only fill the flash disk or use the capacity less than 2GB?

Answer by (1) Imam Kharisma, (2) Yoyon Pitoyo, (3) Bhakti Fajar Pradita

  1. Media penyimpanan adalah sebuah perangkat keras yang digunakan untuk menyimpan data atau program, dimana data atau programyang disimpan tersebut dapat diakses kembali untuk diproses.
  2. Maksud dari x yaitu kecepatan ketika melakukan transfer data. CD dibedakan menjadi dua tipe yaitu : ATA/IDE dam SCSI. Tiap-tiap tipe tersebut mempunyai kecepan yang berbeda. Kecepatan ATA antara 100-133Mbps sedangkan SCSI mempunyai kecepatan 150Mbps. Misal pada sebuah CD bertipe ATA terdapat tulisan 16x itu artinya 16x150Kbps
  3. Informasi yang tertulis pada flash disk, hdd atau media penyimpanan lainnya bukanlah merupakan kapasitas sebenarnya. Untuk mengetahui kapasitas sebuah media penyimpanan kita harus mengkonversikan terlebih dahulu ke dalam bentuk byte. 1 byte sama dengan 8 bit. 1 KB itu bukan 1000 byte, tapi 2 dipangkat 10 =1024 byte. Begitu juga dengan 1 Mb = 1024 Kb dan seterusnya.Misal ada hdd dengan kapasitas 140 GB Cara hitungnya 140.000.000.000 Byte / 1024 / 1024 / 1024 = 130.38 GB

Question for Assignment 3 :

  1. Observe your operating system, Do the empty directory has a size?
  2. If your answer is Yes, What is the size of one empty directory in your operating system?
  3. Do the size is same for all directories?
  4. Explain the differences between FAT32 and NTFS file system in the terms of :
    1. Reliability
    2. Security and access control
    3. Maximum partition size
    4. Storage efficiency
    5. Networking
    6. Storage fault tolerance
    7. Data stream
    8. Unicode names
    9. File attribute indexing
    10. Data compression
    11. Encryption
    12. Reparse point

Answer by (1) Imam Kharisma, (2) Yoyon Pitoyo, (3) Bhakti Fajar Pradita

  1. Yes
  2. Folder merupakan istilah direktori yang biasa digunakan di windows, sedangkan di MS Dos lebih akrab dengan sebutan dir. Folder yang tidak ada terisi dengan file apa pun jelas akan di anggap kosong atau 0 byte. Hal ini dikarenakan system di dalam computer memiliki model directory hierarki. Bagian tersebut menyimpan informasi tentang nama file, jam, tanggal, bulan, ukuran dan lain-lain. Jika tidak ada file apa pun maka akan di tetap akan di baca 0 byte.
  3. Iya sama
  4. Perbedaan FAT32 dan NTFS dalam segi :

Reliability

FAT 32 dapat berkerja pada system operasi yang berbeda dengan NTFS yang tidak bisa terbaca di beberapa system operasi seperti di system operasi Win9x dan lain-lain

Security and access control

Keamanan jelas NTFS lebih unggul karena Mendukung sistem berkas terenkripsi secara transparan dengan menggunakan beberapa jenis algoritma enkripsi. Berbeda dengan FAT32, Tidak ada emkripsi data.

Maximum partition size

NTFS Max ukuran partisi 16 Exabyte sedangkan FAT 32 hanya 2 Terabyte.

 Storage efficiency

Efisiensi penggunaan disk space. NTFS lebih hemat dari FAT32 

 Networking

Keamanan data. Keunggulan NTFS yang tidak dimiliki FAT32. NTFS baik untuk komputer yang berbasis network

 Storage fault tolerance

Resiko bad sector FAT 32 lebih besar, berbeda dengan NTFS resiko bad sector relative kecil.

Data stream

NTFS sepenuhnya mendukung model keamanan Windows NT dan mendukung beberapa aliran data, berbeda dengan FAT 32.

Unicode names

NTFS semua nama file yang berbasis Unicode, dan nama file 8.3 disimpan dengan nama file panjang

File attribute indexing

Kelebihan lain dari NTFS yaitu memiliki kecepatan random access terhadap file yang terdapat di dalamnya, hal ini membuat NTFS memiliki fitur indexing yang baik, hal ini menguntungkan jika pengguna sering melakukan searching file dibanding FAT32.

Data compression

FAT16 tidak mendukung kompresi , enkripsi dan kontrol akses dalampartisi, berbeda dengan NTFS yang mendukung hal tersebut.

Encryption

FAT32 tidak memiliki fitur enkripsi data, sedangkan NTFS mendukung fitur tersebut.

Reparse point

Pada format  NTFS, sebuah berkas dapat berisi reparse point, dimana terdapat sekumpulan dari user-defined data


 

Advanced Graphics : Assignment 3

Group Discussion Session

Scenario : 

  1. Lecturer divide the class to form five groups. (done)
  2. Lecturer will give materials and topic for each group to be discussed. (done)
  3. Lecturer will explain about modelling with polygonal dataset (approx. 30 minutes)
  4. Example of modelling with polygon will be presented by each group (approx. @10 – 15 minutes)
  5. Lecturer will review the presentation

Group 1

Leader : Moh. Adri Alfi Sidqi

Topic : Interpolation in 3D : Linear 3D and Cubic 3D (15 minutes presentation)

Materials : Material1, Material2

Briefing : 

  1. Make a short brief about linear and cubic interpolation in 3D
  2. Give an example for linear and cubic interpolation in 3D with minimal 4 point controls
  3. Use the same point control to plot the example in Matlab (use : interp3 syntax)
  4. Explain the differences between linear and cubic interpolation

Group 2

Leader : Jaka Pratama

Topic : Modelling with Polygon : Tetrahedron (10 minutes presentation)

Materials : Material1, Material2, Material3

Briefing : 

  1. Make a short brief about tetrahedron model
  2. Give an information about the vertices and edges/faces coordinates in a table or image (ex. nets)
  3. Show the solid and wired model in OpenGL C++ (use : syntax glutWireTetrahedron() or glutSolidTetrahedron())
  4. Explain the model

Group 3

Leader : Dzulfiqar Yodhi A.

Topic : Modelling with Polygon : Dodecahedron (10 minutes presentation)

Materials : Material1, Material2, Material3

Briefing : 

  1. Make a short brief about dodecahedron model
  2. Give an information about the vertices and edges/faces coordinates in a table or image (ex. nets)
  3. Show the solid and wired model in OpenGL C++ (use : glutSolidDodecahedron() and glutWireDodecahedron() syntax)
  4. Explain the model

Group 4

Leader : Mayhardi

Topic : Modelling with Polygon : Icosahedron (10 minutes presentation)

Materials : Material1, Material2, Material3

Briefing : 

  1. Make a short brief about Icosahedron model
  2. Give an information about the vertices and edges/faces coordinates in a table or image (ex. nets)
  3. Show the solid and wired model in OpenGL C++ (use : glutSolidIcosahedron() and glutWireIcosahedron() syntax)
  4. Explain the model

Group 5

Leader : Dimas Nugroho Setyadi

Topic : Modelling with Polygon : Octahedron (10 minutes presentation)

Materials : Material1, Material2, Material3

Briefing : 

  1. Make a short brief about octahedron model
  2. Give an information about the vertices and edges/faces coordinates in a table or image (ex. nets)
  3. Show the solid and wired model in OpenGL C++ (use : glutSolidOctahedron() and glutWireOctahedron() syntax)
  4. Explain the model

 

File System (Spec) : Assignment 1


File System (Spec) : Assignment 1

Given Date : November 12th, 2015

Due Date : November 19th, 2015


Questions

Make a short summary about storage media / device from the most ancient to the most modern

e.g. Floppy Disk to Cloud Storage


Answer by (1) Imam Kharisma, (2) Yoyon Pitoyo, (3) Bhakti Fajar Pradita

1956-an, IBM 305 RAMAC

Tepatnya pada Tahun 1956, IBM perusahaan perangkat keras yang bermarkas di Amerika Serikat merilis mesin bernama IBM 305 RAMAC (Random Access Method of Accounting and Control). Ini merupakan komputer komersial pertama yang tersusun dari 50 keping disc berukuran 24 inches, dengan bobot hampir 1 ton dan kapasitas memori sebesar 3,75 MB -yang dinilai besar pada saat itu-. Komputer ini pula yang menjadi cikal bakal lahirnya media penyimpanan data.

1976-an, Floppy Disk

Baru pada tahun 1976, ditemukan Floppy Disk dengan kapasitas 360 KB. Jika dilihat dari kapasitasnya, perangkat ini memang masih terbilang kecil. Namun dari sisi ukuran, Floppy Disk dianggap sebuah kemajuan bagi perkembangan media penyimpanan, mengingat ukurannya hanya 8 inches. Selanjutnya, ukurannya semakin diperkecil menjadi 3 inches dengan peningkatan kapasitas sebesar 250 MB.

1980-an, Seagate ST-506

Seagate mengembangkan hard disk bernama Seagate ST-506.  Media penyimpanan ini memiliki kecepatan putaran hingga 7200rpm, yang berada di atas kecepatan putaran rata-rata hard disk saat itu yang umumnya berkisar 5400rpm. Seagate ST-506 memiliki ukuran sebesar 5,25 inches, dengan kapasitas memori 5 MB.

Pada tahun 1990-an, International Western Digital membuat media penyimpanan dengan memori sebesar 40 MB, yang diklaim sebagai media penyimpanan terbaik pada saat itu karena aksesnya yang lebih cepat. Selang 2 tahun kemudian, Seagate kembali meluncurkan hard disk Barracuda dengan kapasitas 2,1 Gigabytes (GB).

1990-1n, CD-ROM dan Microdrive

Berawal dari hard disk, akhirnya lahir piringan bernama CD-ROM yang memiliki kapasitas 650-700 MB. Media penyimpanan ini juga mengalami perkembangan, dari yang semula hanya dapat dibaca saja (read-only), saat ini sudah bisa ditulis berulang kali (Re-Write) atau dikenal dengan CD-RW.

Di tahun 1999-an, masyarakat baru diperkenalkan dengan USB Flash Drive, yang berfungsi menyimpan data digital Anda. Menariknya, media ini masih populer hingga saat ini (2014), bahkan telah dibekali dengan model yang lebih menarik dan kapasitas yang lumayan besar, hingga 64 GB.

2000-an, SD Card, SDHC memory

Sony membuktikan keunggulan inovasinya dengan menciptakan Secure Digital Disk (SD Card) berkapasitas 2 GB. Media penyimpanan ini memiliki ukuran yang jauh-jauh lebih kecil ketimbang CD-ROM. Tak ingin ketinggalan, di tahun 2006 Seagate juga membuat SD Card Barracuda, namun dengan kapasitas yang lebih besar, 750 GB. Lalu diikuti Sandisk yang memperkenalkan SDHC memory card berkapasitas 32 GB/ class 4 di tahun yang sama.

XC Memory Stick 2 TB

Hari demi hari, media penyimpanan terlihat semakin kecil, namun dengan kapasitas yang semakin besar. Hal itu dibuktikan Sony lewat Sony XC Memory Stick yang memiliki kapasitas 2 Terabytes (TB) atau sama dengan 2000 GB. Meski berukuran sangat kecil, media penyimpanan ini memiliki kecepatan yang handal saat mentransfer data.

Cloud Storage

Cloud merupakan media penyimpanan yang dalam pengaksesannya memerlukan Jaringan Internet. Namun, tentu saja filenya berada di komputer dimana kita harus membuat akun cloud storage terlebih dahulu. Cloud pertama kali diperkenalkan oleh perusahan Dell Ophelia pada tahun 2013. Meski tak terlihat nyata, media ini memiliki kapasitas penyimpanan yang tidak terbatas. Sehingga, Anda akan merasa nyaman menyimpan data, foto atau video kesayangan didalamnya.

Google, Microsoft dan Apple juga menciptakan media penyimpanan berbasis cloud, yaitu Google Drive, Dropbox dan iCloud, yang bisa difungsikan via smartphones atau tablets.


 

Advanced Graphics : Assignment 2


Answer the Question in Assignment 2 ! 

Given Date : October 16th, 2015

Due Date : October 20th, 2015


Introduction to OpenGL 3D

Question : Mention and explain two representation schemes of Object 3D!

Answer

Spline surface representation : representation for curve object

Polygon surface representation : representation which approach 3D object as a set of polygons that covers the surface of 3D object

Concept Shaders

Question : What is rendering? What is rasterization? What is the different between rendering and rasterization?

Answer :

Rendering : a process generating image from 2D or 3D model

Rasterization : a task that convert 3D object (vector graphics) format into raster image (pixel)

The different is only in the term, rendering is more general and rasterization is more specific

OpenGL Shading Language

If in the vertex shader is described below :

void main(void)

{

vec4 Vertex = gl_Vertex;
Vertex.x = Vertex.x + 2;
Vertex.y = Vertex.y + 1;
Vertex.z = Vertex.z + 1;

gl_Position = gl_ModelViewProjectionMatrix * Vertex;

}

And in the fragment shader is described below :

void main(void)
{

gl_FragColor = vec4(0.0, 1.0, 0, 1.0);

}

Question : What happened to the position, size and color of the output object?

Answer : The object will be translated by T(2, 1, 1) and the object’s color will be green

Geometry

Question : Define all coordinate vertices if you want to draw a diamond!

Untitled-71

Answer : 

C (2, 0, 2)

D (2, 0, -2)

E (-2, 0, -2)

3D Transformation

We have a square with vertices define below :

Untitled-31

Question : 

a. If we perform translation to vertices A, B, C, D with translation matrix T (5, -8, 1)

    Calculate the new coordinates after translation : A’, B’, C’, D’

b. If we perform scaling to vertices A, B, C, D with scaling matrix S (0.5, 2, 1)

    Calculate the new coordinates after scaling : A’, B’, C’, D’

c. If we perform rotation to vertices A, B, C, D with angle 60 degree by Y-axis

    Calculate the new coordinates after rotation : A’, B’, C’, D’

Answer :

a. Translation : A’ (3, -8, 3), B’ (5, -8, 3), C’ (5, -6, 3), D’ (3, -6, 3)

b. Scaling : A’ (-1, 0, 2), B’ (0, 0, 2), C’ (0, 4, 2), D’ (-1, 4, 2)

c. Rotation : (calculate the angle yourself)

A’ (-2 cos(60) + 2 sin(60), 0, 2 sin(60) + 2 cos(60))

B’ (2 sin(60), 0, 2 cos(60))

C’ (2 sin(60), 2, 2 cos(60))

D’ (-2 cos(60) + 2 sin(60), 2, 2 sin(60) + 2 cos(60))

NB : I apologize if there are wrong answers because I do it in a hurry 😀


 

Advanced Graphics : Assignment 1


Question and Answer from Assignment 1

Given Date : September 19th, 2015

Due Date : September 19th, 2015


Math for Computer Graphics

Question : Identify and explain any graphical objects from the most simple to the complex! (4)

Answer :

Point is a location in space

Line is a line segment between two points

Polygon is a shape constructed from a sequence of vertices

3D Object is an object made from one or more polygons

Introduction to OpenGL 3D

Question : Identify and explain various coordinates in 3D modeling! (4)

Answer :

Modelling Coordinates are coordinates system used to model the object

World Coordinates are coordinates system used in the environment where the object is placed

Viewing Coordinates are coordinates system used in projecting the appearance of object based on the orientation

Device Coordinates are coordinates system used in display equipment

Question : What are the characteristic attributes of a graphical object? (4)

Answer : Object has geometry, texture, color, transparency and many others

Concept Shaders

Question : Draw and explain the graphics pipeline diagram!

Answer : 

Untitled-112

We draw 3D object in the CPU. The object vertices are sent to the vertex pipeline by the CPU, transformed into screen space by the vertex processor, assembled to go into the rasterizer, and turned into pixels by the fragment processor

Question : What is shaders?

Answer : A Shading Language code that is intended for execution on one of the programmable processors

Question : What is shading language?

Answer : Shading language is a high-level graphics programming language

Question : Identify and explain various shaders! (4)

Answer : 

Vertex Shaders : A code to manipulate vertex by taking vertex information and environment into attribute variable to be used in vertex computation

Tesselation Shaders : A code to manipulate output of vertex shader by taking vertex data and perform interpolation in the original vertex to create additional vertex in the geometry

Geometry Shaders : A code to manipulate original geometry by adding new vertices and new vertex group

Fragment Shaders : A code to manipulate fragment to produce color pixel using color interpolation value, depth and texture

Question : What are the functions that we can program in vertex shader? (3)

Answer : vertex transformation, normal transformation and normalization, texture coordinate generation, texture coordinate transformation, lighting, color material application

Question : What are the functions that we can program in fragment shader? (3)

Answer : Texture access, texture application, color sum, operation on interpolated value and fog

Geometry

Question : Determine the coordinates of each vertices if you want to create a 3D pyramid in 3D space? (5)

Answer :

Untitled-11

Question : Determine the coordinates of each vertices if you want to create a prism in 3D space? (6)

Answer :

Untitled-12


 

Profile


I am Adhi Prahara.

I received bachelor degree in electronics and instrumentation from Universitas Gadjah Mada, Yogyakarta, Indonesia in 2010 and received the master degree in computer science from Universitas Gadjah Mada, Yogyakarta, Indonesia in 2014.

Currently, I am a lecturer at Informatics Department, Faculty of Industrial Technology, Universitas Ahmad Dahlan, Yogyakarta, Indonesia.

I am interested in computer vision, computer graphics and pattern recognition.


Simplicity To Make A Perfection