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

NanoVG-vita: Difference between revisions

From GameBrew
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#seo:
{{#seo:
|title=Vita Homebrew PC Tools (Developments) - GameBrew!
|title=Vita Homebrew PC Tools (Developments) - GameBrew
|title_mode=append
|title_mode=append
|image=nanovgvita.jpg
|image=nanovgvita2.png
|image_alt=NanoVG-vita
|image_alt=nanovg-vita
}}
}}
{{Infobox Vita Homebrews
{{Infobox Vita Homebrews
|title=NanoVG-vita
|title=nanovg-vita
|image=nanovgvita.jpg
|image=nanovgvita2.png
|description=Antialiased 2D vector drawing library using PVR_PSP2's OpenGL ES v2.
|description=Antialiased 2D vector drawing library using PVR_PSP2 OpenGL ES v2.
|author=joel16
|author=joel16
|lastupdated=2021/10/13
|lastupdated=2021/10/13
|type=Developments
|type=Demos
|version=1.0
|version=1.0
|license=Mixed
|license=Mixed
|download=https://dlhb.gamebrew.org/vitahomebrews/nanovgvita.7z
|download=https://dlhb.gamebrew.org/vitahomebrews/nanovgvita.7z
|website=
|website=https://github.com/joel16/nanovg-vita
|source=https://github.com/joel16/nanovg-vita
|source=https://github.com/joel16/nanovg-vita
|donation=https://www.paypal.me/Joel16IA
}}
}}
'''NanoVG''' is small antialiased vector graphics rendering library for OpenGL. It has lean API modeled after HTML5 canvas API.
NanoVG is small antialiased vector graphics rendering library for OpenGL. It has lean API modeled after HTML5 canvas API.


It is aimed to be a practical and fun toolset for building scalable user interfaces and visualizations.
It is aimed to be a practical and fun toolset for building scalable user interfaces and visualizations.


== How To Build NanoVG ==
==Building==
This project is dependent on PVR_PSP2. The required modules (libgpu_es4_ext.suprx, libIMGEGL.suprx, libGLESv2.suprx and libpvrPSP2_WSEGL.suprx) will need to be inside of a folder named "data" that lies in same directory as the CMakeLists.txt.
This project is dependent on PVR_PSP2. The required modules (libgpu_es4_ext.suprx, libIMGEGL.suprx, libGLESv2.suprx and libpvrPSP2_WSEGL.suprx) will need to be inside of a folder named "data" that lies in same directory as the CMakeLists.txt.


You will also need the following stubs libgpu_es4_ext_stub_weak, libGLESv2_stub_weak and libIMGEGL_stub_weak in your build env or inside the libs directory. Then build using the following command:
You will also need the following stubs libgpu_es4_ext_stub_weak, libGLESv2_stub_weak and libIMGEGL_stub_weak in your build env or inside the libs directory. Then build using the following command:


<pre>mkdir build &amp;&amp; cd build
mkdir build &amp;&amp; cd build
cmake .. &amp;&amp; make</pre>
cmake .. &amp;&amp; make


==Screenshot==
==Screenshots==
[[image:nanovgvita.jpg|600px]]
https://dlhb.gamebrew.org/vitahomebrews/nanovgvita3.png
 
https://dlhb.gamebrew.org/vitahomebrews/nanovgvita4.png


==Changelog==
==Changelog==
'''(v.1.0)'''
'''v1.0'''
* First Release.
*This is just a demo that doesn't do much apart from displaying nanovg's rendering capabilities using the gles2 demo.
**This is just a demo that doesn't do much apart from displaying nanovg's rendering capabilities using the gles2 demo.
*Use the start or home button to exit.
**Use the start or home button to exit.
*Use the triangle button to enable blowup.
**Use the triangle button to enable blowup.
*Use the square button to enable premult.
**Use the square button to enable premult.
*Use the select button to take a screenshot.
**Use the select button to take a screenshot.


== License ==
== Credits ==
The library is licensed under [[joel16/nanovg-vita/blob/psp2/LICENSE.txt|zlib license]] Fonts used in examples:
* GrapheneCt and contributors of [https://github.com/GrapheneCt/PVR_PSP2 PVR_PSP2].
* vitasdk.


License:
* The library is licensed under [https://github.com/joel16/nanovg-vita/blob/psp2/LICENSE.txt|zlib license] Fonts used in examples:
* Roboto licensed under [http://www.apache.org/licenses/LICENSE-2.0 Apache license]
* Roboto licensed under [http://www.apache.org/licenses/LICENSE-2.0 Apache license]
* Entypo licensed under CC BY-SA 4.0.
* Entypo licensed under CC BY-SA 4.0.
* Noto Emoji licensed under [http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL SIL Open Font License, Version 1.1]
* Noto Emoji licensed under [http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL SIL Open Font License, Version 1.1]


== Links ==
Links:
Uses [http://nothings.org stb_truetype] (or, optionally, [http://freetype.org freetype]) for font rendering. Uses [http://nothings.org stb_image] for image loading.
Uses [http://nothings.org stb_truetype] (or, optionally, [http://freetype.org freetype]) for font rendering. Uses [http://nothings.org stb_image] for image loading.
== Credits ==
* GrapheneCt and contributors of PVR_PSP2 https://github.com/GrapheneCt/PVR_PSP2
* vitasdk


== External links ==
== External links ==
* Github - https://github.com/joel16/nanovg-vita
* GitHub - https://github.com/joel16/nanovg-vita
* Reddit - https://www.reddit.com/r/vitahacks/comments/q74i6c/nanovgvita_antialiased_2d_vector_drawing_library/

Latest revision as of 13:37, 6 July 2024

nanovg-vita
Nanovgvita2.png
General
Authorjoel16
TypeDemos
Version1.0
LicenseMixed
Last Updated2021/10/13
Links
Download
Website
Source
Support Author

NanoVG is small antialiased vector graphics rendering library for OpenGL. It has lean API modeled after HTML5 canvas API.

It is aimed to be a practical and fun toolset for building scalable user interfaces and visualizations.

Building

This project is dependent on PVR_PSP2. The required modules (libgpu_es4_ext.suprx, libIMGEGL.suprx, libGLESv2.suprx and libpvrPSP2_WSEGL.suprx) will need to be inside of a folder named "data" that lies in same directory as the CMakeLists.txt.

You will also need the following stubs libgpu_es4_ext_stub_weak, libGLESv2_stub_weak and libIMGEGL_stub_weak in your build env or inside the libs directory. Then build using the following command:

mkdir build && cd build
cmake .. && make

Screenshots

nanovgvita3.png

nanovgvita4.png

Changelog

v1.0

  • This is just a demo that doesn't do much apart from displaying nanovg's rendering capabilities using the gles2 demo.
  • Use the start or home button to exit.
  • Use the triangle button to enable blowup.
  • Use the square button to enable premult.
  • Use the select button to take a screenshot.

Credits

  • GrapheneCt and contributors of PVR_PSP2.
  • vitasdk.

License:

Links: Uses stb_truetype (or, optionally, freetype) for font rendering. Uses stb_image for image loading.

External links

Advertising: