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
Numberblocks Intro but its 2000 but broken
by srmexicoballelpro
譜面作ってください【PUPA編】
by -pte-
Yamishca Gumiber but nano+
by SAunokarreem1234
Beat up two v0.1 remix
by xmrrileyxx
beat up kane 2004 Remastered 2
by mugpanic
Gd faces
by scratch_io24
Gd Lobotomy difficulty faces (Remastered)
by syafiqwanrazaliJR
Forsaken Friend Elliot art ///CLOSE TO ME FORSAKEN/// #JSAB #FORSAKEN #ART #LOBSTERMEAT
by hot_cholklet
Among Us (Remix)
by DeboGirl
FNF: Racing
by BlueHedgehog16
Beat up Seven because you want his luck remix remix-18
by xmrrileyxx
APPLECORE FNF PLAYABLE
by topeener123
AY In Don't Fall Off The Trampoline anti piracy screen
by Louislandclub
Make your own BFDI! (With Recommended Characters)
by ennardandminirina
klasky csupo effects 6
by robinbrady16
Full Pendulum
by batemanb08
謎猫大戦争 ver2.0
by penginFM444
(没)Bad Time Trio
by aboabk
Beat Up Bandu Buttons
by newmyles
Basically Super Mario || #Animations #Trending (⌐■_■)
by YeetachuAnimation
【スクリプト演奏】Fantaisie-Impromptu Op. posth. 66
by Yukkkkkkkkkkkkkkkkku
My effects kit 3.0
by red200andvenko
FNF [TEST PLAYGROUND] The Squidward Tricky
by milohcraft
放置ゲー×バトルゲー2"P"=超拡散希望=
by poooooooooonta