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 C G O P and Y V1 remix
by MAXIMOGONZALEZ15
-

Untitled-5
by MrOCwritescode
-

Windows 8 Build 7746 Crazy Error Maker
by Yuuya20061202
-

バレンタインスロット
by 1296-cat
-

Seadtype V16.0
by stevenrobloxisback
-

Beat Up Toopati Fixed
by infinateyyy
-

Spiderman
by 2031jtorluccio
-

Surviving the Snowstorm - Henry Stickmin games
by SnoopDogg12387
-

Beat up Edward DLC 2 remix-2
by Alfie_Ben16
-

【拡散希望】フォートナイト ver1.0.1
by hgi258
-

Klasky Csupo Logo Remake (And With My Voice Too)
by patolincab
-

Truck Anatomy² 2005 F-250 6.3 Powerstroke
by bigdawg1243
-

Folder's Viewer Voting 14: Is that a reference!?
by hellothereron
-

Fruit Tower Defense
by 23leung8
-

Expanded Super Mario Maker v.6
by ego-lay_atman-bay
-

Geometry Dash - Deadlocked fast
by E94536
-

fnf godzilla: ballistic
by mon5shi20
-

イカゲーム 第2ゲーム「カルメ焼きの型抜き」
by jum000
-

人狼ゲーム 〜live or die〜 3話「最初の犠牲者」
by khakye
-

Roblox fly race BUT remade in scratch BIG UPDATE
by giohappyyt
-

Endless Alphabet ALARM
by chirsaysc
-

Beat Up Nickel
by paata27747438
-

My take of Slovenian Alphabet Lore
by NJsaurus
-

all the once remix
by KubaKo_328