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
The Fake Klasky Csupo Nightmares Robot Logo (My New Version)
by yellowmariofan43
Beat up Yogi Bear! remix remix
by EmojiToonsTV1999
Endless Number Academy Test (DEMO) remix
by jade101717jade
Endless alphabet OC QUOTE
by splashyideas
beat up scratch cat
by bonzi346
Beat Up Tennis Ball 1.6 remix
by kubakoodziejczak
Decayed Reality On Scratch (Beta 2.0)!
by TazoLaTaza
Beat up Edward super
by candidoivad2025
Bop It Blast
by -matty1000-
Robot Numberblocks Band Quarters extended
by marcusxziel
Endless Russian Letters (baldi9845's take) italics
by Nachosun1403
Windows Clicker V1.1
by IITissues
THERE IS NO GAME! (part one)
by colinmacc
Falling Up The Stairsβ[ ENTRY ]βββββββ#games #all #art #music
by Yellow-Brain
Beat up 6 Characters
by anthonymuffin
turbowarp γͺγ³γ― ε€ζζ©θ½
by yamato0915
Beat Up Controlly
by newmyles
Edit a button to beat up Shantae (2)
by tatatino150again
UncannyStart Band NVD 9
by tvokids4017
[Remake] Windows 10 Build 9841 Crazy Error Maker 3
by AndersandAngus2012
Bee Clicker
by kasukei
Beat Up Monkey Button 4
by JojosWorld32
ultimate color blocks band 100
by baolanvui
talking tom and ben news remix-3
by BRandong576