Changing jit.world size without affecting aspect ratio
Hello Everyone!
I have a problem, which i do not understand - this behaviour makes no sense to me.
My Problem:
i play a video into a jit.gl.videoplane with preserve_aspect = 1
this texture is send to my world object
without changing the dim values of my world object, but changing the size of it the aspect ratio of my incoming texture stays the same
when changing the dim values and then changing the size values the aspect ratio changes
reinitializing the jit.world object allowes changing the size again without changing the aspect ratio
What do i don't get here?
I want my texture to be displayed always in the incoming aspect ratio indepedent of the dim and size values of the world object.
here a minimal example
It does look like a bug to me.
Hopefully Rob Ramirez will see this.
Or maybe fill a ticket.
In the meantime you can scale the videoplane by yourself, although the result isn't exactly the same (it won't always fit in the output).