ClandininLab / flystim

Visual stimulus generator for neuroscience experiments
MIT License
4 stars 2 forks source link

Spherical patches #5

Closed mhturner closed 4 years ago

mhturner commented 4 years ago

Added: -Circle and rectangle in spherical coordinates, then rendered onto surface of a sphere -Cylindrical shape, composed of tall quads -Texture mapping for simple rectangle and cylinder shapes. Shader can support textures for any shape but need to specify the texture coordinates for each shape. Not clear how to do that for spherical shapes