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
-

Hello Human! It is WALUI-
by aRandomShyGuy
-

endless reader 2004 (an unofficial stupid game)
by nikolas07paiva
-

FNF - Indie Cross
by MrDogeLol152
-

BOIL's P x F Amore
by ZealandTheAmino
-

Sonic the Hedgehog Maker
by codingthailand451
-

Geometry Dash Deadlock, but no mini portal
by baseballgod321
-

Super Mario 2D World Team Signups
by awsomepikachu13
-

Pride flags band 2 (real)
by 158283
-

HOW ABOUT NO!
by Tyler-Time
-

Beat Up Buba (10) remix
by doddwell
-

MY NEWEST RUSSIAN ALPHABET LORE. [READ NOTES AND INSTRUCTIONS BEFORE PROCEEDING][NEED VOICE ACTORS]
by PSANANI
-

Numberblocks Generator v1.6
by i019_02jnh
-

Turrican II Boss Battle Test v1.0
by griffpatch
-

宇宙シューティング
by buchou
-

Untitled-5
by 1838999
-

AMONG US (new task mode)
by Akekun
-

motion_blocks (1)
by aa-kayjj
-

My singing jon slets numberblock 3
by 2021aoApr2
-

Giant Worm Boss Fight
by 12oconnor
-

Beat up elinor (2)
by anthonymuffin
-

Plooket
by PiggyGod55
-

The shapeshifter, an observation duty game...
by tw1nt00
-

AY in Trauma Wheel REDUX! [ Server 1 | Remix 15 | 26 Players ]
by noahsaturne
-

Black Hole Add Round 9
by Numberblockgamer8694