Difference between revisions of "LlLinear2sRGB/ja"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 4: Line 4:
|sort=LinearTosRGB
|sort=LinearTosRGB
|return_type=vector
|return_type=vector
|p1_type=vector|p1_name=color|p1_desc=Color in the linear color space.
|p1_type=vector|p1_name=color|p1_desc=線形カラースペースで指定された色。
|return_text=Transforms a color specified in linear RGB colorspace into the sRGB colorspace.
|return_text=LSLでは、Second Lifeのライトは範囲(0.0, 1.0)の線形な赤、緑、青の値として指定されます。内部的には、光の計算はsRGBカラースペースで実行されます。
|spec=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 [https://www.color.org/srgb04.xalter IEC 61966-2-1:1999] and was developed as a joint project between Microsoft and HP.
sRGB(Standard Red Green Blue)カラースペースは、[https://www.color.org/srgb04.xalter IEC 61966-2-1:1999] で定義されており、MicrosoftとHPの共同プロジェクトとして開発されました。


This calculation is known as an Inverse Electro-Optical Transfer Function (IEOTF).
この計算は逆電光変換関数(IEOTF)として知られています。


|caveats=
|caveats=
*The name of this function is actually a misnomer as LSL color is actually in [https://www.color.org/chardata/rgb/BT709.xalter Rec.709] space, not [https://www.color.org/chardata/rgb/srgb.xalter 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.
* この関数の名前は実際には誤りであり、LSLのカラーは実際には[https://www.color.org/chardata/rgb/BT709.xalter Rec.709]スペースであり、[https://www.color.org/chardata/rgb/srgb.xalter sRGB]スペースではありません。非常に似ていますが、sRGBのガンマ値は約2.2であり、Rec.709のガンマ値は約2.4です。
|examples
|examples
|helpers
|helpers

Revision as of 15:45, 22 November 2023

要約

関数: vector llLinear2sRGB( vector color );

LSLでは、Second Lifeのライトは範囲(0.0, 1.0)の線形な赤、緑、青の値として指定されます。内部的には、光の計算はsRGBカラースペースで実行されます。

sRGB(Standard Red Green Blue)カラースペースは、IEC 61966-2-1:1999 で定義されており、MicrosoftとHPの共同プロジェクトとして開発されました。

この計算は逆電光変換関数(IEOTF)として知られています。を vector で返します。

• vector color 線形カラースペースで指定された色。

警告

  • この関数の名前は実際には誤りであり、LSLのカラーは実際にはRec.709スペースであり、sRGBスペースではありません。非常に似ていますが、sRGBのガンマ値は約2.2であり、Rec.709のガンマ値は約2.4です。
All Issues ~ Search JIRA for related Bugs

サンプル

関連項目

関数

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

特記事項

Search JIRA for related Issues

Signature

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