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
-

Add A Button to Beat Up Ñ (9)
by Salamander123isback
-

Secret Staycation Band
by coopstar_white3
-

「じしみゅ」地震シミュレーション改良版 Ver.1.0
by sousuke-nakayama_sub
-

Beat Up Super Why, But Moving Into Beat Up Best & Bester Soon...! remix
by matheusmaccamargo
-

AY in ULTIMATE Trauma Wheel! [ Remix 4-5 | 8 Players ]
by roothlessroo
-

Talking tom cat (FAN REMAKE)
by Clansdowne22
-

life game v1.3
by voiderdoesbadcodeing
-

angry oobi Has a Klasky Csupo Error
by oobi122
-

kp scratch port testing/beta 1.5
by scratch-tia
-

Getting Over It with Bennet Foddy
by Finnry612182430
-

Scratch Cat Maker
by MadeByRap
-

BLAM (THX parody) trailer: Space grand
by christiantss2012
-

The Mine Song has stopped working
by tali1665
-

Peppa Pig Character Creator
by _nOBoDy-
-

Dancing Line Level Editor
by Santabike
-

Beat up No-Visor 2 added blues clues spolde
by newmyles
-

Sonic.EXE: THE DVD MENU
by ZombieWarrior711
-

Beat Up Bonnie DLC ok
by zzhhooookk
-

Hacker Typer
by -Jie-
-

Geometry Dash x Learninghorrors 2018 Forgotten Bubbles boss fight test
by kyro15
-

Re.almighty -platformer-
by tosashi
-

Add a Button to Beat Up PBS P-Head
by maverickjames32
-

Beat Up Nano 5 (add a button) [0]
by JPPORTUGAL
-

When no one watches the letters (Endless Reader) (NTSC Pitch Corrected)
by NZWStudios