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
-

Added more buttons remix
by 20987TheCreator
-

Beat Up Pico
by crazybabybaby16
-

Peridot Tries To Flush Herself
by butterscotch15
-

büyücü vs ejderha
by erdemboylu
-

Colourblocks Band Deluxe (idk smth eh)
by alfiegab_tv
-

Talking Ben Failure
by StephanieOutHere
-

FNaS 5 T.E.G Rebranded | (DEMO RELEASED)
by Hunter291_DrGolden
-

Night of nights Black MIDIの打ち込みに挑戦
by 406_R
-

Endless alphabet, but in the style of endless music notes.
by 13and14plus15
-

Endless Arabic Type - The Game From Endless
by kadenroweperson-
-

Klasky Csupo Error[?] (Remastered !)
by SOSQUAD
-

Vortex Intercept v0.2.5
by Twisted321888
-

My VHS Collection!
by Bimpworld
-

meow variations
by Catzforever121
-

The Studio Door of Numbers X [ 80 Doors ] remix copy
by Rhythmheaven10
-

Oh, MR MAYOR
by LukaInInScratch
-

Scratch cloud statistics
by -EmeraldThunder-
-

[SH04]史縫 月華珠薬 ~ Moon Rabbit's Medicine
by AT-8
-

(Cancelled Build) Caillou Gets Grounded In EDDSWORLD!
by JeffyDoesScratch
-

argam
by RudyStaysForever
-

My Effects Kit
by BentleeFan77
-

ItIS Fan-X: LET'S GO! (1)
by Lucasvalente402
-

Scratch cat fall down the stairs 6
by Hairuza
-

amaanahmedzuhair Nursery rhymes pendulum clock (Hickory dickory)
by tidnara699