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
Seventy-Two, Eight and Nine Times Table And The Octo Grid
by 48_Numberblock
Sprun By KPu
by K-Pu1414
Beat Up BBC One
by Dizzyupthegirl
Beat Up Granny (7)
by Tyler-Time
Numbers Band 13 remix-2
by VulePetrovic
Horor watermelon
by rusik828
(REUPLOADED) MORE BEES!!!!!! (Remastered)
by zyron74
Interactive Numberblock 33(v1.0)(W.I.P)
by Numberblock58gamez
【ファミコン風音楽】フューリーワールド「プロペラ砦」
by kenjirina95
SONIC MANIA
by Pablo12Xx
Paper Mario (DEMO)
by Jcreate7
Generic elevator at some apartment (Prototype)
by ohman_soonsoon
Mamjr’s Lenovo Logo Bloopers Cast 0.1
by crazyvlogs2209725
talking tom and ben news 2 v2.6 (MOST VIEWED) remix
by Maxy2024
the mine song but every mine is backwords
by cs864482
Super Mike Maker
by ToadfanSchool
(OLD VERSION) Tower Blitz (A TDS Sequel) v.5.3
by HollowKnightGames
Fidget Spinner X remix
by LSREDSNAKE
hololive ERROR ー 真相編 ー
by Natch0709
POLICE battle royale
by furigana
Add yourself/your oc singing 8-28-63 (0)
by alizaman1
Progbuntu 12.34 - WIP Build 1-5
by game-master124
Beat up Edward but more fun remix remix remix
by FullandER2025
Beat Up Ghosty!!!
by Buzz18_