Andreas,
It may be related to the odd coloring of the cube in the B3DSceneExplorerMorph. When I get one out and turn on acceleration (3.5 image, 3.4 Mac VM), the colors change. Here are the expected (and correctly drawn with acceleration off) colors and what they look like with acceleration on:
(TranslucentColor r: 1.0 g: 0.0 b: 0.0 alpha: 0.498) should be red,
but looks like (Color r: 0.498 g: 1.0 b: 0) when accelerated
(TranslucentColor r: 0.0 g: 1.0 b: 0.0 alpha: 0.498) should be green,
but looks like (Color r: 0.498 g: 0.0 b: 1.0) when accelerated
(TranslucentColor r: 0.0 g: 0.0 b: 1.0 alpha: 0.498) should be blue,
but looks like (Color r: 0.498 g: 0.0 b: 0) when accelerated
(TranslucentColor r: 1.0 g: 1.0 b: 0.0 alpha: 0.498) should be yellow,
but looks like (Color r: 0.498 g: 1.0 b: 1.0) when accelerated
(TranslucentColor r: 0.5 g: 0.5 b: 0.5 alpha: 0.498) should be gray AND IS!
(TranslucentColor r: 0.0 g: 1.0 b: 1.0 alpha: 0.498)) should be cyan,
but looks like (Color r: 0.498 g: 0.0 b: 1.0) when accelerated
Looks very much like some mismatch between ARGB and RGBA.
Cheers,
Bob
On Sun, 31 Aug 2003 19:15:31 +0200 "Andreas Raab" <andreas.raab(a)gmx.de> wrote:
>Do you have an example for testing this?
>
>Cheers,
> - Andreas
>
>> -----Original Message-----
>> From: squeak-dev-bounces(a)lists.squeakfoundation.org
>> [mailto:squeak-dev-bounces@lists.squeakfoundation.org] On
>> Behalf Of Martin Kuball
>> Sent: Saturday, August 30, 2003 7:47 PM
>> To: squeak-dev(a)lists.squeakfoundation.org
>> Subject: Wrong color format in B3DPrimitiveVertex?
>>
>>
>> Hi!
>>
>> The B3DPrimitiveVertex stores a Color value as a word in the
>> format ARGB,
>> where A is the most significant byte. On my Linux system
>> using an nvidia
>> driver this does not seem to be what OpenGL expects. It
>> should rather be ABGR.