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.
#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!*.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..uclcg
file you download..uclcg
file via Moodle. The filename should not contain your name.#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.The following persons have contributed to the UCLCG Renderer and the Comp0027 course:
Stephan Garbin, Philipp Henzler, Michael Fischer, Yiftach Ginger, Felix Thiel, Chinthala Pradyumna Reddy.