|
|
| |
1. I can not execute this package. |
|
Reply |
|
|
 Nikolay Lyakov | 2008-06-10 13:04:32 |
I can not execute this package. There is no examples how to build my own cube or different 3d object. This package is not working or I can't make it runable.
The idea is excelent, but not documented. |
| |
2. Re: I can not execute this package. |
|
Reply |
|
|
 László Zsidi | 2008-06-12 05:08:47 - In reply to message 1 from Nikolay Lyakov |
Hi,
Revise the "view.php" example file to the class constructor's usage.
GET the meanings of variables:
$convex3d = new Convex3D(char Objtype, char int/ext, array background color components ( r, g, b ), array foreground color components (r, g, b ), int width, int height);
int/ext variable maybe 'INT' use of internal objects or 'EXT' use of external object from a file.
If the int/ext variable is 'INT' then objtype are:
'cube','cuboctahedron','dodecahedron','icosahedron',
'icosidodecahedron','icosidodecahedron_2','octahedron',
'rhombicosidodecahedron','rhombicuboctahedron',
'snub_cuboctahedron','tetrahedron','truncated_cube',
'truncated_cuboctahedron','truncated_dodecahedron',
'truncated_icosahedron','truncated_icosidodecahedron',
'truncated_octahedron','truncated_tetrahedron':
|
|