support for polygon display objects

instead of just rectangles, rounded rectangles, and circles, any possibility of support for polygon display objects?

thanks

we have plans for lines, polylines and bezier curves*... stay tuned..

C

*tbd

Any possibility of supporting SVG-T artwork as vectors if you're adding polylines and bezier curves?
SVG-T animation support not required, just the actual artwork. Clean (anti-aliased) scaling and rotation of vectors would be most welcome.

What's the workflow like here? (E.g., what program are you using to create SVG-T?)

I should add, from long experience in Flash Lite on mobile devices, that vector assets are generally going to be slow to animate versus bitmap assets. The bottleneck on mobile programs is almost always the display updates, and on the iPhone (and other current smartphone platforms) the animation speed depends entirely on how you push data to the OpenGL hardware -- which is built to accelerate bitmap and polygon operations, not vector.

With vector transformations, you're basically running a lot of real-time floating-point math on a 600MHz ARM processor, which isn't optimal, and it also means that more complex art gets more and more "expensive" in processing time. On the other hand, with bitmaps, artwork complexity is essentially "free", and the initial hit to push large bitmaps onto the GPU can be done by preloading under the splash screen.

Having said all that, some vector operations (such as plotting graphs) would benefit from a "hybrid" approach, where vectors are rendered to the screen and then "flattened to bitmap"; this is something we're talking about.

Has a decision been made as to how this will be handled? Basically, I just want to be able to draw shapes that do not need all the baggage that comes with display objects.

http://developer.anscamobile.com/forum/2010/11/06/drawing-many-many-circles#comment-10388
http://developer.anscamobile.com/forum/2010/11/07/draw-displaygroup-cache

views:2144 update:2011/9/19 9:18:26
corona forums © 2003-2011