Category / Domain : | C3D3 Plugin |
Compatibility SCOL Voy@ger : | V 3.5 or above |
Update : | 2001/05 |
This plugin allows to change dynamically the texture of a material :
Figure 1 : ChangeTexture plugin interface.
(1) : texture list = > Allows to choose textures which will be used in the files of the SCOL partition
(2) : loop = > If ticked, the texture list will be repeated (the first will be back after the last one)
(3) : max texture file size = > Maximum size of the textures (in bytes) which can be transferred
(4) : transition time = > Length of the transition animation (in ms)
(5) : keep dynamic change = > Saves the last texture when the server is switched off in order to start again with this one
(6) : init position = > Initial Position in the textures list (0 for the first one)
(7) : Size = > wSize : Texture width ¦ HSize : Texture height
(8) : Nb block = > Number of blocks for the division. (In width and in height)
(9) : division = > Number of blocks simultaneously used while the transition
(10) : transition mode = > Allows to choose one of 10 kind of transition
Action | Function |
module.event à C3D3.instance.setRandomALL | Randomly chooses a texture and display it on all clients. |
module.event à C3D3.instance.nextTextureALL | Displays the following texture on all clients |
module.event à C3D3.instance.previousTextureALL | Displays the previous texture on all clients |
module.event à C3D3.instance.setTexturePosInTexturesListALL | Chooses a texture in the list and displays it on all clients. (Texture position in the list has to be passed as link parameter.) |
module.event à C3D3.instance.showChgTextureInterface | Allows a client to upload a texture on the server and to apply it on all clients |
module.event à C3D3.instance.setRandom | Randomly chooses a texture and display it on a client |
module.event à C3D3.instance.nextTexture | Shows the following texture on a client |
module.event à C3D3.instance.previousTexture | Shows the previous texture on a client |
module.event à C3D3.instance.setTexturePosInTexturesList | Allows to use a selected texture on a single client. (Put the texture position in the list as link parameter.) |
Event | Function |
C3D3.instance.endListALL à module Action | Reaching the end of the list generates an event. (On all clients) |
C3D3.instance.beginListALL à module Action | Reaching the beginning of the list generates an event. (On all clients) |
C3D3.instance.endList à module Action | Reaching the end of the list generates an event. (On a single client) |
C3D3.instance.beginList à module Action | Reaching the beginning of the list generates an event. (On a single client) |
Zone | Function | Interface | Assignment |
None |