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
-

UPDATE talking tom and ben news 9 V4 added all hd 9 EXTREME
by bonzi346
-

Battery Overcharging To 100,000,000
by Halloitme
-

Baneimations’ Uncanny Factors extended v1.15
by swed957
-

Beat up Simon with button v2
by jayjay1i09
-

Ami Onuki Hides The Green Screen (Template, 2025 Remastered)
by Josue-Fanboy21
-

Angry Birds Mania Boss Level
by laiqualasse
-

My Talking Tom And Ben News HD Simpsons
by Tyler-Time
-

Geometry Dash
by EDDIE--THE_BEST
-

Ice Age: Dawn of the Dinosaurs DVD Menu Play Movie with Sonia the Hedgehog
by Gumball1034
-

Kirby Cliker
by ploekij
-

beat up buttons remix remix remix remix
by azoriad
-

❶+❷=❸ | TᕼE ᔕTᑌᗪIO ᗪOOᖇᔕ Oᖴ ᑎᑌᗰᗷEᖇᔕ - ᑭᗩᖇT ❺ - 419 ᗪOOᖇᔕ | ❹=❺+❻
by KARises
-

SPMV klasky csupo effects 4 scan
by Mini_Man2013
-

ネコRPG Ver0.3.0.9
by kkkooo
-

Make your own TPOT Debuts Game
by tpot_lover2
-

THERE IS NO GAME! (part one)
by colinmacc
-

Cats TD 3 RANDOM MOD
by metalkingpig
-

Latvia EAS Alarm (2016 Bombs)
by zakorocks1258
-

Chrome Dino Clicker #All
by yoshihome
-

Paper Minecraft Texture Pack
by ChessProking-tm
-

SS!Dust Sakito Sans!!
by TamagoBananaTikin
-

Ps5 simulator 3.5
by NacheteMinecraft1234
-

If the darkness took over Aidentv and Yevgeniy channel
by 23edit
-

Endless Numbers: 102
by OmegaLikeAPro