Skip to content

Conversation

EMaksymenko
Copy link

Description of the Change

  1. Change order of unitSquareTransform matrix operations to fix image stretching on rotation and apply correct pivot point. Original code stretched texture instead of rotation and made rotation around texture center instead of specified offset point.
  2. Normalize unitSquareTransform matrix Z-range to prevent texture clipping on tilting. Original code had incorrect tilting approach.

Why Should This Be In Core?

Original code had incorrect placemark orientation processing logic and should be fixed.

Benefits

Now Placemarks are correctly rotated and tilted.

Potential Drawbacks

None

Applicable Issues

WorldWindEarth#63

1) Change order of unitSquareTransform matrix operations to fix image stretching on rotation and apply correct pivot point.
2) Normalize unitSquareTransform matrix Z-range to prevent texture clipping on tilting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants