PHP Classes

Convex 3D: Compose and render 3D object models

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (41)   DownloadInstall with Composer Download .zip   Reputation   Support forum (5)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 62%Total: 2,361 This week: 1All time: 1,653 This week: 68Up
Version License PHP version Categories
convex3d 1.0.0Freeware5Graphics


This package can be used to compose and render 3D models.

The main class can compose and render the definition of 3D object models given the coordinates of the vertexes. It can read vertex definitions from separate files or shapes predefined built-in the class.

There is an 3D objects class that contains built-in definitions of many predefined types of solid objects.

The objects can be rotated around a spin point by a given angle.

The main class can render the 3D objects in a 2D image using the GD library.

Innovation Award
PHP Programming Innovation award nominee
September 2006
Number 2
Designing and rendering object models in the three dimensions is a matter that requires specific knowledge on the subject.

This class provides a simple but very effective 3D rendering engine totally written in PHP.

With a very few programming steps it can be used to generate impressive images of animated 3D object models.

Manuel Lemos
Picture of László Zsidi
Name: László Zsidi <contact>
Classes: 13 packages by
Country: Hungary Hungary
Age: 50
All time rank: 331 in Hungary Hungary
Week rank: 23 Up1 in Hungary Hungary Equal
Innovation award
Innovation award
Nominee: 10x

Winner: 1x

  • example1.gif
  • example2.gif
  • example3.gif
  • example4.gif
  • example5.gif
  Files folder image Files  
File Role Description
Files folder imageimages (19 files)
Files folder imagemodels (18 files)
Plain text file Convex3D.class.php Class Main class
HTML file example.html Doc. Short description
Plain text file Objects.class.php Class Internal objects library
Plain text file view.php Example Constructor example

  Files folder image Files  /  images  
File Role Description
  Image file cube.gif Photo image
  Image file cuboctahedron.gif Photo image
  Image file dodecahedron.gif Photo image
  Image file head.gif Photo image
  Image file icosahedron.gif Photo image
  Image file icosidodecahedron.gif Photo image
  Image file icosidodecahedron_2.gif Photo image
  Image file octahedron.gif Photo image
  Image file rhombicosidodecahedron.gif Photo image
  Image file rhombicuboctahedron.gif Photo image
  Image file snub_cuboctahedron.gif Photo image
  Image file tetrahedron.gif Photo image
  Image file truncated_cube.gif Photo image
  Image file truncated_cuboctahedron.gif Photo image
  Image file truncated_dodecahedron.gif Photo image
  Image file truncated_icosahedron.gif Photo image
  Image file truncated_icosidodecahedron.gif Photo image
  Image file truncated_octahedron.gif Photo image
  Image file truncated_tetrahedron.gif Photo image

  Files folder image Files  /  models  
File Role Description
  Plain text file cube.p3d Data External model
  Plain text file cuboctahedron.p3d Data External model
  Plain text file dodecahedron.p3d Data External model
  Plain text file icosahedron.p3d Data External model
  Plain text file icosidodecahedron.p3d Data External model
  Plain text file icosidodecahedron_2.p3d Data External model
  Plain text file octahedron.p3d Data External model
  Plain text file rhombicosidodecahedron.p3d Data External model
  Plain text file rhombicuboctahedron.p3d Data External model
  Plain text file snub_cuboctahedron.p3d Data External model
  Plain text file tetrahedron.p3d Data External model
  Plain text file truncated_cube.p3d Data External model
  Plain text file truncated_cuboctahedron.p3d Data External model
  Plain text file truncated_dodecahedron.p3d Data External model
  Plain text file truncated_icosahedron.p3d Data External model
  Plain text file truncated_icosidodecahedron.p3d Data External model
  Plain text file truncated_octahedron.p3d Data External model
  Plain text file truncated_tetrahedron.p3d Data External model 930KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
GIF images into animated GIF with native PHP class Download .zip .tar.gz Generating single animation Optional
 Version Control Unique User Downloads Download Rankings  
This week:1
All time:1,653
This week:68Up
User Ratings User Comments (2)
 All time
Nice work, i saw better classes about this, but this is nice ...
12 years ago (Jorge Bellido Galea)
I can not execute this package.
15 years ago (Nikolay Lyakov)