Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Cube-GLES2-PVR PSP2 Vita: Difference between revisions

From GameBrew
m (Text replacement - "GameBrew!" to "GameBrew")
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
|title=Vita Homebrew PC Tools (Developments) - GameBrew
|title=Vita Homebrew PC Tools (Developments) - GameBrew
|title_mode=append
|title_mode=append
|image=ps-vita-logo.jpg
|image=cubegles2pvrpsp2vita2.png
|image_alt=Cube GLES2 - PVR PSP2
|image_alt=Cube GLES2 - PVR PSP2
}}
}}
{{Infobox Vita Homebrews
{{Infobox Vita Homebrews
|title=Cube GLES2 - PVR PSP2
|title=Cube GLES2 - PVR PSP2
|image=ps-vita-logo.jpg
|image=cubegles2pvrpsp2vita2.png
|description=OpenGL Cube Demo using PVR_PSP2 Driver layer GPU libraries.
|description=OpenGL Cube Demo using PVR_PSP2 Driver layer GPU libraries.
|author=MR-Research
|author=MR-Research
|lastupdated=2021/09/20
|lastupdated=2021/09/21
|type=Developments
|type=Demos
|version=release
|version=1.0
|license=MIT
|license=MIT
|download=https://dlhb.gamebrew.org/vitahomebrews/cubegles2pvrpsp2vita.7z
|download=https://dlhb.gamebrew.org/vitahomebrews/cubegles2pvrpsp2vita.7z
|website=
|website=https://github.com/MR-Research/Cube-GLES2-PVR_PSP2
|source=https://github.com/MR-Research/Cube-GLES2-PVR_PSP2
|source=https://github.com/MR-Research/Cube-GLES2-PVR_PSP2
}}
}}
'''Cube GLES2 - PVR PSP2''''is an openGL cube demo program. It was made as a tech demo using PVR_PSP2 Driver layer GPU libraries.
This is a openGL cube demo program. It was made as a tech demo using [https://github.com/GrapheneCt/PVR_PSP2 PVR_PSP2 Driver layer GPU libraries].


==Description==
The PVR_PSP2 initialization and library handling was adapted from the work of [https://github.com/ZeroNinx/VitaTest ZeroNinx]. The PS Vita demo implements the openGL cube demo from a [https://developer.blackberry.com/native/documentation/getting_started/first_app/3_d_app_draw_the_cube_with_gles20.html BlackBerry GLES 2.0 Tutorial], PS Vita code was based on [https://github.com/SonicMastr/Pigs-In-A-Blanket/tree/master/samples/cube-egl-vitasdk SonicMastr's] implementation.
The PVR_PSP2 initialization and library handling was adapted from the work of [https://github.com/ZeroNinx/VitaTest ZeroNinx]. The PS Vita demo implements the openGL cube demo from a [https://developer.blackberry.com/native/documentation/getting_started/first_app/3_d_app_draw_the_cube_with_gles20.html BlackBerry GLES 2.0 Tutorial], PS Vita code was based on [https://github.com/SonicMastr/Pigs-In-A-Blanket/tree/master/samples/cube-egl-vitasdk SonicMastr's] implementation.


Line 27: Line 26:
* No more CG to GLSL shader conversion.
* No more CG to GLSL shader conversion.
* Barebones example for those interested in using the GPU libraries.
* Barebones example for those interested in using the GPU libraries.
== Running ==
Copy the generated VPK to your PS Vita using your preferred method. Install using [[Vitashell Vita|VitaShell]]. Enjoy the simple demo.


== Compiling ==
== Compiling ==
Requires [https://vitasdk.org/ VitaSDK] and PVR_PSP2 >=v3.5. Once you have installed VitaSDK, clone [https://github.com/GrapheneCt/PVR_PSP2/releases/tag/v3.5 PVR_PSP2] repository, and download [https://github.com/GrapheneCt/PVR_PSP2/releases/download/v3.5/vitasdk_stubs.zip VitaSDK Stubs] from the releases section of PVR_PSP2. Copy all .a files from vitasdk_stubs.zip to your $VITASDK lib path,
Requires [https://vitasdk.org/ VitaSDK] and PVR_PSP2 >=v3.5. Once you have installed VitaSDK, clone [https://github.com/GrapheneCt/PVR_PSP2/releases/tag/v3.5 PVR_PSP2] repository, and download [https://github.com/GrapheneCt/PVR_PSP2/releases/download/v3.5/vitasdk_stubs.zip VitaSDK Stubs] from the releases section of PVR_PSP2. Copy all .a files from vitasdk_stubs.zip to your $VITASDK lib path,


<pre>$VITASDK/arm-vita-eabi/lib</pre>
$VITASDK/arm-vita-eabi/lib


Copy include folder from PVR_PSP2 repository to your VitaSDK include folder, and rename it to PVR_PSP2
Copy include folder from PVR_PSP2 repository to your VitaSDK include folder, and rename it to PVR_PSP2,


<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto">
$VITASDK/arm-vita-eabi/include/


<pre>$VITASDK/arm-vita-eabi/include/</pre>
Compile using cmake and make,


Compile using cmake and make,
mkdir cmake_build
cmake ..
make


<pre>mkdir cmake_build
==Installing==
cmake ..
Copy the generated VPK to your PS Vita using your preferred method. Install using [[VitaShell]].
make</pre>


==Changelog==
==Changelog==
'''(v.1.0)'''
'''v1.0'''
* First Release.
*Update main.cpp
**Update main.cpp
*Corrected coment, GLSL shader code is used.
**Corrected coment, GLSL shader code is used.


== Credits ==
==Credits==
Thanks to all the great people that made this possible,
Thanks to all the great people that made this possible:


* GrapheneCt, Bythos, and Jaylon Gowie for developing PVR_PSP2.
* GrapheneCt, Bythos, and Jaylon Gowie for developing PVR_PSP2.
Line 61: Line 57:
* SonicMastr for cube demo on PS Vita.
* SonicMastr for cube demo on PS Vita.


== External links ==
==External links==
* Github - https://github.com/MR-Research/Cube-GLES2-PVR_PSP2
* GitHub - https://github.com/MR-Research/Cube-GLES2-PVR_PSP2
* Reddit - https://www.reddit.com/r/vitahacks/comments/ps358m/cubegles2pvr_psp2_opengl_cube_demo_program_using/

Latest revision as of 11:31, 18 Ocak 2023

Cube GLES2 - PVR PSP2
Cubegles2pvrpsp2vita2.png
General
AuthorMR-Research
TypeDemos
Version1.0
LicenseMIT License
Last Updated2021/09/21
Links
Download
Website
Source

This is a openGL cube demo program. It was made as a tech demo using PVR_PSP2 Driver layer GPU libraries.

The PVR_PSP2 initialization and library handling was adapted from the work of ZeroNinx. The PS Vita demo implements the openGL cube demo from a BlackBerry GLES 2.0 Tutorial, PS Vita code was based on SonicMastr's implementation.

Features

  • Implements PVR_PSP2 libraries, instead of VitaGL, or Pigs in a Blanket.
  • No more CG to GLSL shader conversion.
  • Barebones example for those interested in using the GPU libraries.

Compiling

Requires VitaSDK and PVR_PSP2 >=v3.5. Once you have installed VitaSDK, clone PVR_PSP2 repository, and download VitaSDK Stubs from the releases section of PVR_PSP2. Copy all .a files from vitasdk_stubs.zip to your $VITASDK lib path,

$VITASDK/arm-vita-eabi/lib

Copy include folder from PVR_PSP2 repository to your VitaSDK include folder, and rename it to PVR_PSP2,

$VITASDK/arm-vita-eabi/include/

Compile using cmake and make,

mkdir cmake_build
cmake ..
make

Installing

Copy the generated VPK to your PS Vita using your preferred method. Install using VitaShell.

Changelog

v1.0

  • Update main.cpp
  • Corrected coment, GLSL shader code is used.

Credits

Thanks to all the great people that made this possible:

  • GrapheneCt, Bythos, and Jaylon Gowie for developing PVR_PSP2.
  • ZeroNix's code to properly setup the graphics library.
  • SonicMastr for cube demo on PS Vita.

External links

Advertising: