[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] | [ Search: ] |
This mesh object represents a 'haze' which is a bit like volumetric light. For example you can show this way moody rays from church windows.
The following SCF class names are used (for csLoadPlugin
):
crystalspace.mesh.object.haze
crystalspace.mesh.loader.haze
crystalspace.mesh.loader.factory.haze
Objects in this plugin implement the following SCF interfaces, which you
can retrieve with scfQueryInterface
:
Use the ‘iHazeFactoryState’ SCF interface to access settings for a haze factory. The definition of this interface can be found in ‘CS/include/imesh/haze.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 direction, origin, layers, scale and various other configuration parameters for a haze factory.
The haze mesh factory loader has no parameters.
‘iHazeState’ (residing in ‘CS/include/imesh/haze.h’) is an empty SCF interface.
<material> ... </material>
Material name.
<mixmode> ... </mixmode>
Color mixing mode.
<origin x="" y="" z="" />
Set the origin of the texture.
<directional x="" y="" z="" />
Set the direction of the texture.
<layer> ... </layer>
Layer of the haze mesh. Inside layer:
<scale> ... </scale>
Scale of the texture.
<hazebox> ... </hazebox>
Draws box shape. Inside hazebox:
<min x="" y="" z="" />
First corner of the box.
<max x="" y="" z="" />
Last corner if the box.
<layer> <scale></scale> <hazebox> <min x="" y="" z="" /> <max x="" y="" z="" /> </hazecone> </layer> |
<hazecone p="" q="" number=""> ... </hazecone>
Draws cone shape. Give p - radius of the top, q - radius of the bottom and number of faces to create cone mesh. Inside hazecone:
<min x="" y="" z="" />
Position of the cone's tip.
<max x="" y="" z="" />
Position of the cone's bottom.
<layer> <scale></scale> <hazecone p="" q="" number=""> <min x="" y="" z="" /> <max x="" y="" z="" /> </hazecone> </layer> |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated using texi2html 1.76.