LlLinear2sRGB/ja

From Second Life Wiki
Jump to navigation Jump to search

要約

関数: vector llLinear2sRGB( vector color );

Transforms a color specified in linear RGB colorspace into the sRGB colorspace.を vector で返します。

• vector color Color in the linear color space.

仕様

Lights in Second Life are specified in LSL as linear red, green blue values in the range (0.0, 1.0). Internally light calculations are performed in the sRGB colorspace.

The sRGB (Standard Red Green Blue) colorspace is defined in IEC 61966-2-1:1999 and was developed as a joint project between Microsoft and HP.

This calculation is known as an Inverse Electro-Optical Transfer Function (IEOTF).

警告

  • The name of this function is actually a misnomer as LSL color is actually in Rec.709 space, not sRGB space. While they are very similar, the gamma value for sRGB is approx. 2.2, whereas the gamma value for Rec.709 is approx. 2.4.

サンプル

関連項目

関数

•  llsRGB2Linear To convert from sRGB to the Linear colorspace. (EOTF)

特記事項

Search JIRA for related Issues

Signature

function vector llLinear2sRGB( vector color );
この翻訳は 原文 と比べて古いですか?間違いがありますか?読みにくいですか?みんなで 修正 していきましょう! (手順はこちら)
この項目はあなたにとって参考にならない項目ですか?もしかしたらLSL Wikiの関連した項目が参考になるかもしれません。