I'm porting a software rendering app from windows and I can create a windowedscreen but I can only render to an image via screenoutput(imageoutput)
This is all great however it's impossible to get the image to the screen since I can't draw to the sprite, screen or window.
So windowed screen is basically useless or what? And how do I render directly to something I can show on OS X?
Thanks in advance
/ozak
Direct drawing in OS X?
-
jamirokwai
- Enthusiast

- Posts: 799
- Joined: Tue May 20, 2008 2:12 am
- Location: Cologne, Germany
- Contact:
Re: Direct drawing in OS X?
Hi Godai,Godai wrote:I'm porting a software rendering app from windows and I can create a windowedscreen but I can only render to an image via screenoutput(imageoutput)
This is all great however it's impossible to get the image to the screen since I can't draw to the sprite, screen or window.
So windowed screen is basically useless or what? And how do I render directly to something I can show on OS X?
just put your Image to the Windowedscreen using the DrawImage-Command. I used this command for some tests, and it did work. Don't forget to flip the screens with FlipBuffers() after you painted the Image.
With PB4.4 you should be able to use StartDrawing(ScreenOutput()). I didn't test it yet, but I suppose it works - as it is stated in the manual.
Regards,
JamiroKwai
JamiroKwai