Skip to content

badheap/tiny3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiny3D 2.0

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

NOTE: this repository is updated to the last PSL1GHT libraries and tools on February 1, 2011. Thanks to "marioga" to send to me the new PS3 compilers under MinGW environment

It uses PSL1GHT and install the libraries in PSL1GHT/target/lib, C Header files in PSL1GHT/target/include

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

Credits

Hermes         - Author
ElSemi         - Vertex Program Compiler and other useful sample code
HACKERCHANNEL  - PSL1GHT
Oopo           - ps3libraries

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 libraries 
or datas used. 

Environment

libtiny3d.a -> the library

tiny3d.h    -> 2D/3D functions

matrix.h    -> Math support for matrix

--------------------------------------

libfont.a   -> library to work with fixed fonts (now allow capture from True Type Fonts)
libfont.h   

Building

You need the environment variable $PSL1GHT defined

cd tiny3d
make

It makes and install libs and samples.

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

cd samples
make
make 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_ttf ps3loadx, yuv, tiny3d_lists

spheres3D uses the advanced features of Tiny3D 2.0

NOTE: fonts_from_ttf requires Oopo ps3libraries libz and freetype. ps3loadx requires libz and libzip.

You can download from here: http://mods.elotrolado.net/~hermes/ps3/ps3dev/ppu_oopo-ps3libraries.rar

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published