[Fluxus] Screen resolution
Carlos Alegría
ccristoo at gmail.com
Mon May 21 05:48:38 PDT 2012
Ok gabor,
Thanks a lot for your help!
-----Original Message-----
From: gabor papp [mailto:gabor.lists at mndl.hu]
Sent: lunes, 21 de mayo de 2012 00:51
To: Carlos Alegria
Cc: fluxus at lists.pawfal.org
Subject: Re: [Fluxus] Screen resolution
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