Android OpenGL-ES 2.0 ball animation

  • Tila: Closed
  • Palkinto: $50
  • Vastaanotetut työt: 3
  • Voittaja: andrecachola

Kilpailun tehtävänanto

The objective of this contest is to draw a ball trail animation in an Android OpenGL-ES 2.0 application.

An example of a trail effect that needs to be generated is shown in the video ball.mp4. The objective is to do the same with OpenGL-ES 2.0. The ball goes through a magic wall in the middle so there is an intentional discontinuity.

An Android application example is provided on which the green rectangles are drawn in OpenGL-ES 2.0 as well as the balls in yellow. See app.png and run the app.apk on a recent Android device.

The contest consists to draw the balls with the trail in pure OpenGL-ES 2.0 using the provided Android application as a base.

The Android application example is composed of:

- aiOpenGLESBall.zip, the whole eclipse project

- app.apk, the compiled version

- AndroidManifest.xml, a simple manifest

- data.txt, a text file with the locations at each frame of the green rectangles and the balls using the following format: rectangle_left_x, rectangle_left_y, ball_left_x, ball_left_y, rectangle_right_x, rectangle_right_y, ball_right_x, ball_right_y

- Main.java, the whole java / OpenGL ES 2.0 source code drawing the green rectangles as well as the balls. Read the code to better understand the application example.

Use of "complex" frameworks such as Unity is not acceptable. Ideally, the trail should be drawn from scratch in OpenGL ES 2.0. If you have in mind a framework that is open-source and can be integrated into an Android application, it will be considered. Please, provide details in your submission. Also, very important, only version 2.0 of OpenGL ES needs to be used. No other version will be accepted.

The ball trail should be "simple" and clean with a blending alpha effect. This is not a game, so no explosion or spark... It should be as smooth as possible.

To compete in this contest, you need to provide a screenshot of your modified Android application and a copy of your modified apk binaries.

Suositellut taidot

Julkinen selvennystaulu

  • gregoiregentil
    Kilpailun järjestäjä
    • 8 vuotta sitten

    I encourage people who want to submit to read the source code of Main.java. It's not that long. And you will understand what you are getting, aka. the balls positions. If the application doesn't run on your Android device, please let me know. It's a very simple application just leveraging OpenGL-ES 2.0.

    • 8 vuotta sitten
  • gregoiregentil
    Kilpailun järjestäjä
    • 8 vuotta sitten

    This animation is integrated in a large (very complex) framework so it needs to be in pure OpenGL-ES 2.0 or in something that can be compiled with java and C++ but at the bottom of the stack, leveraging only OpenGL-ES 2.0.

    • 8 vuotta sitten
  • gregoiregentil
    Kilpailun järjestäjä
    • 8 vuotta sitten

    @MichaelLee55 Note that we do provide the positions of the balls over time so there is no need to simulate gravity. You might want to interpolate through the ball positions using a Bezier curve or similar but you don't need simulate physical phenomenons. That part of the work is done elsewhere in our architecture.

    • 8 vuotta sitten
  • shubham2dawra
    shubham2dawra
    • 8 vuotta sitten

    Hi i can make it in Cocos2dx or LIbGDX

    • 8 vuotta sitten
  • MichaelLee55
    MichaelLee55
    • 8 vuotta sitten

    Please use the framework cocos2dx and box2d. It is very usefule to simulate physical phenomenons with OpenGL.

    • 8 vuotta sitten

Näytä lisää kommentteja

Kuinka päästä alkuun kilpailuiden kanssa

  • Ilmoita kilpailusi

    Ilmoita kilpailusi Nopeaa ja helppoa

  • Saat valtavasti töitä

    Vastaanota tonnikaupalla osallistumisia Ympäri maailmaa

  • Myönnä palkinto parhaalle työlle

    Myönnä palkinto parhaalle työlle Lataa tiedostot - Helppoa!

Ilmoita kilpailu nyt tai liity tänään!