Load an avatar and apply shader effects
| <vizfx>.addAvatar( | |
| filename | |
| effectFlags = viz.EFFECTGEN_DEFAULT | |
| composer = vizfx.DEFAULT_COMPOSER | |
| **kw | |
| ) |
Flag | Description |
viz.EFFECTGEN_OSGMAXEXP | Generate effect from models created by the OSG 3ds Max exporter plugin. |
viz.EFFECTGEN_CAL3D | Generate effects for Cal3d avatar models. This will enable hardware skinning on the avatar. |
viz.EFFECTGEN_ATTR_TEXTURE | Generate effects using the current fixed function texture attribute state. |
viz.EFFECTGEN_ATTR_COLOR | Generate effects using the fixed function color attribute state. |
viz.EFFECTGEN_ATTR_ALL | Generate effects using all supported fixed function attributes. This flag is an alias for (viz.EFFECTGEN_ATTR_TEXTURE | viz.EFFECTGEN_ATTR_COLOR) |
viz.EFFECTGEN_DEFAULT | The default flag is a combination of all the above flags. |