ScintillatorSynth / Scintillator

A Video Synthesis Engine for SuperCollider
https://scintillatorsynth.org
56 stars 8 forks source link

Add tessellation options for Quad rendering #133

Closed lnihlen closed 4 years ago

lnihlen commented 4 years ago

Purpose and motivation

Expands the creative options for shape-rate vertex shaders, including vertex deformation long-term, by allowing the Quad shape every Scinth currently renders on to now specify how many vertices it should subdivide to. Also, to aid in debugging, adds the ability to draw triangle outlines or points only.

Implementation

Refactors the Shape API and Quad to compute subdivisions to the rectangle it generates.

Types of changes

Status