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
This is a great project, saved me so much time and effort.
It would be nice to have a way to control the viewport, a good use case would be a canvas that fills the whole page. You can set the canvas to window width and height and then change the viewport to make sure the image will fill the frame and keep the ratio.
Thanks!
The text was updated successfully, but these errors were encountered:
I think it's up to user to solve the ratio problem, it can be solved by using a Surface inside View / div container.
A new feature recently land that allows to do things like this:
in this code, the HelloGL node will be render on a 20x20 framebuffer and auto-scaled to the Surface's 200x200. It's up to the user to deal with the Surface width and height and making it fit to the size used in HelloGL for instance.
This is a great project, saved me so much time and effort.
It would be nice to have a way to control the viewport, a good use case would be a canvas that fills the whole page. You can set the canvas to window width and height and then change the viewport to make sure the image will fill the frame and keep the ratio.
Thanks!
The text was updated successfully, but these errors were encountered: