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
-

Beat up g-235 DLC Remastered! remix
by b300rooms
-

Vyond Effects remix remix remix
by clanito12
-

Colour Mix
by n_dimensions
-

Beat Up 1-Ball! [3]
by newmyles
-

sprunki oc 111
by TheSwap_Tale
-

Windows 10 0.01
by jakuubbbek211
-

Sprunki Pyramix 1-4 Regretful[recreation] + OC's remix
by kkscratch0919
-

(WIP) Mr. Sun Sprunki Re-Dumbled
by ElDumy
-

Add a button to beat Pingu
by pedroisbacktoscratch
-

bas18, B
by ReilleyYT12345
-

Color Pallets remix
by cat_mario_fan
-

Car Anatomy² Cordell Walker's 92 GMC Sierra remix
by 20269999
-

Under japari アシュラ(アララガメート)
by tatukunn
-

beat up sonic clone v0.2 okey forget
by CLAX1212
-

Beat up Coral
by BestboyJulian
-

Flappy Cube
by -astermious-
-

Android 11
by ZDwindows
-

音ゲー[JAGU] Reversi Vol.1
by hr0909z
-

Flight Simulator Twilight Worlds 3D
by b9e
-

BEAT UP ROBBER! 26
by mateothebb
-

Beat Up Dirty P-Head
by Lalajo3232
-

Hickory Dickory Dock... with a twist.
by samsdi45
-

Build 3D
by build100
-

I Beat Up crazybabybaby15
by kubakolodziejczak007