It is currently December 10th, 2018, 6:39 pm

Stripes on Histogram with transformation matrix

Testing and discussion of the conversion of Rainmeter to D2D.
rxtd
Posts: 65
Joined: April 30th, 2017, 11:51 am

Stripes on Histogram with transformation matrix

rxtd » October 28th, 2018, 10:32 am

When Histogram is stretched for not integer values behavior between 4.2 and 4.3 differs:
4.2 draws solid histogram and only blurs edges.
4.3 draws stripes between histogram bars.
2018-10-28_17-11-55.png
Image is scaled 8x using nearest neighbour algorithm.
Tested on 4.3 Beta r3260.
Test skin code:

Code: Select all

[rainmeter]
update=1000

[variables]
_scale=1.5

[back]
meter=image
h=(30*#_scale#)
w=(100*#_scale#)
solidcolor=888888

[mnet]
measure=netout
formula=-1

[histogram]
meter=histogram
measurename=mnet
x=(1*1)
y=1
h=28
w=(98*1)
flip=0
GraphStart=left
solidcolor=112233aa
antialias=1
TransformationMatrix=#_scale#;0;0;#_scale#;0;0
You do not have the required permissions to view the files attached to this post.