Obsah
Computer Graphics 1 (Winter 2013)
Lessons
Materials to read
- http://www.cs.princeton.edu/courses/archive/fall00/cs426/
- http://data.agg.ethz.ch/publications/2008/botsch_2008_GMPeg.pdf
- http://www.lighthouse3d.com/tutorials/glsl-core-tutorial/pipeline33/
- http://www.scribd.com/doc/72522933/5/Nicholl-Lee-Nicholl-Line-Clipping
- http://flurry.dg.fmph.uniba.sk/webog/en/zatko-teaching/389-pocitacova-grafika-1.html
- http://www.amazon.com/Mathematics-Computer-Graphics-Undergraduate-Science/dp/1849960224
Lesson01 [24.09] "Introduction to Computer Graphics"
Lesson02 [01.10] "Scene Representations"
- Representation of Curves
- Representation of Volumes
- Representation of Surfaces
- Lecture notes: lesson02.pdf
Lesson03 [08.10] "Transformations and Projections"
- Linear Transformations
- Affine Transformations
- Perspective Projections
- Parallel Projections
- Lecture notes: lesson03.pdf
Lesson04 [15.10] "The Graphics Pipeline"
- What is The Graphics Pipeline
- Vertex Shader
- Primitive Assembly
- Tessellation Shaders
- Geometry Shader
- Geometry Postprocessing and Rasterization
- Fragment Shader
- Frame Buffer Operations
- Lecture notes: lesson04.pdf
Seminars - Info
- On every seminar we will implement selected problems/algorithms from lessons. We will usually start with a prearranged template downloadable from this site.
- As a programming language we will use C#. We will use Visual C# 2010 Express / Sharp Develop as a development environment. Alternatively you can use MonoDevelop (Linux / Mac OSX) on your own machine.
- Don't cheat - create instead. Any kind of cheating is punished by withholding 15 points of your final evaluation for all involved students. Situation where only part of code is shared is also considered cheating!
- Attendance at seminars is optional, but recommended.
- Additional activity can be awarded by max 10 points of your final evaluation.
Assignments
- Assignment must be submitted by email to cg1.2013.hw@gmail.com until next deadline 06:00 (morning)
- Your submission email must have title in form 'ExNN' where NN is the number of exercise, eg. Ex05.
- You can get max 100% per assignment. Late submission is for 0%.
- It is required to submit zipped source code of your homework. Do not send only executable files. Homework without source code is for 0%.
- Your code should be well formatted and commented. Titles of functions, classes, variables should be representative for their purpose.
Project
- Project is your opportunity to gain additional 20 points of your final evaluation (during the semester) and it is optional. It must be submitted by email to cg1.2013.hw@gmail.com including your solution and source files.
- Comment your code and add help!
- Submission until - 6 days before you final term
- Project assignments - Choose among these themes or create your own. You should notify cg1.2013.hw@gmail.com with your idea about the chosen project (idea, language, implementation, application). More info by person on M162.
- Ideas:
- Quadtree Data Structure - 2D is enough, select object from scene, move objects
- Voxel Data Structure - 3D should be used, generate voxelization of objects
- 3D Mesh - Maintain 3D mesh and edit it - you should use you own mesh lib.
- 3D Mesh Visualization - Create a library for openGL mesh visualization
- Advanced Mesh Transformations - Take blender mesh function and implement it
- Morphing - Change image with functions like magnifier...
- Gimp Layer functions - Darken, Soft light, ...
- Displacement Modeling - a.k.a Z-brush
- Other - Specify in the email
Summary
- Exercises - Max 50 points (+ 10 bonus) / Min 30 points of your final evaluation
- Midterm - Max 10 points of your final evaluation
- Finalterm - Max 40 points of your final evaluation
- Submission: cg1.2013.hw@gmail.com
- Attendance: Optional
- Lessons are conducted by Andrej Mihalik (mihalik@sccg.sk)
- Seminars are conducted by Matej Hudak (subseth.mato@gmail.com)
- Other collaborators and authors are Juraj Onderik and Michal Chladek
- Schedule
- Tue (09:50) - Room F2 (lesson)
- Mon (10:40) - Room H3 (seminar)
- Tue (08:10) - Room H6 (seminar)
- Your Evaluation
Seminars
Exercise00 [23/24.9] "Introduction"
- Introduction
- There is no assignment for this seminar
Exercise01 [30/01.10] "Vectors and Matrices"
- Create a simple application for vectors(4x1) and matrices(4x4)
- Info | Sample | Template
- Deadline: 14.10 6:00AM (Morning)
- Please, questions about assignments address to Matej Hudak (mail, in person - M162)
Exercise02 [14/15.10] "Show of Your Curves"
- Create a simple application to compute bezier curve using De Casteljau algorithm.
- Info | Sample | Template
- Deadline: 21.10 6:00AM (Morning)
Exercise03 [21/22.10] "3D Mesh? No Problem"
- We will work with OpenGL library in C#. Library is OpenTK - direct support for OpenGL in C# - OpenGL Intro. This exercise is introduction to 3D CG. We will use Meshomatic library.
- Sample