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
-

Scratch Figthers (Street fighter like game)
by badstratch12
-

Beat Up White F (ghostbusters85's Imposter Clone) 3
by LBTheELAFan2011Alt
-

A new button for beat up games
by electrobab732
-

Aiden's Spanish Alphabet Lore in remix
by super_Monkey_
-

VBCS: 4 [Remix 4]
by Joining1231
-

Beat up Sonic Newer Buttons! (4)
by lukemanolopoulos8
-

Drake and the Fairies in Roleplay Game! [REMASTERED]
by SPKLover2020
-

combat entre giga mario chat & Bowser Fury (idée)
by m-AT
-

Make your Own BFB/TPOT but my version (BFDIA18/TPOT12)
by JustAWaddleDee
-

Endless alphabet Roseor version color
by saolqui
-

windows 12
by MakNet2014
-

dont let your kids watch it! But Combo remix remix
by tiziland009
-

You found BFDI media!
by GreenCreeperJSAB
-

Chemical Memory #games
by axalotlautomaster_2
-

add your favorite electronic item and remix it
by sonic2000
-

Klasky Csupo effects 5
by EddyTheFox12
-

【鬼滅 の刃 ゲーム】胡蝶しのぶ~数字タイピングの呼吸
by grin2525
-

JSAB 2 Recreated - Part 5 #Games #JSAB #Bossfight #Agrobacter
by phcarson
-

Dateblocks Band 1 (The Band Of Dateblocks Starts!)
by fabiantube
-

2 player stickman battle
by formulajenson19
-

Cuphead - Dexter in "Laboratory Laziness"
by Hun78
-

Vs CHARA
by sinppp
-

Beat up Caillou II (For 10 years up and up) remix
by xgcyuggurx
-

(REUPLOAD) Klasky Csupo Robot logo 4000 Error
by carternh