Page 1 of 1

What are some OpenGL benefits and how to utilize them?

Posted: Tue Jul 08, 2014 2:40 pm
by Aurelius
In a recent post of mine PyTom has said that Ren'Py might move to using OpenGL directly. http://lemmasoft.renai.us/forums/viewto ... =8&t=27239


This interested me very much since Ren'Py is a great tool for making a visual novel however producing adequate pygame minigames that are on par with the engine is (from personal experience of the last 2 months) extremely difficult.

So the topic to be addressed here is:
1. How feasible and easy is it to produce an OpenGL game?
2. Is it possible to integrate an OpenGL mingame into Ren'py and How can I integrate an OpenGL minigame into the current Ren'Py addition?
3. Is OpenGL compatible with PCs, Linuxs, Macs, Android devices, and Apple devices?

If any one can help it would be much appreciated.

Re: What are some OpenGL benefits and how to utilize them?

Posted: Tue Jul 08, 2014 3:45 pm
by AxemRed
Ren'Py is already using OpenGL under the hood.

Re: What are some OpenGL benefits and how to utilize them?

Posted: Tue Jul 08, 2014 4:23 pm
by Aurelius
So I can just make an OpenGL game in renpy and it will work?

Re: What are some OpenGL benefits and how to utilize them?

Posted: Tue Jul 08, 2014 4:27 pm
by PyTom
No. The OpenGL support is meant to accelerate visual novels, rather than to allow for 3d games.

If you make a minigame using the Creator-defined Displayable system, that will benefit from 3d acceleration when available. (Which is hopefully everywhere nowadays.)

Re: What are some OpenGL benefits and how to utilize them?

Posted: Tue Jul 08, 2014 4:49 pm
by Aurelius
Okay thanks PyTom I will attempt to master this Creator-defined Displayable, I was aiming more for a 2d game feel, 3d is a little over my head right now