Restored from previous forum. Originally posted by Paul.
If you want to see a cool graphic fireworks display written in PB, go here:
http://www.reelmediaproductions.com/pb/
and look in the "Applications" section.
Cool Graphics
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Rings.
very impressive Paul.Its cool to add it for explosion effects on a R-Type Clone.
Note to all users: This code uses the Sprite3D-Routine.If you have some older gfx cards it cannot work.
At the first start i see nothing(Black Sprite on Black Background)
It was the parameter in the Sprite3DBlendingMode()
So i have to play with the Sprite3DBlendingMode and test with other values.
it works with Sprite3DBlendingMode(2,4) perfectly
Its a long way to the top if you wanna .....CodeGuru
very impressive Paul.Its cool to add it for explosion effects on a R-Type Clone.
Note to all users: This code uses the Sprite3D-Routine.If you have some older gfx cards it cannot work.
At the first start i see nothing(Black Sprite on Black Background)
It was the parameter in the Sprite3DBlendingMode()
So i have to play with the Sprite3DBlendingMode and test with other values.
it works with Sprite3DBlendingMode(2,4) perfectly
Its a long way to the top if you wanna .....CodeGuru
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by chr1sb.
Blank screen for me too (WinXP + Geforce3) until I removed the Sprite3DBlendingMode(0,2) line.
What's that command for anyway? according to the help number 2 in the Sprite3DBlendingMode command corresponds to #D3DTOP_SELECTARG1
what does that mean?
Blank screen for me too (WinXP + Geforce3) until I removed the Sprite3DBlendingMode(0,2) line.
What's that command for anyway? according to the help number 2 in the Sprite3DBlendingMode command corresponds to #D3DTOP_SELECTARG1
what does that mean?
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Paul.
The numbers I used give a very nice additive blend on 3 different cards here. Try other numbers like (2,7)... Depending on your card, you will eventually find a cool blending effect. (that is why I included the source)
Do what Rings says and try different values for the blending. Not all 3D cards respond the same.Blank screen for me too (WinXP + Geforce3) until I removed the Sprite3DBlendingMode(0,2) line.
What's that command for anyway? according to the help number 2 in the Sprite3DBlendingMode command corresponds to #D3DTOP_SELECTARG1
what does that mean?
The numbers I used give a very nice additive blend on 3 different cards here. Try other numbers like (2,7)... Depending on your card, you will eventually find a cool blending effect. (that is why I included the source)