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
Cocobi ABC song BSOD
by spiffyfan105
The Four Digit Addinator remix
by giahan5g1
Blue Mist Plus - 10,000 to 10,999 All Jumpscares (UPDATED) remix
by jade101717jade
Scratch Cat Hates The Space Bar
by BlueTheAxolotlIsBakc
Ay Black Hole add round 1
by lexailya2024
Beat up Sonic 6 (4)
by newmyles
Wheel Ships EPIC the Musical
by powellfox55
beat up coiny 2 (add a button)(6) remix
by miguelhauck
Among Us Hide And Seek | #All #Games #Amongus remix
by LJaceK2014
beat up wenda remix-8
by xmrrileyxx
Aiden's number lore in bren319 style 0-50
by BackpackAiden
mini sonic v.1
by vovastudio
The Studio Doors of Numbers I - Part II (162 Doors)
by 100daysonly
Doom engine (outdated)
by Vadik1
City Bus Driving School / バス教習所シミュレーター ver1.6
by AT_4
Among Us V.04
by aaking1505
The Evil Crybaby (Part 1) (my version)
by mr_redflame
TEST
by Nomae1228
Animal Stampede remix
by mightyrabbit235
beat up 2 (from number blocks)
by dirtotheobjectrises
ဋ prediction (non canon, more like a what if)
by ThatOneCreator12_2
C alphbet lore
by elderkettle880
Messing With The Mine Song! ALL AUDIO EDITS!
by KittycornAnimations
Interactive Abkhaz alphabet Lore
by SuperMario404games