Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Ellipse vs mesh

edited August 2013 in Questions Posts: 35

I'm working on a Project based on physics and shapes, most of them are ellipses. Just to be sure, would like to know what's the faster : many ellipses (not images, ellipses coded from codea) or many meshes with ellipse forme. Hope my question does not seem to strange :) Thank you all.



  • Posts: 791

    Meshes will be a lot faster

  • Jmv38Jmv38 Mod
    Posts: 3,297

    From the slowest to fastest:
    - ellipse form codea.
    - ellipse from codea (no smooth, nostroke).
    - images (with your ellispes).
    - many meshes with ellipse.
    - one mesh with 1 big circle, all ellipses drawn from this single mesh.
    - same as before, nosmooth.

  • IgnatzIgnatz Mod
    Posts: 5,396

    Just to clarify, Jmv38 in his final two cases above, is talking about a mesh with lots of ellipses based on a single texture image.

  • Posts: 1,595

    I thought smooth didn't affect the drawing of meshes?

  • Jmv38Jmv38 Mod
    Posts: 3,297

    I am not sure about this. Maybe not. Just in case.

  • edited August 2013 Posts: 35

    Ok, thank you to all. I did not imagined that the hard coded ellipses from Codea coud be so slow in comparison with meshes or even with imported images (and this sound really astonishing to me...). So then, where could I find a library (or code samples) to draw meshes-ellipses and meshes-lines in place of the hard coded lines and ellipses of Codea ? Thanks to all.
    Ps: by the way, I speak of hollow ellipses, I mean with stroke only and no fill.

  • Jmv38Jmv38 Mod
    Posts: 3,297

    Btw, how many ellipses do you have? And what fps do you want? If 10 to 20 you pby dont need to worry too much about fps.

  • Posts: 35

    I may have up to 100 ellipses maybe but that's not the problem. I'm full of physics and even if it's still smooth, I may have to complicate my project with time and ideas coming. So I just assume that if I can do things faster from now on, I have to. Thanks. >:D<

Sign In or Register to comment.