Create basic OpenGL ES 2 rendering application for iOS
$30-250 USD
En curso
Publicado hace más de 9 años
$30-250 USD
Pagado a la entrega
Hi everyone,
I am in need of starting a project for OpenGL ES 2 rendering but my experience in this area is very limited.
As a first phase, the only thing I need is a very simple iPad application that is able to perform the following:
1. Add a sphere of a given radius (-1,1) to the scene.
2. Remove a previously added sphere.
3. Rotate the scene based on user slides in the touch screen
4. Specify the "origin of rotation". That is, the point (-1,1) around which the scene will rotate based on the slides.
5. Zoom in an out based on standard pinches.
6. The UI must be full screen all the time.
The rendering code must use OpenGL ES 2 and if possible, all the rendering should comply with the following C++ interface, hopefully self-explanatory from the above, so that I can easily add further logic to the program:
//RGBA (0-255)
class Color {
public:
uint8_t r;
uint8_t g;
uint8_t b;
uint8_t a;
};
class Origin {
public:
float x; //-1,1
float y; //-1,1
};
class Field {
public:
float radius; //-1,1
Color &color;
};
class Renderer {
public:
Renderer();
void addField(Field &field);
void updateField(Field &field);
void removeField(Field &field);
void setOrigin(Origin &origin);
};
If this goes well there is definitely much more work in OpenGL rendering coming your way.
Regards,
Alberto