Skip to main content

Calculation and graphics work (Operations on texture coordinates )



Assignment presentation
  • Share the link to your GIThub repo through this form.
  • Make sure the repo contains a paper presenting your assignment
  • The practical assignment has to reside in a branch named CGW.
Operations on texture coordinates
Scale and rotate a texture around a user specified point.

Requirements
  • Reuse texture mapping from Control task.
  • Implement texture scaling (texture coordinates) scaling / rotation around user specified point- odd variants implement scaling, even variants implement rotation
  • It has to be possible to move the point along the surface (u,v) space using a keyboard. E.g. keys A and D move the point along u parameter and keys W and S move the point along v parameter.
Report
Prepare a digital report that holds:
  • a title page;
  • a chapter describing the task (1 page);
  • a chapter describing theory (2 pages);
  • a chapter describing the implementation details (2 pages);
  • a chapter of user's instruction with screenshots (2 pages);
  • a sample of source code (2 pages).

Comments

Popular posts from this blog

Practical assignment #1 (Surface Rendering)

Assignment presentation Share screenshots presenting your assignment, the video and the link to your GIThub repo through  this form . The practical assignment has to reside in a branch named PA1. Prerequisites The credit module is based on WebGL interface brought in JS language. Suggested IDE for JavaScript is VisualStudio Code. How to start Use a skeleton WebGL project:  Project  as a fast way to start. https://webglfundamentals.org  is a comprehensive resource for studying WebGL protocol. Link to handbook The book of surfaces (the password equals to the first letters of the name of this credit module) Requirements Basing on the skeleton project add a new js script file containing Model object. Model object has to draw the surface wireframe as two sets of vertices: a set of U polylines and a set of V polylines. Figure out your order number in a list of the group you study at in campus system, that is your variant Render  wire-frame ...

Practical assignment #2

Control task (Texturing)