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 7 Virus Simulator
by BlackOfficial9
Wither Storm Simulator 5 (remix of cr33p3rz and sonicthehedgehog859)
by pjacob1414
Harmonic Pendulum Wave
by TheProScratcher2012
endless numbers as humans
by Obaoon115
UPDATE talking tom and ben news 9 V4 added all hd remix remix-2
by bonzi346
Super Mario Advance 4 Super Mario Bros 3 Online Multiplayer
by GalaxyDash799
Meggie Rosa
by TheDisBack
The Uncompleted Endless Number Animations Fixed!
by Crazypantz19
argam endless numbers (dess - score)
by infinityruan
Fire Fnati Images
by NICERIOBEDO
Mustard Vineria's Stomach Growling
by SadieKA
triagonal
by djsparta
Marx Soul Boss Fight (Kirby Superstar Ultra)
by Superkoopa_64
Mope Sandbox
by Memepig23
Tabi Test (FNF) V3
by AverageUSSRSoldier
Jimmy Stickboy: Escaping the prison
by tomtit2012
QC's Disney Junior Logo Bloopers 3 Part 13 - It's Randomized (J dies) remix
by Tvokidsguyperson
everyone fights bad scratchers
by hyd3ns33k
idea attack v2
by Robbiej2009
Death by glamour Perfect reproduction
by gan_man
Paper Minecraft 2D v11.6
by SilverRioSky
Numbericons 7801-7900
by vanhouchin
FNF test Ultimate remix
by xxlltt
Weird Strict Dad Roblx Speedy Dad gamemode by Rip_Ryan (or Ryan_Stratford)
by Ryan_Stratford