View Issue Details

IDProjectCategoryView StatusLast Update
0007348Multi Theft Auto : San AndreasClientpublic2012-09-24 10:32
ReporterGothemAssigned Toccw 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformOSWindows 7OS Version
Product Version 
Target Version1.3.2Fixed in Version1.3.2 
Summary0007348: Rotation offset is messed up when using 'clamp' as texture edge
Description

When you create a texture with 'clamp' edge, the rotation offset for drawing the texture is totally messed up.

Image showing the problem: http://puu.sh/17vqR

Steps To Reproduce
  1. Create a texture with 'clamp' edge.
  2. draw the image
  3. apply some rotation
  4. ????
  5. PROFIT!

Just compare the rotations without the clamp edge and you will see.

TagsNo tags attached.

Activities

ccw

2012-09-23 22:45

administrator   ~~0017620

Fixed in http://code.google.com/p/mtasa-blue/source/detail?r=4701

To bodge a fix for older clients, set the rotation twice. i.e.:
dxDrawImage( -1,-1, 0, 0, textureClamped, rot )
dxDrawImage( 400,300, 200,200, textureClamped, rot )

Issue History

Date Modified Username Field Change