Mayju how does one make the windows bigger? i will be cranking on the documentation tonight
On Wed Apr 27 13:00:58 EDT 2005, Mathieu Bouchard matju@artengine.ca wrote:
On Mon, 25 Apr 2005, james tittle wrote:
GridFlow.formats[:window] = GridFlow.formats[:quartz]
Forgot to mention, that when using GridFlow-cvs, the above line is not only not needed, but not valid anymore. GridFlow will set [#out window] to be either quartz, x11, or sdl, in that order.
,-o---------o---------o---------o-. ,---. |
| | The Diagram is the Program (TM) | | ,-o-------------o--------------o-.-o-----------------------------o-' | | Mathieu Bouchard (Montr?al QC) | |
---' `-o-- http://artengine.ca/matju -'
Patrick Pagano, B.S.,M.F.A Candidate Research And Development Assistant Digital Worlds Institute University Of Florida (352) 294-2070
On Wed, 27 Apr 2005, shreeswifty wrote:
how does one make the windows bigger?
The window always adjust to the size of the last picture you have sent it. So if you send it a grid of size (480,640,3), it will make the window 480 pixels high, 640 pixels wide, and will output the picture to the window, interpreted as RGB.
Try this:
[480 640 3 # 255 0 0 ( | [#out window]
Also you can use those filters:
[#scale_by 2] upscales by 2
[#scale_by (3 5)] upscales by 3 vertically, and by 5 horizontally
it uses order 0 interpolation, meaning that it just repeats pixels. I haven't coded anything for order 1 (linear) or order 3 (cubic) interpolation yet.
,-o---------o---------o---------o-. ,---. | |
| The Diagram is the Program (TM) | | ,-o-------------o--------------o-.
-o-----------------------------o-' | | Mathieu Bouchard (Montréal QC) | |
---' `-o-- http://artengine.ca/matju -'