textured quad vs 2d

Blitz3D Forums/Blitz3D Programming/textured quad vs 2d

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Rob - then please explain to me this.



this is made in DB. the one on the left is simply the image being pasted to the screen. the one on the right is 3d plane textured with the texture and with filtering set to off. can you see any difference? i sure can't.

not to mention i've not met one person with any kind of video card that has trouble just switching off filtering to make crisp 2d-like textures. it even works fine for a guy i know with an old low-end SiS inbuilt video card. if it'll run on that piece of crap (i lived with the same card for 2 years) then it doesn't really seem to be video-card specific (unless you run it on an EGA display or something..).

here's the source code, if you feel so inclined to download the DB1 (not DBP... it's crappy) demo and run it.

sync on : sync rate 60
disable escapekey
autocam off

make object plain 1,64,64
set object 1,1,0,1,0,0,0,0

load image "c:\blitz3d\blah1.bmp",1
texture object 1,1

Position object 1,0,0,screen Width()*0.625

repeat

paste image 1,200,208

sync
until keystate(1)
end


if you do, try changing the line

set object 1,1,0,1,0,0,0,0

to

set object 1,1,1,1,1,0,0,0

and you'll notice the fuzziness introduced by texture filtering.

it IS possible; blitz just doesn't have the means!