Please tell me if this is possible before I go and waste a lot of time.
I would like to open a PureBasic window from Blitz3D, and display a full-screen render on it. I would do this by creating a large image, drawing it on the window, and constantly passing pixel data from Blitz to the DLL. Is there any way to write to an image fast enough that this will be feasible? It doesn't have to be super-fast, but shouldn't be less than 20 fps.
I am doing this for a "texture browser" window in a model editor that displays real-time effects on materials.
FAST image updating
-
Codemonger
- Enthusiast

- Posts: 384
- Joined: Sat May 24, 2003 8:02 pm
- Location: Canada
- Contact:
-
Codemonger
- Enthusiast

- Posts: 384
- Joined: Sat May 24, 2003 8:02 pm
- Location: Canada
- Contact:
Good question ? thats where it gets complex .. you might be better off doing some sort of screen capture from purebasic ... this may slow things down but at least will capture it in a format u can use easily.
But if you are adventureous I believe Fred has placed some PB internal structures in the PureBasic libraries descritor file (located in the Library SDK file) . You'll have to play around a bit, use peek and poke lots and memory commands.
Tons of Fun !
But if you are adventureous I believe Fred has placed some PB internal structures in the PureBasic libraries descritor file (located in the Library SDK file) . You'll have to play around a bit, use peek and poke lots and memory commands.
<br>"I deliver Justice, not Mercy"
    - Codemonger, 2004 A.D.
    - Codemonger, 2004 A.D.