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
-

Windows 11 起動画面
by Windows10Sounds
-

Superkitties: S1 Ep2: Fireworks Fright (sense)
by muq304
-

Endless Music my notes
by pleh16
-

NBA imperialism how it works
by BAAADHORNET
-

Skeletal Shenanigans - Geometry Dash 2.2 (STILL WIP)
by wellgames789
-

Incredibox - Sprunki Deluxe V2 template upd
by jaijai6886
-

subterbaldi fnf idea
by sciencekid2014
-

Endless Numbers Upgraded 0-∞ (Beta) remix
by PawHead
-

Windows 8 Build 8129(Japanese)
by ByteSizeRamble1
-

TIV 2 Tornado Interceptor
by raptortheALPHArizz
-

Break The Soda Can!!
by RMSTitanicFan1000
-

Beat Up Spiffy Picture
by jargcomp
-

among us online
by 58680333
-

Super Numberblocks Night 2020 (Demo)
by NumberblockBasic
-

Text to speech test
by SphoonStudios
-

This mailbox is Mine remix
by marekaroli
-

Numberblocks Band 2 | FIXED | Eighths + Quarters + Halves
by Sonny_B_HD
-

Spiffy.EXE Buttons Infinity
by kari1213
-

(HIGH EFFORT) VS. Piink.CLR - Friday Night Fannin'
by FlyingMusicNote
-

Beat Up Lyloo (10)
by newmyles
-

Beat up Cat (The best one with my voice!)
by RafaelCardoso2016
-

Beat Up The Vegan DLC Remastered (27.40)
by tnwlss1013
-

DIGITAL CLOCK (military time)
by Battery_overcharging
-

Windows 8.2 Bluedex (I Tried My Very Best)
by NIcholash273