ScratchData LogoScratchData
Back to Hardmath123's profile

OpenGL rendering

HAHardmath123•Created May 20, 2012
OpenGL rendering
29
19
1613 views
View on Scratch

Description

This is a rough 1 sprite one script OpenGL implementation within Scratch. It has lighting, filled faces (the highlight) and a not-so-accurate face culling mechanism. Face culling is the determination of which triangle is in front of another, so that faces are drawn in the right order, covering the right faces. I basically need to determine which triangle occludes the other given xyz coordinates of both of them. I need a good algorithm, so if you can think of one, post it here. Thanks! Thanks to LS97 who tried to give me an algorithm (sadly it didn't work) and Dawgles for inspiration. Now with no blinking! :D

Project Details

Project ID2551303
CreatedMay 20, 2012
Last ModifiedMay 20, 2012
SharedMay 20, 2012
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root