Please test (ati/nvidia/stencil code)
Blitz3D Forums/Blitz3D Userlibs/Please test (ati/nvidia/stencil code)
| ||
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 |
| ||
http://www.blitzbasic.com/Community/posts.php?topic=58937 Answer my questions and I am all yours. |
| ||
done puki, now TEST! :) |
| ||
Okey-dokey. Just getting undressed. |
| ||
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 |
| ||
Code = 2 on my ATI Radeon 9600 Pro. |
| ||
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 |
| ||
the amount of pain and effort you've put into this means you could have written an entire engine by now :) |
| ||
Good luck man! |
| ||
Depth: 8 nVidia QuadroFX go1400 SS 3.0 |
| ||
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 :| |
| ||
Code 2 |
| ||
code 8 nvidia 5700 |
| ||
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 |
| ||
Stencil Buffer Bit Depth: 8 GeForce4 ti 4200 |
| ||
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... |
| ||
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) |
| ||
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 |
| ||
code a and depth=8 on my ati, and MAV on my school computer(matrox however) |