This website hosts the UCL Computer Graphics rendering system. The system implements an online framework for executing WebGL code and for implementing the coursework and assignments. Please have a look at the submission info below.
To get started, please familiarize yourself with the WebGL spec and the OpenGL ES Shading Language GLSL. We have prepared three simple demo scripts to help you get started. You can look at and play with the code to get a feel for the system and for graphics programming here.
For the coursework submissions, we will provide .uclcg
files that contain template
skeletons for the respective tasks that need to be solved. Uncomment the #define
statements in the
first few lines to activate the respective subtasks. Put your code between the respective #ifdef
and hit ctrl/cmd + s
to update the render view.
Remember to frequently save your progress - to do so, the system provides the 'Save Setup' functionality in the dropdown menu in the upper right corner.
- CW 1: TBA
- CW 2: TBA
- CW 3: TBA
- Check your defines: When we correct your submissions and there is an error, we need to check each task separately to find out what's wrong. This is why we included the
#define
statements. Do not change or alter their structure and verify that your code compiles when they are commented out. The desired behaviour is: all defines commented but the first one: image for task 1 displayed. All defines commented but first and second: image for task 2 displayed, and so on. Non-compliance might result in point deduction! - Do NOT copy-paste your code into a .txt file and simply name it
*.uclcg
, as this will not be renderable by the system. Instead, use the provided "Save Setup" functionality in the right upper corner, so that we can "Load Setup" your submission. - Do NOT alter the javascript code that is contained in the
.uclcg
file you download. - You will not have to use any other programming languages, so please do not write answers in other languages, paper, or pseudo-code.
- In the end, submit your final
.uclcg
file via Moodle. The filename should not contain your name. - You should not have to change any other parts than the
#ifdef
statements. In your final hand-in version, please refrain from changing constants like background color, primitive position, etc., as this will make it harder to verify the correctness of your submission.