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 LMNOP Crew but they are all Equivalents of PQO227’s Hungarian K
by BryanTheAnimator
Pokemon Emerald remix
by XDinosaurkingx
help vectorize малышман тв russian alphabet remix
by Madrigal-Alphabet-Y
Beat up Nano+
by vincentherrera
Artistic Alphabet Unused 12.0 Beta Release
by SpideyBash4116
Crazy Gummy Ask and Jackson Ask News
by CanLoveToms
New Font Number Preset
by Nunosworld_Alt
I wanna test the game remix but better
by danny_cat77
talking tom and ben news REMASTERED
by AIDEN123333333
Henry Stickmin Collection (WIP)
by sososcary
ROBLOX Tower Defense 2
by robloxstudio6
add a button to beat up Mete From Niloya remix
by PlanetCocukYediYasve
art - try to forget her
by -Queenie-Bunny-
KyleWare: Ultimate Microgames 2!: Type Select Screen
by Kyle3912Again
Stepping on Legos #animation #memes
by NovarynAnimates
Sharkyshar V.S Griffpatch
by Lil_king89
Breathing Simulator
by The_Updator_Extras
3D Maze
by MemoVM9
Numberblocks Intro But It’s 2020
by poddy04
PaRappa The Rapper:Scratched (Official) [REUPLOAD]
by KING2447533
SPMY sans [Special Mysterious] UTSA
by ZERO722
Whole World Turns Into Blank Add Round 2
by Jmason2023
Minecraft, Xbox Edition
by whatsay429
fnati jumpscares v2
by oskargaming2022