Author Topic: [Release] FreeGLUT-Vita - FreeGLUT Ported to Vita Using Pigs-In-A-Blanket  (Read 10777 times)

Offline FMudanyali

  • Hot Pockets
  • End User
  • *****
  • Posts: 31
    • View Profile
    • My personal website

FreeGLUT-Vita

This is the FreeGLUT library ported to PS Vita utilizing Pigs-In-A-Blanket that we released recently. It also happens to be my second porting attempt just after CreepTea-Vita. Special thanks to dots-tb and SonicMastr for guiding me through the process. Do note that this is my first time porting a library and I advise you to not take this too seriously.

What the hell is a FreeGLUT?

FreeGLUT is a cross-platform free implementation of the OpenGL library GLUT; a window system independent toolkit for writing OpenGL programs. It implements a simple windowing application programming interface (API) for OpenGL. GLUT makes it considerably easier to learn about and explore OpenGL Programming.
More info can be found here: https://www.opengl.org/resources/libraries/

To Do:

Input needs some work as I haven't tried porting a FreeGLUT game to see how controls are handled. At the moment, I registered button presses as special events and didn't handle multiple presses. At a quick glance, joystick support and touchscreen support looks quite possible as we can return x and y coordinates along with button presses too.


How To:

First, obtain DolceSDK: https://forum.devchroma.nl/index.php/topic,129.msg809.html
Then, obtain Pigs-In-A-Blanket: https://forum.devchroma.nl/index.php/topic,294.0.html

Code: [Select]
git clone https://github.com/fmudanyali/freeglut-vita
cd freeglut-vita
mkdir build && cd build
cmake .. -DVITA=1
make -j8                    // 8 can be replaced by amount of threads(cpu cores) you have
make install


Credits:

- FreeGLUT contributors
- FMudanyali
- dots-tb
- SonicMastr
- Graphene
- Team CBPS
« Last Edit: October 30, 2020, 11:56:49 AM by fmudanyali »
!! I love the forums !!