Christian,

I think that it has something to do with setting Gamma values below 50%. My 
software has a feature called "Night Vision Mode" where I set the Blue and 
Green gamma values to 0% and lower Red to 50%. It works perfectly on Mac OS X, 
but nothing happens in Windows, not even an error. 

Here's the *basic* idea:

Obviously Gamma is an instance of the GammaMBS class

Sub NightVisionMode(value As Boolean)

  Static GammaRed(255) As Double
  Static GammaGreen(255) As Double
  Static GammaBlue(255) As Double
  
  Dim i As Integer
  Dim result As Integer
  
  If Gamma <> Nil Then
    If Not Gamma.Available Then
      result = MsgBox("Can not invoke Night Vision Mode") 
    Else
      If value Then
        For i = 0 to 255
          GammaRed(i) = Gamma.Red(i)
          GammaGreen(i) = Gamma.Green(i)
          GammaBlue(i) = Gamma.Blue(i)
        Next
        For i = 0 To 255
          Gamma.Red(i) = GammaRed(i) / 2
          Gamma.Green(i) = 0
          Gamma.Blue(i) = 0
        Next
      Else
        For i = 0 To 255
          Gamma.Red(i) = GammaRed(i)
          Gamma.Green(i) = GammaGreen(i)
          Gamma.Blue(i) = GammaBlue(i)
        Next
      End If
      If Not Gamma.SetGamma Then 
        result = MsgBox("Can not invoke Night Vision Mode")
      End If
    End If
  End If
  
 End Sub

I've seen the same result on all the Windows machines that I've tested it on so 
far. 

Cheers.

-bill k


On Feb 26, 2013, at 1:20 AM, Christian Schmitz <[email protected]> 
wrote:

> 
> Am 26.02.2013 um 00:48 schrieb William Koperwhats <[email protected]>:
> 
>> Christian,
>> 
>> I seem to remember reading that the GammaMBS classes weren't working in the 
>> latest versions of Windows (XP/Vista/7/8) and my limited testing confirms 
>> this. Is there any chance of getting them fixed for 13.1?
> 
> 
> I don't see a change in the last month which could  cause this.
> 
> Can someone else try it?
> 
> You need a real PC (no VM) to test and a graphics driver with gamma support.
> 
> Greetings
> Christian
> 
> -- 
> Read our blog about news on our plugins:
> 
> http://www.mbsplugins.de/
> 
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> [email protected]
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to