Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Bug #504: Set/GetPixel LoadAlphaTexture Compatibility Bug
Product:
TV3D SDK 6.5
Language:
C#
Current State:
New
Resolution:
Unconfirmed
Created On:
November 3rd, 2005
Last Modified:
November 3rd, 2005
Reported By:
Jon_b
The bug occurs with PS1.4 video card(Radeon 9000 pro 128) when alpha textures are loaded using LoadAlphaTexture and either scanned with GetPixel or modified with SetPixel. The effect is, any addressing to X,Y = X/2,Y giving the effect described in the following image links.

IMG(Link)

IMG(Link)

The real life effect is that any alpha texture brushes I load from a file are distorted when I try to copy their alpha to a landscape alpha layer. Also, any previously saved alpha layers load properly but if you try to modify it, painting at coordinates X,Y results in the brush modifying the alpha values at X/2,Y.

When scanning or modifying an alpha texture created using CreateAlphaTexture, the problem does not occur.

GetPixel/SetPixel and LoadAlphaTexture

Comments:

Posted by Jon_b on November 3rd, 2005 at 5:33 PM
When the same code was tested on a PS3.0 video card, the problem did not occur. This seems to be a Shader compatibility issue but I hope you can fix it.
Posted by Jon_b on November 4th, 2005 at 9:35 PM
Actually the caard is PS2, tv reports it as PS3 :)
Posted by Jon_b on November 5th, 2005 at 3:43 AM
Testing was done with setsplattingmode(false)