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 Clock
by noamkoren
-

beat up Thomas the train
by matheusmaccamargo
-

Preview 2 Scratch Cat G Major Effects Part 5 fixed
by Joshua13391
-

(NO MORE UPDATES) Ryiscool0 Vs DonaldDucc: The Video Game V1.1.1
by Jillandjessebrake
-

Bop it Alternative Online remix
by Ceilingfanman9
-

Jacob And Friends Game (Scratch 5.5 Game)
by juliescott12
-

Beat up Oleg 6! (3)
by lukemanolopoulos8
-

Fanf 1 welcome
by snake2538
-

Numberblocks Band 1-20 (Better Size) remix
by thatguy3ds
-

Numberblocks Basics Quiz Game - B-Sides Edition
by Jason3424Maker_Ipad
-

Numberblocks Clicker
by wildthing427
-

Untitled-6
by ecc2008
-

Beat Up Baldi 2! adding all
by MyCottage
-

Beat Up Bonzi Buddy my way
by mixels38797286871
-

Talking tom and ben news remix
by Jptypro
-

(SPOILERS) Make your own TPOT!
by Woodyisawesome_2020
-

Five Nights at Freddy's Plus
by DaveyBoyTheCodeKing
-

Cannon Wars | Online #games #all #art #animations
by ThePro255
-

Beat Up Dora Fixed
by zzhhooookk
-

IR entity sandbox with A-300
by RafaelCardoso2016
-

MacOS 7.01
by joeforestx
-

Tether Orbit [Mobile App]
by Will_Wam
-

Super Mario Maker 2 (with Luigi!)
by Antalyalikardanadam
-

The Mine Song But I Ruined The Audio.
by TheDeformedMushroom