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
-

talking tom and ben news ?
by hkt678
-

realistic bwr v0.25
by ooooo_-_-_ooooo
-

Add Button To BEAT UP SUPER WHY!!!!
by LiamPenPal026
-

Sprunki Phase 5 (Y.N.R. Sprunki Edition) (1) (1) (1) (1)
by Gabrielhamati
-

Beat Up Red Nano [2]
by Goombapro167
-

Paper Minecraft NAMU ฅMODฅ
by -Yux
-

(OLD AND OUTDATED) Talking Gummy Ask and Jackson Ask News Restarted
by -_-Gummy_Ask-_-
-

bas6, 14
by LJMonster13
-

Numberblocks Generator but there's More
by LeevonJames
-

Yt1 _ Paper Minecraft 1.21.11 (1)
by divyam_19
-

C e n t e p e d e
by warrior-slugcat
-

make your own BFB ( SPRITES CHANGED) remix
by boeeeeyyy
-

scratch cat sprites
by scratchcatlogan
-

Make Your Own BFDI/BFB but I did some things
by ServantofWaluigi
-

WINDOWS 10 v0.1am50d3
by WlodekM
-

Friday Night Funkin' || Fan Favorite Mods ||
by lostmyaccountXD
-

ダッシュ‼
by takumarion
-

Strange Nights at Scratch's - Info Center
by ddemkoo
-

Inanimate Insanity Your Way!
by Remix_MASTER5000
-

When The SMG3 Pause Czech Alphabet Lore World
by Miki_7898
-

FCR on zoom.
by Newaccount5678
-

baldis basics v1.4
by LegoBrainiac12
-

AY in: Mixels Intro (0)
by natanczech
-

French Alphabet Lore (Read Instructions and Notes)
by stevshel_marshall