ScratchData LogoScratchData
Back to raucket's profile

Mk. 3b - Shading with obj rot / light mov

RAraucket•Created October 9, 2016
Mk. 3b - Shading with obj rot / light mov
36
26
584 views
View on Scratch

Instructions

Press 'S' to split every tri into 4 new ones. Press 'H' to toggle heatmap/grayscale. Press 'M' to toggle object rotation/light-source movement. Mouse to rotate object/move light-source. Space to terminate after hi-res rendering.

Description

Averaging the (scaled) surface normal of every connected vertices to get a bearing on the shading. Looks promising? Also implemented some more controls to examine the effect and cleaned-up the code a bit! :-)

Project Details

Project ID124782072
CreatedOctober 9, 2016
Last ModifiedOctober 11, 2016
SharedOctober 9, 2016
Visibilityvisible
CommentsAllowed