d |
|||
Riadok 18: | Riadok 18: | ||
* Final writen exam: 50p | * Final writen exam: 50p | ||
* Excercises: 50p ''(with minimum of 30p)'' | * Excercises: 50p ''(with minimum of 30p)'' | ||
− | ** 4 home assignments: 4x10p | + | ** 4 home assignments: 4x10p (2 from CG part and 2 from IP) |
** Attendance: 10x1p | ** Attendance: 10x1p | ||
Riadok 25: | Riadok 25: | ||
* Ružický, Ferko: Počítačová grafika a spracovanie obrazu | * Ružický, Ferko: Počítačová grafika a spracovanie obrazu | ||
* [http://www.sccg.sk/~sikudova/strukturovana_kniha_CD.pdf Šikudová a kol. Počítačové videnie: Detekcia a rozpoznávanie objektov] | * [http://www.sccg.sk/~sikudova/strukturovana_kniha_CD.pdf Šikudová a kol. Počítačové videnie: Detekcia a rozpoznávanie objektov] | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | == Assignment CG == | ||
+ | === Stage 1 (13p) === | ||
+ | ''Deadline 6.10. 3:00 AM'' | ||
+ | |||
+ | Create simple visualization and transformation tool for meshes, stored in obj. file format. | ||
+ | |||
+ | ; Structures | ||
+ | : implement math types Mat4 and Vec4. Add functions Multiply(Mat4, Mat4) and Multiply(Vec4, Mat4). | ||
+ | : implement IndexedFace which contains ''array of Vec4 vertices'' and ''array of Int indices'' | ||
+ | ; Mesh import and display | ||
+ | : load mesh from Wavefront file (.obj). [[https://dai.fmph.uniba.sk/upload/104/d/d1/obj_files.zip Download test models here]]. Assume that all imported models are scaled to box (2x2). | ||
+ | : display wireframe model in center of a screen so that Y axis of model directs upwards and X axis directs right. (Z is ignored) | ||
+ | ; Transformations - must be implemented using matrix multiplication ! | ||
+ | : Add butons which can controll transformations of model. It must include | ||
+ | : Allways remember original transformation and reset it using a button | ||
+ | |||
+ | Examples of functional program: | ||
+ | [[https://dai.fmph.uniba.sk/upload/104/e/e2/img1.png screen 1]], | ||
+ | [[https://dai.fmph.uniba.sk/upload/a/a9/Img2.png screen 2]], | ||
+ | [[https://dai.fmph.uniba.sk/upload/8/81/Img3.png screen 3]] |
Verzia zo dňa a času 17:56, 9. október 2017
Fundamentals of Computer Graphics and Image Processing 1-AIN-301
Obsah
- Lecture
- Wednesday 9:50, M-I
- Excercises
- Monday 18:10, F1-248
Grading
You can get 100 points (p) during semester, where 1pt = 1% of final grade
- Final writen exam: 50p
- Excercises: 50p (with minimum of 30p)
- 4 home assignments: 4x10p (2 from CG part and 2 from IP)
- Attendance: 10x1p
Materials
- Žára a kol. Moderní počítačová grafika
- Ružický, Ferko: Počítačová grafika a spracovanie obrazu
- Šikudová a kol. Počítačové videnie: Detekcia a rozpoznávanie objektov
Assignment CG
Stage 1 (13p)
Deadline 6.10. 3:00 AM
Create simple visualization and transformation tool for meshes, stored in obj. file format.
- Structures
- implement math types Mat4 and Vec4. Add functions Multiply(Mat4, Mat4) and Multiply(Vec4, Mat4).
- implement IndexedFace which contains array of Vec4 vertices and array of Int indices
- Mesh import and display
- load mesh from Wavefront file (.obj). [Download test models here]. Assume that all imported models are scaled to box (2x2).
- display wireframe model in center of a screen so that Y axis of model directs upwards and X axis directs right. (Z is ignored)
- Transformations - must be implemented using matrix multiplication !
- Add butons which can controll transformations of model. It must include
- Allways remember original transformation and reset it using a button
Examples of functional program: [screen 1], [screen 2], [screen 3]