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
-

formula 1 2100
by marfilylin
-

Endless alphabet oc (DEMO)
by splashyideas
-

Horror Sans fight - semi-update
by Kinetic_Energy1412
-

Sprunki Retake Human (15+) (1140306035
by fnfmlp76
-

Beat Up Buba (10)
by doddwell
-

Honda CIVIC TYPE R FK8 speedometer
by theeditorspeedometer
-

angry oobi Has a Klasky Csupo Error
by oobi122
-

omega flowey #1 ANIM
by thomas6202011
-

Talking Ben remix
by sushidog51
-

New Super MAAAAAAAAAAAAAA
by Rexandeffects
-

Uncannyblocks Band Different Whole But Tenth Part 17
by jebbie3345
-

Beat Up Evilbross 2 V1.7
by oceanboy06
-

The Studio Doors of Numbers - Part 3 (288 Doors)
by KlaskyCsupojr
-

Geometry Dash v1.5 Levels 16-21
by hoppingicon
-

Status Effect Log [ Remix 36 | 133 Effects ] remix
by BobbyTheCatTheFirst
-

FNF Taki VS FNF Sarv Crucify
by MMS705341
-

Windows Clone
by slickmojang7
-

Beat Up Pucci (1)
by peggraz51
-

おまけころころ 鬼畜 remix-4 クリアテイク
by 05hyuuu
-

STICK WARS Remix
by MackAttack8665
-

Add A Button To Beat Up Black Hole! (0/100 with more buttons)
by KHOPERIATEDO
-

Opening to Pixels The Movie 2013 DVD
by Gus1024
-

NumberBlock Band (0 - 1,000,000,000) With 10 Bonuses remix
by Gruffalo_David15
-

Zuma Function-Media Pembelajaran
by missrisa