The normal map plugin supports static and skinned atomics, and world sectors. Environment maps are also supported
Before any of the plugin functions are used, the plugin should be attached using RpNormMapPluginAttach.
|
|
RpNormMapAtomicPipeline rendering pipelines available within the RpNormMap plugin. Use RpNormMapGetAtomicPipeline to retrieve the required RxPipeline. |
|
||||||||||||
|
RpNormMapAtomicInitialize initializes the required normal map rendering pipeline on an atomic. The world and normal maps plugins must be attached before using this function. The header file rpnormmap.h is required.
|
|
|
RpNormMapAtomicIsInitialized is used to check if the normal maps plugin has been initialized on an atomic. The world and normal maps plugins must be attached before using this function. The header file rpnormmap.h is required. This function must be used before the RpAtomic is rendered or pre-instanced.
|
|
|
RpNormMapGetAtomicPipeline returns one of the RpNormMap internal atomic pipelines. The RpNormMap plugin must be attached before using this function.
|
|
|
RpNormMapGetWorldSectorPipeline returns the RpNormMap internal world sector pipeline. The RpNormMap plugin must be attached before using this function.
|
|
|
RpNormMapMaterialGetEnvMapCoefficient is used to retrieve the environment coefficient. The world and normal maps plugins must be attached before using this function. The header file rpnormmap.h is required.
|
|
|
RpNormMapMaterialGetEnvMapFrame is used to retrieve the RwFrame used for projecting the environment map. The world and normal maps plugins must be attached before using this function. The header file rpnormmap.h is required.
|
|
|
RpNormMapMaterialGetEnvMapTexture is used to retrieve the texture used for the environment map effect. The world and normal maps plugins must be attached before using this function. The header file rpnormmap.h is required.
|
|
|
RpNormMapMaterialGetNormMapTexture is used to retrieve the normal map texture from a material. The world and normal maps plugins must be attached before using this function. The header file rpnormmap.h is required.
|
|
|
RpNormMapMaterialIsEnvMapModulated determines whether the environment map is modulate by the base texture before applying it. The world and normal maps plugins must be attached before using this function. The header file rpnormmap.h is required.
|
|
||||||||||||
|
RpNormMapMaterialModulateEnvMap forces the environment map to be modulated by the base texture before applying it, when modulate is TRUE. By default the modulation is disabled. Modulating the environment map by the base texture may be used, for example, to simulate metallic materials. The world and normal maps plugins must be attached before using this function. The header file rpnormmap.h is required.
|
|
||||||||||||
|
RpNormMapMaterialSetEnvMapCoefficient affects the reflectivity of the material, i.e. the intensity of the environment map. The world and normal maps plugins must be attached before using this function. The header file rpnormmap.h is required.
|
|
||||||||||||
|
RpNormMapMaterialSetEnvMapFrame sets the frame associated with the environment mapping material effect. This will affect the position of the environment map on the object. The world and normal maps plugins must be attached before using this function. The header file rpnormmap.h is required.
|
|
||||||||||||
|
RpNormMapMaterialSetEnvMapTexture sets the texture for a environment mapping material effect using the normal map. The texture is rendered with dynamically generated UVs using a spherical environment mapping. The world and normal maps plugins must be attached before using this function. The header file rpnormmap.h is required.
|
|
||||||||||||
|
RpNormMapMaterialSetNormMapTexture is used to setup the normal map texture for a material. The world and normal maps plugins must be attached before using this function. The header file rpnormmap.h is required.
|
|
|
RpNormMapPluginAttach is called by the application to indicate that the normal maps plugin should be used. The call to this function should be placed between RwEngineInit and RwEngineOpen and the world plugin must already be attached.
|
|
||||||||||||
|
RpNormMapSetActiveLights is called to define the ambient and the main light the normal maps plugin should use to light the atomics or the world sectors. The normal maps plugin only supports a custom light mode of a single main light and a single ambient light. If the parameters passed to this function are not NULL, then any lights added to the world will be ignored whilst using the normal maps pipelines.
|
|
|
RpNormMapWorldEnable is used to enable the normal maps object pipeline on a world. The world and normal maps plugins must be attached before using this function. The header file rpnormmap.h is required. This function must be used before the RpWorld is rendered or pre-instanced.
|
|
|
RpNormMapWorldIsEnabled is used to check if the normal maps plugin has been enabled on a world. The world and normal maps plugins must be attached before using this function. The header file rpnormmap.h is required.
|
|
|
RpNormMapWorldSectorInitialize is used to initialize the normal maps object pipeline on a world sector. The world and normal maps plugins must be attached before using this function. The header file rpnormmap.h is required.
|
|
|
RpNormMapWorldSectorIsInitialized is used to check if the normal maps plugin has been initialized on a world sector. The world and normal maps plugins must be attached before using this function. The header file rpnormmap.h is required.
|
© 1993-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:47:05 2004.
Send Feedback