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

DUSTALE THE PATH OF THE MURDERER (THE MTT IS COMING [soon])

by norlandasus

Project thumbnail
View Project

Warrior Project beat up zombie 2 plus ! no blood #game #games #all #trending #beatup remix

by Lestat1025

Project thumbnail
View Project

Deltarune: Fight vs my character (Битва с моим персонажем)

by IvanSup

Project thumbnail
View Project

Beat up Sonic More

by tiguy2

Project thumbnail
View Project

talking tom and ben news Big Update!! buttons

by bonzi346

Project thumbnail
View Project

ć‚€ćšć™ćŽć‚‹ćƒ•ć‚”ć‚¤ćƒ–ćƒœćƒ³ćƒćƒ¼

by Reimerak

Project thumbnail
View Project

paper minecraft 1.18

by yuviiii00

Project thumbnail
View Project

Windows 11 XP Edition

by exa2023_05

Project thumbnail
View Project

Peppa Pig Gets Grounded Getaway!

by TMD-Entertainment

Project thumbnail
View Project

åœ°éœ‡ć‚·ćƒŸćƒ„ćƒ¬ćƒ¼ć‚·ćƒ§ćƒ³ ver3.2 remix

by kasane-teto0041

Project thumbnail
View Project

Goku TSB - First Model

by GriddyKidGames

Project thumbnail
View Project

ą©ˆāœ©ā€§ā‚ŠĖš a dance of the sun and moon āš a wip eclipsekit application

by m0rning-

Project thumbnail
View Project

The Biggest Nickelodeon Creatures Text Engine

by Your_Local_Ice_Cube

Project thumbnail
View Project

Beat Up Bonzi Buddy 2 remix remix

by TAG987654321

Project thumbnail
View Project

Draw

by mqh04000_Test

Project thumbnail
View Project

Bad Piggies: Build Mode (No Start Bottom)

by alexis_john_paul

Project thumbnail
View Project

Geometry Dash 2.2 layout

by wallyt12

Project thumbnail
View Project

Samsung Galaxy S8 Telcel

by logitech100

Project thumbnail
View Project

怐PVć€‘å›ćŒé£›ć³é™ć‚Šć‚‹ć®ćŖć‚‰ć°Ć—č«čØŖå­ļ¼†ę—©č‹—

by MatchaGemes_

Project thumbnail
View Project

Floppa Clicker Version 1.7

by cuteseal2

Project thumbnail
View Project

Doors 3D

by DrewTheCoder7

Project thumbnail
View Project

OmNom Time

by MaskedTape

Project thumbnail
View Project

Taboo!Sans Fight

by inkerrormagic00

Project thumbnail
View Project

Abandoned Discovery Island

by SaminProduction