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
-

Spamton Simulator?
by imaeatsanic
-

Rainbow Numbers 800001 to 1000000 Music
by matthewlin1013
-

Teaser 2 - SMB Remake
by Mario2164
-

Beat Up Rowan (6) (With More Buttons.)
by JPPORTUGAL
-

YGL Black Hole Add Round 13
by YGL2K14
-

Decayed Reality 2.0 Wither Storm Spawn Test
by TheSunOfSpikeball
-

Take Care Of Wenda
by pistachio1001
-

My Talking Tom 2
by 6aqui20
-

Beat Up Spiffy Pictures #14
by coopstar_white3
-

Electric Wither Storm Stage 0
by Pikaninfa-Storm-New
-

AY in Paint Attack! [ Remix 5 | 60 Players ] OHIO TAKETOWER
by leoprincipe04
-

AY in Paint Attack! [ 8 Players ]
by Basilioleo1120
-

(Sprunki) AY in Noggin's RL, GL Game Redux [ Server 1 | Remix 1 | 20 Players ]
by LaciLorant
-

自信作!! UNDERTALE AU ラストブレスサンズphase1~4
by makatonna-
-

Meet Bubble Bobble!!!!!!!!!!!!!!!!!
by scifialien1
-

Ice Cube Recovery Center 2.0 Version 2.0!!!
by BlackyHacky
-

オリキャラSPアタック
by Thankyou193sabu
-

Paper Minecraft | #games #all (Minecraft 2D)
by SpousalStudios
-

Let's go Fishin' | v1.11
by Will_Works
-

Numberblocks VS Black Hole
by Numberblockgamer8694
-

ダダサバイバーver.3
by -marimori-
-

Super Scratch Bros.
by Hobson-TV
-

⌜#15⌟ Smooth Clean Multistyle ▪︎ -Xotic | Daimond | BuilderFX (Feat. -Jupiterfx)
by KelmareArtz
-

talking tom and ben news HD
by Jose52theNauttp