[Fluxus] Screen resolution

gabor papp gabor.lists at mndl.hu
Sun May 20 22:50:33 PDT 2012


hi Carlos,

> I am working on a 2D animation and I am trying to use an image as a
> background. I am using a plane scaled to fit the entire screen and setting
> the image as a texture. I want know to change the resolution of the fluxus
> “screen” so, when I go full screen I can see the “background” image at
> 1280x800.
fluxus works a bit differently. you can scale up a plane to cover the 
screen independently from the screen resolution.
a simple way to do this is something like this:

; set and lock the default camera
(set-camera-transform (mtranslate (vector 0 0 -10)))
(with-primitive (build-plane)
     (texture background-texture)
     (scale (vector 20 15 1)))

when you change the size of the fluxus window, the plane will always 
cover the screen.

best,
gabor


More information about the Fluxus mailing list