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
-

YGL Black Hole V2 Add Round 12
by oobi124
-

RGBのG
by 1296-cat
-

flower clicker but with bigger numbers
by Ian_SuperBoy
-

Grasslands | A Platformer #all #games #trending
by Abdullah9999999
-

My Little Pony: Fighting is Magic (Themes)
by Enterty506
-

TIV-2 TEST 1.2 update
by sammyspyder12
-

Numberblocks 44^n Band Remake!
by kenny-2024
-

A red platformer v.05
by 350190CG
-

Saying all numbers from 1 to 400 with EVERYONE! (112)
by LittleKJ20
-

Pig Creator!
by piggod2532
-

Space Trading Game v1.7.0 Finished
by KittycraftO
-

ITT Countdown 1996/97-1997-98 Short
by BrunswickFan
-

ボカロ神曲プレイヤー1
by chiharu286
-

lg sunset ringtone
by DamienScarletBros
-

☁Online freeze tag renewal/オンラインこおりおにリニューアル#games (3)
by pocopocojohn
-

Numberblocks Basics 4: Little Nightmares remix
by Elijahbda1
-

後は諸君に任せた!`b
by kuro1607
-

Cat TD
by Littlethief1028
-

DVD Collection 10-6-2022
by CartoonWoody19_1
-

Beauty and The Beast -Belle - Emma Watson -Blockshade
by Genny11
-

回転数実演(?)
by signal39
-

Geometry Demon
by bebeking1y27
-

Blood and Steel
by Daysquirrell3408
-

I wanna test the game (beta test)
by ----idk---