Restored from previous forum. Originally posted by fred.
Ok.
Fred - AlphaSND
3D acellerated 2D game
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by chr1sb.
I've already tried to understand the stuff in the DirectX SDK but I don't really know how it relates to the Sprite3dBlendingMode function.
For example: "D3DTOP_ADD Add the components of the arguments"
What are the arguments? where are they? what does SourceMode and DestinationMode in the PureBasic function refer to? the Sprite3D's texture and the background? or vice-versa? or something else entirely?
Hmm, well I guess that's why this command is "for advanced users only" because the DirectX SDK is way over my head.
As I've mentioned in the past, when I try to use the Sprite3DBlending mode it sometimes works on one computer and not on another, so I suppose my question should really have been:
Has anyone actually managed to figure out some numbers to use with Sprite3dBlendingMode function to do nice blending effects that will *definitely* work the same on all hardware accelerators?
Thanks for the link, but...Originally posted by mindplay
chr1sb: the Sprite3DMode() function reference in the PB help lists the available modes - for detailed information about each mode, refer to the SDK
I've already tried to understand the stuff in the DirectX SDK but I don't really know how it relates to the Sprite3dBlendingMode function.
For example: "D3DTOP_ADD Add the components of the arguments"
What are the arguments? where are they? what does SourceMode and DestinationMode in the PureBasic function refer to? the Sprite3D's texture and the background? or vice-versa? or something else entirely?
Hmm, well I guess that's why this command is "for advanced users only" because the DirectX SDK is way over my head.
As I've mentioned in the past, when I try to use the Sprite3DBlending mode it sometimes works on one computer and not on another, so I suppose my question should really have been:
Has anyone actually managed to figure out some numbers to use with Sprite3dBlendingMode function to do nice blending effects that will *definitely* work the same on all hardware accelerators?
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm