Description
UPDATE: Back-ported backface culling. (hohoho) The code includes lots of unrolled loops and duplicated code to save doing things twice or with excessive calculation, so the code is pretty messy. Since this is affine texture mapping, the texturing will look funky when used on perspective transforms (you can see this on the first Playstation). This is the simplest form of texture mapping though, so it makes sense to implement this first. As you can see, this is way too slow to be practical. The framerate could be increased a lot by doing backface culling, which I might copy over from my racetrack project. I'm going to try this on a more advanced model, but it'll probably be a a like render instead of realtime. Credit to Mojang for the grass block texture from Minecraft.
Instructions
Affine Texture Mapping in Scratch. Adjust the distance slider (closer is slower) and Poly Resolution slider. I use the same texture converter as with the Earth Shader: http://dl.dropbox.com/u/12239448/ScratchTexture/index.html Model of Link Imported: http://scratch.mit.edu/projects/10541079/
Project Details
- Visibility
- Visible
- Comments
- Enabled
More Cool Projects
-

Numberblocks 1-1000
by jayden2015paul
-

Averagebox
by Speedzyz
-

Add a Button to Beat Up Tulli (2)
by bonzi346
-

Sprunke Pyramix but FREAKY [UPDATE]
by EeeeEEEEEEEEEEEEElol
-

Numbers Band 199
by KINGSY2018
-

Blind Hit
by _Samuel034
-

Feed the King Pig! & Beat Up Super Why Combo (Project 12A) (The Rede Globo Bits)
by LiamPenPal026
-

Shadows of Fate ~ Chapter 1
by ocean_stone
-

Mega Black Hole Add Round 17
by ogorodnikov_a
-

SuperPerfect Logarithm Numberblocks Band 2
by nikinik2023
-

Luigi Audition - (Mario '85: The Series)
by C00lguy57
-

Big Green H Does The THANOS BEATBOX But A Butterfly Landed On His Mouth
by TheSALRFan
-

opusC yksalK Robot Logo
by Klasky2000Returned
-

NEW DK Rap Sentence Mixer! (v2.4.2 BETA)
by jjrcode
-

(AY) Get out lomando house remix remix remix remix
by ChromeAgain
-

Better performance than anywhere else! Elevator 1-999 Top speed 5000 (with music and updated voices)
by Yugiohpro1212
-

Fruit Flip | #All #Games
by yoshihome
-

Add A Button To Beat up Fanny [8]
by Kaizo_Kolors3333
-

SMARTKeyboard™ (It's SMARTER than YOU)
by uphill123
-

Worldbox
by Kylois2-GAMES
-

Ah's Original File 1st remix
by groot55a
-

Beat Up Need-Too ReReRevived v3.1
by jagr-cno
-

USA EAS Alarm Animated
by Evil9f3
-

Beat Up Hoood (1)
by GooleSharty122