Please test (ati/nvidia/stencil code)

Blitz3D Forums/Blitz3D Userlibs/Please test (ati/nvidia/stencil code)

Tom(Posted 2006) [#1]
EDIT: This has been tested enough now, so no need to try it if you aint done already, thanks for the feedback!


Hi all,

Please can you run this and tell me the Code on screen and your GFX card manufacturer:
http://www.tomspeed.com/stencilbuffertest.zip

It's nothing drastic, just a test to see if Blitz3D is creating a stencil buffer on ATI cards, which I'm sure it isn't! And would explain why my old stencil buffer code didn't work correctly on ATI cards.

Cheers
Tom


puki(Posted 2006) [#2]
http://www.blitzbasic.com/Community/posts.php?topic=58937

Answer my questions and I am all yours.


Tom(Posted 2006) [#3]
done puki, now TEST! :)


puki(Posted 2006) [#4]
Okey-dokey. Just getting undressed.


puki(Posted 2006) [#5]
The results from 'pukiworld' are:

Stencil Buffer doesn't exist, attempting to create one.
A Stencil Buffer with a bit depth of 8 bits was created.

Code = 2



I have a ATI Radeon X800XL


WendellM(Posted 2006) [#6]
Code = 2 on my ATI Radeon 9600 Pro.


Tom(Posted 2006) [#7]
I think I know what must be happening.

Mark never exposed the need for stencil operations, and when searching for a suitable ZBuffer format only used the 'DDPF_ZBUFFER' flag, rather than 'DDPF_ZBUFFER | DDPF_STENCILBUFFER' which would only return a stencil capable ZBuffer if it existed.

Most likely, the first acceptible ZBuffer format NVidia returns happens to also include a stencil buffer, where as on ATI it doesn't.

I've emailed Skid and asked him to check it out as stencil buffers are widely supported. Failing that, I can replace Blitz3Ds ZBuffer with a stencil capable one, but for sanitys sake it would be nicer if one was created natively.

Cheers


Robert Cummings(Posted 2006) [#8]
the amount of pain and effort you've put into this means you could have written an entire engine by now :)


Ross C(Posted 2006) [#9]
Good luck man!


Alienforce(Posted 2006) [#10]
Depth: 8

nVidia QuadroFX go1400 SS 3.0


Tom(Posted 2006) [#11]
OEJ: Yeh :)

I go til I get frustrated.

Would rather be doing the GL stuff but, damn, that got hard fast, and no one to help :|


t3K|Mac(Posted 2006) [#12]
Code 2


mongia2(Posted 2006) [#13]
code 8

nvidia 5700


Pax(Posted 2006) [#14]
Hi, I got:

Stencil Buffer Bit Depth: 8
GeForce2 Mx/MX 400

Stencil Buffer Bit Depth: 8
Radeon 9200

Stencil Buffer Bit Depth: 8
Nvidia 5700LE


degac(Posted 2006) [#15]
Stencil Buffer Bit Depth: 8
GeForce4 ti 4200


Mustang(Posted 2006) [#16]
Stencil Buffer Bit Depth: 8

NVIDIA GeForce 7800 GTX

I have ATI 9600 XT at home, I'll try that today evening. My laptop has integrated Intel so no high hopes on that one...


Matty(Posted 2006) [#17]
Stencil Buffer doesn't exist, attempting to create one.
A Stencil Buffer with a bit depth of 8 bits was created.

Code = 2

ATI Radeon 9700 Mobility (Asus laptop)


Modded(Posted 2006) [#18]
Stencil Buffer doesn't exist, attempting to create one.
A Stencil Buffer with a bit depth of 8 bits was created.

Code = 2

MSI Radeon X1900 XTX


bytecode77(Posted 2006) [#19]
code a and depth=8 on my ati, and MAV on my school computer(matrox however)