/SuperQuadricRenderer

Bilkent University Computer Graphics course Assignment 3.

Primary LanguageJavaScriptMIT LicenseMIT

SuperQuadric Renderer

Live Demo:

See the live demo at: My Website

Application to render realistic parametric superquadric surfaces. Written using plain WebGL. Draws 2 superellipsoid and 2 supertoroid. 2 of the 4 renders are in wireframe, the rest are texture mapped.

Features:

  • Realistic Rendering of Parametric Superquadric Surfaces.
  • Texture Mapping.
  • Wireframe rendering.
  • User settable M-N Bulge values.
  • Free camera.(Not actually free, more like almost free)

Dependencies:

  • Ed Angel & David Schreiner's MV.js and initShaders.js

Instructions:

How to compile:

Get a modern browser.

How to run:

First, get the dependancies, then you must point to the dependancies paths in "ASS3.html" file. After that, go to the "Executeable" directory and double-click "ASS3.html". You will need a live server to see the textures.

Screenshots:

superquadric_1 superquadric_2 superquadric_3 superquadric_4