[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Written by Jorrit Tyberghein, jorrit.tyberghein@gmail.com.
A Genmesh is a complex set of 3D triangles (just like a 3D sprite) that doesn't support any automatic animation (unlike a 3D sprite). In general genmeshes are ideal for high detailed objects.
There is also a HOWTO discussing the creation of genmeshes. See section Creating a Genmesh Mesh.
The following SCF class names are used (for CS_LOAD_PLUGIN()
):
crystalspace.mesh.object.genmesh
crystalspace.mesh.loader.genmesh
crystalspace.mesh.loader.factory.genmesh
Objects in this plugin implement the following SCF interfaces, which you
can retrieve with SCF_QUERY_INTERFACE()
:
Use the `iGeneralFactoryState' SCF interface to access settings for a genmesh factory. The definition of this interface can be found in `CS/include/imesh/genmesh.h' and that is also the include file you need to include in your applications to use this plugin. Using this interface you can access the material, triangles, vertices, texture coordinates, normals, and various other configuration parameters for a genmesh factory.
@@@TODO
`iGeneralMeshState' (residing in `CS/include/imesh/genmesh.h') is the SCF interface that you can use to manipulate settings for a genmesh object. By using this interface you can access the material, blending mode (mixmode), and various other configuration parameters for a genmesh object.
@@@TODO
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] |
This document was generated using texi2html 1.76.