You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drawing data with abstract coordinates, using COORDINATE_SYSTEM.CARTESIAN, I'm able to scale the data points by setting the layer modelMatrix, but translations are ignored. The last column of the matrix does not affect the rendering at all. Setting coordinateOrigin on the layer is also ignored. Is there some magic bit that needs to be set? A mode, or something, that affects application of the modelMatrix? Something about offsetMode or autoOffset in the code?
edit: Nevermind, I had flipped the operands in the multiply, so the matrix was wrong.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Drawing data with abstract coordinates, using COORDINATE_SYSTEM.CARTESIAN, I'm able to scale the data points by setting the layer modelMatrix, but translations are ignored. The last column of the matrix does not affect the rendering at all. Setting coordinateOrigin on the layer is also ignored. Is there some magic bit that needs to be set? A mode, or something, that affects application of the modelMatrix? Something about offsetMode or autoOffset in the code?
edit: Nevermind, I had flipped the operands in the multiply, so the matrix was wrong.
Beta Was this translation helpful? Give feedback.
All reactions