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
-

Toys R Us Logo 2024
by Travi0003
-

Endless russian (Scrapped)
by alphafan40
-

Universe size comparison remix remix
by officialpancakegt
-

infinite elevator simulator
by owencantcode123
-

Realtype (0.9)
by Demir0007
-

Seadtype V15.7
by BonesonScratch
-

MEME SOUNDBOARD!!!
by k_is2swaggy
-

FOOTBALL NFL VERSION
by CLARK_COOKS
-

Closing Logos From Let's Race Team Power (2025) (With AdrianF2016 JimJam Logo)
by AdrianF2016
-

Injef Number Lore remix-2
by kellwheeler2025
-

Battle for Dream Island Season 4 (BFB) Elimination Order
by suhaanthegreat
-

@Enzo_2402 will add features to numberblocks generator when you type it in instructions
by leobralberto
-

Friday Night Funkin' VS. Ruv Custom Week.
by Proffeserpants
-

FNF Choco Engine V.0.9
by Chocolatechoco
-

DuckTales but it's an animation
by EBWW
-

Minecraft - Scratch Edition v1.03.1 (Sound of C418)
by Scratch2Craft
-

Guiding Light Custom (TurboWarp)
by RenorySugarts
-

Windows 8 Build 7779
by Blueguyrocky124
-

Paper Minecraft (mobile 2D New Update) !! !! !! !!
by funny19MK13
-

Snickerdoodle engine
by WaterMellows
-

the full RALR cast! But I add all of my letters remix
by Laypyae
-

UNIVERSE Size Comparison remix
by ngoinhala
-

The Beat up Games!!!!! (15)
by gulkd2023
-

Bop It Soundboard [v1.3]
by aidenneuding