Dynamic textures
From OpenSimulator
m (Robot: Cosmetic changes) |
|||
Line 1: | Line 1: | ||
{{Quicklinks}} | {{Quicklinks}} | ||
− | Dynamic textures allow scripts to create images on the fly, combining graphics loaded from the World Wide Web with text, lines, ellipses and filled or unfilled rectangles. The textures thus created are temporary, maintained by the individual region in which they are created, and are not permanently stored in the | + | Dynamic textures allow scripts to create images on the fly, combining graphics loaded from the World Wide Web with text, lines, ellipses and filled or unfilled rectangles. The textures thus created are temporary, maintained by the individual region in which they are created, and are not permanently stored in the asset service. |
In general, one creates a string containing a list of [[Drawing commands]] and parameters, either directly or with the aid of one of the "convenience" drawing functions listed below, then passes this string as a parameter to one of the osSetDynamicTexture* commands. | In general, one creates a string containing a list of [[Drawing commands]] and parameters, either directly or with the aid of one of the "convenience" drawing functions listed below, then passes this string as a parameter to one of the osSetDynamicTexture* commands. |
Revision as of 07:58, 22 April 2014
Languages: |
English Deutsch |
Dynamic textures allow scripts to create images on the fly, combining graphics loaded from the World Wide Web with text, lines, ellipses and filled or unfilled rectangles. The textures thus created are temporary, maintained by the individual region in which they are created, and are not permanently stored in the asset service.
In general, one creates a string containing a list of Drawing commands and parameters, either directly or with the aid of one of the "convenience" drawing functions listed below, then passes this string as a parameter to one of the osSetDynamicTexture* commands.
In the list below, the threat level of each function is indicated in parentheses after the function name. There is no threat level associated with the drawing commands.
NOTE: If you use this feature, you have to turn on any cache. If not, you'll see complete white texture. Flotsam cache performs better than cenome cache(default).
Graphics Primitive Drawing Functions
|
Graphics Primitive Drawing Commands
Text Drawing Commands |