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
-

Preview 2 Scratch Cat in G major 60 by avery s
by iminherenow
-

beat up pocoyo
by piolalina
-

Beat Up number block 3
by aaliyalcin
-

Swift soul overworld engine
by yoyobanky4655
-

TVOKids Logo Bloopers: DVD Menu
by RealDVDPlayerMovies
-

Genocide Omega Flowey Fight V1 (W.I.P)
by Thiago20221516
-

Fidget spinner illusion
by dinoracer
-

Part 113B - 21,000s Jumpscares
by Jharring2025_24
-

Suika Game (watermelon game) remix
by TRUONG_BAO_LINH
-

What?????
by bvaswt
-

Seadtype V31.6
by stevenrobloxisback
-

Make your own Jacsn 2018 Split Screen Credits
by RYTHEMHEVANFEVER10
-

PvZ Shooter 2 [v1.9]
by Huckleberry256
-

FNF Maker PRO V14.5 last update
by PIKMIN48
-

Super Hexagon
by novice27b
-

Numberblocks Band Sixty-Fourths up to 1 For Tritoctblock24
by dantethecreator2021
-

FNF - (Vs Scratch Cat)
by Bradk2005
-

ONLINE広場2 【モバイル対応】
by puru01010
-

〜弾幕プログラム〜 ネコ戦
by TIGSTEAVN
-

Beat up T-rox remix
by cartoonemma
-

Paper Minecraft 1.20
by Airosoft321
-

! 1000% !| Battery Overcharging
by bear1876
-

Incredibox || Hijinks
by Overcooked_Lemonade
-

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