 |
|
|
Scene.org is hosted and supported by:
|
|
|
Scene.org is sponsored by:
|
|
|
|
|
 |
forum - #coders |
|
| I've been learning C++ on and off for the last few months and I guess it's going pretty well, but when it comes to graphics, I'm stuck on a not-so-minor detail:
I've got a small piece of code that fills a three dimensional bool array, and a rough idea of the math needed to create a 2D projection of said array (yeah, metaballs). My problem though is getting the whole thing drawn out on screen. What would you people say would be the best/simplest way to render the whole thing to the screen (page flipping like)?.
All I'm looking for really is a function that sets the screen mode, takes a 2D array with the dimensions of the screenmode containing RGB data and displays that on screen. | | |
| | It sounds like what you want is a library like either TinyPTC or PTC. They will provide you with a framebuffer (RGB array) and support for quite a few OS. | | |
| | Hooray thanks. Exactly what I was looking for. | | |
|
|
|