I obtained acceptable speed of drawing fullscreen bitmap
but
i'm porting my 3d engine to 7650 and because of it I have no need to draw already prepared bitmap, but have to build it pixel by pixel...
people, have anybody realized such kind of renderer by buiding offscreen bitmap?
or any other way of pixel output (may be direct access to video frame memory UserSvr::ScreenInfo() or smth ?)
i tried to use TBitmapUtil, but it's too slow
thanks
Any help in the article "How to implement Direct Screen Access with a Series 60 App" on this page?
[quote="N/A"]Any help in the article "How to implement Direct Screen Access with a Series 60 App" on this page?[/quote]
Nothing useful fo me... this article describes blitting of PREPARED BITMAPS onto screen, not pixel output
You could create a CFbsBitmap with the same size as the screen and then call 'DataAddress()' to get a pointer to bitmap pixel data (you can use it for reading and writing pixels). Each pixel is 2 bytes (at least on 7650), something like 0x0RGB (not sure about the order). When you are finished drawing pixels, just blit the bitmap to the screen.
[quote="faca"]You could create a CFbsBitmap with the same size as the screen and then call 'DataAddress()' to get a pointer to bitmap pixel data (you can use it for reading and writing pixels). Each pixel is 2 bytes (at least on 7650), something like 0x0RGB (not sure about the order). When you are finished drawing pixels, just blit the bitmap to the screen.[/quote]
thanks, it really helps :0) 50-64 fps on 7650. yo!
a little offtopic...
someone knows about a softwarer renderer (integer mathematics), which can be used for calculating 3D stuff? I haven't done old-school 3D stuff and wonder where I should start with software rendering (I know only OpenGL).
[quote="rs_chikin"]i'm porting my 3d engine to 7650 [/quote]
Any hint for me how to write a software renderer for S60 phones? Do you have a project homepage?
Thx, Mark
[quote="MarkMark"]a little offtopic...
someone knows about a softwarer renderer (integer mathematics), which can be used for calculating 3D stuff? I haven't done old-school 3D stuff and wonder where I should start with software rendering (I know only OpenGL).[/quote]
There is a cool stuff to start.. For example, "old-school" Wolfenstain 3D, which can be simply transformed into racing game, or into doom-style game with overpatching.. We also wrote perfect voxel renderer, better than in "Apache" game. raytracing rulez %)
[quote="MarkMark"][quote="rs_chikin"]i'm porting my 3d engine to 7650 [/quote]
Any hint for me how to write a software renderer for S60 phones? Do you have a project homepage?
Thx, Mark[/quote]
gameDev.net - it contains rather good articles about all aspects of development, "gamasutra.com" has a stuff
We have no any homepage.. We are writing games for T-Mobile, all advertisement is their... 😞(
okie thanks, will have a look on it!