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
-

Survival Endl ess Zombie Beta
by TOTALLYEPICFACEE
-

Add a button to Beat up Mario (1)
by ptv_23
-

mario exe マリオexe ホラーゲーム English remix
by hainamta
-

TALKING NEWS - TAYO THE LITTLE BUS, TROLLSOME & VEGGIETALES
by SuperBugaboos
-

Uncanny Catllous Wholes But Tenths (18.1-19)
by TheNewSuperCats4056
-

Beat Up BLU-CAY DISC
by andpsaid
-

AYS: Paradise
by MLBisCringe
-

PVZ Pixel History - Chapter 1 : The Beginning
by Okini2014
-

Aniston's Fabulous Fidget Spinner
by dancelover847
-

Interactive Libun and Albun
by X10M4R4_SPRUNK1
-

Leavanny VS Zekrom / ハハコモリ対ゼクロム
by Psychic_Leavanny
-

Beat up Gobo [2.1 Update]
by Nextpeepz
-

Banana Gun 2.5D Royale Online #games #all
by Karlsonmilkman
-

Solid 3d engine [DEMO]
by 3TheHedgehogCoder3
-

[OverSave-Tale] Bad Time Trio HARD MODE by FDY バットタイムトリオ ハードモード 作fdy remix
by rinngodaisu
-

Beat Up Scratch Cat (Ver 1.3) remix
by Dylan71312
-

PBS Kids Video DVD & VHS Cover Logo Vectors remix remix remix
by ScratchDomino
-

beat up Newmyles
by Rileyroo2011
-

Plants vs. Zombies (PVZ) V1.4
by tripoid
-

Limbo Final Key Part
by CyberLeafGD
-

Dashbox V1: Hexagon
by Expensive_Chb
-

Multiplayer Monopoly Junior
by RokCoder
-

fish simulation remix
by masterzacy
-

Paper Minecraft 1.20.3 Updated
by MateoUnoob