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
Super Mario Bros. 3 DX remix
by TISIBGOnYouTube
Incredibox - Sprunki but it’s from sprunki 3D rp
by Asprunki
Donki 1996 REMASTERED
by XxmateoloxX
Seadtype V17.8
by crazymilkandres
portal 2
by antoniomarea_12
ANTON BLAST DEMO - Outta my way... IT'S HAPPY HOUR!
by mlopez9127
⭐Super Mario Heroes⭐ - ★Super Demo Version★
by King_DDD_and_pokemon
Project PoWiirfUl (Wii U release) Remix byjvs
by jorgevigueraso
Барбоскины вырезанный фрагмент (15.04.2016) remix
by TimokhaPirozhok
Hi-5 Hickory Dickory Dock
by JDCommunity2024
T launcher
by SuperLaLa44
Hyehehe! Shadow Islet Expanded Remixer | My Singing Monsters
by Anuar24
Make your own Inanimate Insanity!
by ReidRulesIT
Adventures in Bayclan- The Coming Storm
by Wildflight
Chip Chess (Demo)
by caterbob
The Black Hole (Add Round 4)
by Bash75703
ACT 2 TEST++
by MasterL0
sky ボールころころ9
by skyblueball2
スパムトンNEOver2!![デルタルーン]試作品
by WASABI0123
ウルトラシューティング
by sukurattitanosii-
Project Annihilation V0.2.1
by __-_o---o---o_-__
EVIL Mining Simulator [1.9.6]
by Defy_Coding
[BU] Beat up Spiffy Pictures with BubbleMenu remix
by paata27747438
Fidget Spinner remix
by Andy2Ray