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
Windows 98.EXE Buttons !!! New Remake
by omegaspiffy
Incredibox Donki v2.2
by MartinelmasXD
Beat Up PO (12) (final) remix
by andpsaid
Windows 7 Basic (still WIP)
by Windows_7_hype
Parkoor But faster
by 29schaney
The story of Herobrine
by NeyooHT1
Number decimals band: Episode 6: 6’s part
by kingming16
Color mix
by Un_Programmeur
Bfdi explorer Minecraft
by Himper_SILLY123
Dango Catch
by Twin138956Scratch
Beat Up Big Bird! HD remix
by coleh2
Five Nights at Floppa's Facility
by DG_YT
Beat Up Scratchy [old project]
by robloxgrbr2006
『ʙʀᴇᴀᴅ ғᴀᴄᴛᴏʀʏ』(※放置ゲー)
by -_-EARTH-_-
Interactive Spanish Alphabet Lore remix
by AdamTheAlt
THE FIGURE ENRAGED (Doors Unused Ost Record)
by treehouseboi
Coptic Alphabet Song IT'S BREAKING ENDLESSLY
by Bisrat009
ダダサバイバーver.3
by -marimori-
TPOT ReAnimated Intro With old assets
by MeowMeow2500
Skibidi Toilet WITH quick FLUSH
by Jio710
Make Your Own BFDI/BFDIA/BFB/TPOT Version 2.0
by mogus444
Fidget Spinner HD
by Tom24Good
Make Your Own Beat Up Evil Pico Button! (Permanently Closed)
by AAAAAAIIIIIIIEEEEEE
Beat up Charmallow UDLC Remastered!
by DMSwords