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
-

Beat Up Martcallj! V0.8 / 22 Buttons
by crazycrazybaby17
-

Care Bears Karafun Cover AI From Weights.GG
by DashTheDino22
-

iPad Crazy Error Maker
by DexScratchCzE
-

Beat up Sonic (READ DESCRIPTION.) remix remix-3 remix
by jacejim1809
-

BEA TUP EVIL CJJILP=KUB GET THE PROJETCTRL 4000 VIEWS!
by BentleeFan77
-

Seadtype V15.4
by stevenrobloxisback
-

Numbericons 1-1200 JayWaddington04 remix remix remix
by jayden2015paul
-

We Become What We Behold But Better
by MasterMan2023
-

Closed Ch.29 Thumbnail Contest <3
by 52Blue
-

Pac-Man '23 Sprite Sheets (2025 Remastered)
by ThePac-GhostFan2010
-

windows 10 killscreen
by Robert_H31
-

Number decimals band episode 10: 3-4 remix
by heitorhenrique2712k
-

One in the Maze (A Blocks Universe Game)
by BlocksFan10
-

My BFDI TierList
by TheMan4367
-

(BRACE YOUR EYES & maybe ears?) [MOAR IMPACT FRAME PRACTICE]
by Its_Me_Passive
-

French Number Devolution [ 758 → 757 ]
by Twin138956Scratch
-

AY// Watching The BFDI movie! (5)
by parrxt
-

Beat up Scratch Cat Deluxe 2.2.4
by CLAX1212
-

Numberblocks Sprite Pack: DodecaD12's Big G5 Aury-Styled NB Sprite Pack!
by DodecaD12
-

New train simulator version1.10
by Mekage_E233-7000
-

トロッコアドベンチャー初級編
by 20190c082
-

Survivor .IO
by Chiuahuahua
-

YIAY Csupo (Yesterday i asked you csupo)(Klasky Csupo)
by gabrielsolano9
-

Programmable scientific calculator remix
by doremifasollasidodo