Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

tiny3D for PSL1GHT

NotificationsYou must be signed in to change notification settings

wargio/tiny3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiny3D is one library to work with 2D/3D graphics.

NOTE: this repository is updated to the last PSL1GHT libraries and tools

It uses PSL1GHT and install the libraries in $PORTLIBS/lib, C Header filesin $PORTLIBS/include. it will also install nv40v1.h that comes from PSL1GHT V1

see the 'docs' folder to know more (i need to update the info to the 2.0 version)

Credits

Hermes         - AuthorElSemi         - Vertex Program Compiler and other useful sample codeHACKERCHANNEL  - PSL1GHTOopo           - ps3librariesxerpi          - porting the lib to v2deroad/Wargio  - check codeBucanero, CrystalCT, Miigotu, Shagkur, Wargio and Zeldin to update Tiny3D for GCC 7.2.0

License

It use the same PSL1GHT license (it have one? XD)Some samples can use LPGL, GPL, OFL or maybe others licenses depending of the librariesor datas used.

Environment

libtiny3d.a -> the librarytiny3d.h    -> 2D/3D functionsmatrix.h    -> Math support for matrix--------------------------------------libfont.a   -> library to work with fixed fonts (now allow capture from True Type Fonts)libfont.h

Building

In order to build tiny3d you need to have PSL1GHT installed -https://github.com/ps3dev/PSL1GHTYou need the environment variable $PSL1GHT defined

For the samples to build you need to have ps3soundlib installed -https://github.com/wargio/ps3soundlib

cd tiny3Dmake

It makes and install libs and samples.

Remember you can descend later to the samples folder to compile ONLY the samples:

cd samplesmakemake pkg

Current Status

Support lights (4 positional specular / diffuse lights + ambient) and materials.

Support double textures and dedicated surface rendering (You can render in the scene in one texture).

Support for YUV surfaces using two methods. (See 'docs' and yuv sample)

Support for list of objects (See 'docs' and tiny3d_list sample)

It uses a configurable vertex shader and 'n' pixel shaders to work

Added libfont.a with support for fonts based in bitmaps arrays of characters

It works with this samples: spheres3D, sprites2D, surfaces, fonts, fonts_from_ttfps3loadx, yuv, tiny3d_lists

spheres3D uses the advanced features of Tiny3D 2.0

About

tiny3D for PSL1GHT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp