nokia series 60 DirectGraphics fillTriangle

Started by
3 comments, last by _walrus 18 years, 11 months ago
This method seems to blow up the phone...at least my n-gage (which is series 60 version 1). Anybody know of a workaround.....There's no solution on forum nokia, but some other guys have had the same problem. Any help would be appricated. thanks
Advertisement
Make your own direct memory access implementation. It will be faster too. Or you can use Nokia 3d example from the forum, or other open-sourced 3d lib, or OpenGL ES
Do you mix Graphics and DirectGraphics? My phone (3650) refused to
run my j2me if I did create a DirectGraphics object after I did some drawing.
Mail me for some code.
Quote:Original post by kudos
Do you mix Graphics and DirectGraphics? My phone (3650) refused to
run my j2me if I did create a DirectGraphics object after I did some drawing.
Mail me for some code.


sorry for the late reply, i've been away for a bit. Operations on graphics context that are effected by setColor totally ignore DirectGraphics::setAlpha (thats why i'm using filltriangle/fillpolyogn). The version 1 serise 60 are soo buggy :P This i figured i draw a alpha blended quad using fillTriangle which would work in practice, but it crashed. but I solved the problem using DirectGraphcis::fillPolygon (which curiously didnt crash my device..i'd figure it would just trianglize the polygon and make calls to fillTriangle) :P
Quote:Original post by serg3d
Make your own direct memory access implementation. It will be faster too. Or you can use Nokia 3d example from the forum, or other open-sourced 3d lib, or OpenGL ES



hmm i think u are refering to the symbian 3d demo (with the car driving around the city)?? No OpenGL for j2me yet AFAIK. Sorry i was asking bout j2me on series 60, no symbian :D

This topic is closed to new replies.

Advertisement