Realtime Affine Texture Mapping (WIP) copy

Realtime Affine Texture Mapping (WIP) copy

by DCPU-16

👁 6,256 ❤️ 239 ⭐ 190 🔄 4
Created: May 30, 2013 Last modified: Jul 23, 2013 Shared: May 30, 2013

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

Project thumbnail
View Project

Super Mario Bros. 3 DX remix

by TISIBGOnYouTube

Project thumbnail
View Project

Incredibox - Sprunki but it’s from sprunki 3D rp

by Asprunki

Project thumbnail
View Project

Donki 1996 REMASTERED

by XxmateoloxX

Project thumbnail
View Project

Seadtype V17.8

by crazymilkandres

Project thumbnail
View Project

portal 2

by antoniomarea_12

Project thumbnail
View Project

ANTON BLAST DEMO - Outta my way... IT'S HAPPY HOUR!

by mlopez9127

Project thumbnail
View Project

⭐Super Mario Heroes⭐ - ★Super Demo Version★

by King_DDD_and_pokemon

Project thumbnail
View Project

Project PoWiirfUl (Wii U release) Remix byjvs

by jorgevigueraso

Project thumbnail
View Project

Барбоскины вырезанный фрагмент (15.04.2016) remix

by TimokhaPirozhok

Project thumbnail
View Project

Hi-5 Hickory Dickory Dock

by JDCommunity2024

Project thumbnail
View Project

T launcher

by SuperLaLa44

Project thumbnail
View Project

Hyehehe! Shadow Islet Expanded Remixer | My Singing Monsters

by Anuar24

Project thumbnail
View Project

Make your own Inanimate Insanity!

by ReidRulesIT

Project thumbnail
View Project

Adventures in Bayclan- The Coming Storm

by Wildflight

Project thumbnail
View Project

Chip Chess (Demo)

by caterbob

Project thumbnail
View Project

The Black Hole (Add Round 4)

by Bash75703

Project thumbnail
View Project

ACT 2 TEST++

by MasterL0

Project thumbnail
View Project

sky ボールころころ9

by skyblueball2

Project thumbnail
View Project

スパムトンNEOver2!![デルタルーン]試作品

by WASABI0123

Project thumbnail
View Project

ウルトラシューティング

by sukurattitanosii-

Project thumbnail
View Project

Project Annihilation V0.2.1

by __-_o---o---o_-__

Project thumbnail
View Project

EVIL Mining Simulator [1.9.6]

by Defy_Coding

Project thumbnail
View Project

[BU] Beat up Spiffy Pictures with BubbleMenu remix

by paata27747438

Project thumbnail
View Project

Fidget Spinner remix

by Andy2Ray