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
Designs, Argam system, and more...
by Quoot105
Numbers Band 76
by kuyakusgab
Talking Ginger 2 remix
by AvaDeruyter
UPDATE talking tom and ben news 9 V4 aded all hd remix remix-4 remix remix-6
by bonzi346
Magic Tiles 3
by Mic_short
Ethereal Lunchtime (Full Song)
by swapswap_disbelief
take care of c00lkidd!
by kik_ival
Beat Up P-Head 2 remix
by xmrrileyxx
Roaring Knight fight
by imaperson5558
-Trinity Encore-rewrite appears up (FNF VS Rewrite)
by uliseS_leonard
Sonidos de Windows XP
by Mr_Supermole
Baldi basics (Demo)
by OliverCarvalho2024
Endless Ukrainian Letters (baldi9845's take)
by Nachosun1403
Stingy text to speech
by Jennifertest
(FINISHED) Mixels Intro S3 Remake remix remix
by NV0810
The Longest and Ultimate Blue Mist Plus Jumpscares Collection (Part 1B)
by carterlee30
Power outage | #Animations Entry for 2k contest
by -ToutburgetTv-
My Singing Monsters: Water Island
by mysinginmonsters
new button for beat up games
by BASE098
Beat up talking ben Full
by newmyles
beat up xbox 630
by Diddyer78
Minute Number Evolution 2 [ 471 β 512 ]
by 13TVtilefrom2048
γγγΏγ - ζεpvοΌγΉγ―γͺγγζΌε₯ [pvε€§δΌεε δ½ε]γγγ#Laiboo
by laiboo
kick the buddy
by Malafries