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
-

(NEW) Talking Tom and Ben news remastered remix remix
by everton_trader
-

Add a button to beat up Mega Photo! [35]
by EZTMamaRutecka
-

BFB Your Way!
by BfdiaRubybfbtpot
-

Beat up Screen Gems
by tiguy2
-

Android 11 simulator (In progress)
by aRandomNezukoFan
-

Bop it extreme but it’s just vox bop and weird
by jtpro817
-

Beat Up Spiffy Pictures revivedomghoworiginal
by lugo16archives
-

my DEC 2023 past OC :3
by ItzZainu-Officail
-

New gd faces idea: Seminighteneds remix
by CareBearStare77
-

小田急ミュージックホーン SE HISE remix
by kokutetsu
-

Paper Minecraft Hardcore |v1.21.15|
by GoldenSheep777125
-

Alice In Wonderland Soundboard
by Monkey-99999
-

[OLD-PROJECT] Klasky Csupo Robot Logo Remake (My Version)
by MMF75000_Scratch
-

Endless Music Maker: Ging Gang Gouli remix
by chrisdberry
-

beat up EXTREME 4 fixed
by azoriad
-

Truck Anatomy² 2005 Chevy Cateye 3500 LBZ Duramax remix remix
by Jmcgrorycarguy
-

Elementibox - Rusty as Iron
by jjky09can_1
-

scratch cat editor
by chico_dardo
-

Lost Project: Beat up Bitmappy
by luisbarretto
-

F1 Pit Stop Game 2020
by arnau14
-

Dancing Line Level Editor
by Santabike
-

Beat up SpongeBob SquarePants
by ASDFMOVIEFAN12345
-

FNF - Vs matt
by N30_G30
-

consuming Pororo drink [korean voice]
by halloweenking23