Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Another "External library" problem..

From: cyphre::seznam::cz at: 4-Jul-2003 11:17

Hi Romano, Your method is not suitable for this purpose: 1) allocation of block of struct! containing for example 512x512 * 4 bytes of chars! takes more than 30MB of memory!! 2)doing for example: img: make image! reduce [512x512 third z/data] 30 and more times per second gives you poor performance I meant any method which avoid ani image! data manipulation(like reduce in this case) from Rebol side. You only make image! referencing to the pointer you got from the external C function...then you need only do a SHOW to refresh face which contains this image with data which are frequently changed by extenral rendering library(in this case OpenGL) I think this is not possible but anyway, any idas are welcome. regards, Cyphre