Realtime Affine Texture Mapping (WIP) copy
by DCPU-16
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
My whiz kid animations
by BGA9
F N A F SL remix
by WickedMaker1234
Add a button to beat up caillou with hair
by driggy0114
Bone Island Monster Tracks added flum ox and gnarls
by agent_8_VEEMO_yay
add a button to beat up jevin
by driggy0114
⚠️Scratch地震速報LIVE ScraQuake V β版
by scraearthquake0506
Secret exit remake [W.I.P]
by UsaHuman
BFB Randomizer remix
by BubbleG_n
kScratch-T99 Animations (MGM logo parody)
by kScratch-T99
ay black hole add round 10
by ogorodnikov_a
~Needohs and fidgets~ || #Games #Animation #Asmr
by Da_humano
Kirby Inhales My Own Followers
by Taseless_Tart
The Studio Doors of Numbers - Part 3 (211 Doors)
by TheNAF2001
Strategy games x2 hacked remix
by koukunn8
Name Letter Sprites - Alondra
by aa_londr_aa
All Sample Audio G Major Effects Part 12
by JARETurn
FNF ⇒Accelerant⇐ [HARD]
by shadowmask1234
マリオカートっぽい!?プラットフォーマー7!!
by sgihyt781
夜に駆ける/YOASOBI ピアノロール
by fireshukkun1214
beat up 2 (from number blocks) remix
by tatatino150
my best game
by aslan120122
Geometry dash full version (fixed gears & mulpan!!!) mobile freindly
by 8chok
Geometry Dash Spam Level
by KylKon15
2023 Jumpstart Band (Lowercase) [MOST VIEWED PROJECT ON THIS ACCOUNT] remix-2
by furrywolforcysn