Forum: VB.NET Aug 3rd, 2009 |
| Replies: 2 Views: 261 Opacity is an alpha setting! Either master or each pixel.
DstRGB = (SrcRGB * SrcAlpha) + ((1.0 - SrcAlpha) * DstRGB)
An alpha blending is similar to as follows
a = (1.0f / 255.0f) *... |
Forum: VB.NET Aug 2nd, 2009 |
| Replies: 8 Views: 393 Looks like a 32 byte hash.
But sknake is more likely correct! |
Forum: VB.NET Aug 1st, 2009 |
| Replies: 2 Views: 244 I'm not up on Visual Basic, but could the file be write protected?
Is a COM type object wrapped in a DLL and the DLL isn't where you think it is? Application is looking in one spot and the DLL being... |
Forum: VB.NET Jul 12th, 2009 |
| Replies: 11 Views: 620 Thanks, adatapost.
However you may want to tweak your algorithm.
The original poster (unless they were in error) indicated 0 to 100 thus a range of 101. (Unless they wrote what they wanted... |
Forum: VB.NET Jul 11th, 2009 |
| Replies: 11 Views: 620 You're essentially looking for a card shuffle algorithm but you're using 101 cards.
This isn't VB but the principal logic is the same!
LOWCOUNT = 0
HIGHCOUNT = 100
NUM_COUNT =... |
Forum: VB.NET Jul 8th, 2009 |
| Replies: 3 Views: 546 Simplest collision detection.
Circle to circle for 2D.
Sphere to Sphere for 3D
Radius of sphere???? (r)
Radius of Sphere A = rA
Radius of Sphere B = rB
Center position of... |