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
-

LOUD SOUNDS KEYBOARD (Remix 44/100)
by KHOPERIATEDO
-

小田急ロマンスカー連結ゲーム remix
by kokutetsu
-

Added Animals
by ALFIEW1252
-

black hole add round 1
by Leoox2015
-

Birds vs Pigs! ★
by supersoniicthecat
-

Geomtry dash マイクラ版
by honndaltuti
-

Wither storm with animation!
by RobloxBro807
-

Numberblocks Intro 2021 REMASTERED V2 remix
by GABCORO56FAN2
-

Truck Anatomy² 2005 ford ranger swap 6.0L remix-3 remix-3
by BandL_trucks
-

Vivo Pad Sky S120 Incoming Call remix remix
by kigenao
-

Digital Clocks
by Saleh74
-

(Reuploaded) Barney Error 2 Remastered
by Caylecheng72
-

Fidget Spinner HD remix colored spinner
by DankWolf2
-

Paper Minecraft Updated [Textures]
by WildernessCoder
-

Colony // Battle Simulator [BETA] #games
by ReloadedUser
-

100%Pen! Lane Run. ver1.1.0
by 123shun3
-

☁️ Among Us Scratch v3.32 (online) remix
by UBIT2011
-

Griffpatch 3D raycasting OUTDATED! Check description for new version
by mmmmrto
-

That Level Again V1.1
by wiseguy1234
-

espe sans phase1 hard mode (demo)
by saaaaaanschaaaaaaan
-

【東方コラボ改変PV】春嵐
by sckoko8
-

Beat up Connor remix 1
by newmyles
-

AY In Springy Of DOOM! (20) remix
by Scratchcoderssquad
-

{FREE ADMIN} [WORKING KEYS GOOD DRAGON] BLOX FRUITS ~ Update 6.1
by Rusty-Fish