Difference between revisions of "LlsRGB2Linear/ja"

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
Line 4: Line 4:
|sort=sRGBToLinear
|sort=sRGBToLinear
|return_type=vector
|return_type=vector
|p1_type=vector|p1_name=srgb|p1_desc=Color in the sRGB color space.
|p1_type=vector|p1_name=srgb|p1_desc=sRGBカラースペースで指定された色。
|return_text=Transforms a color specified in the sRGB colorspace to the linear RGB colorspace.
|return_text=sRGBカラースペースで指定された色を線形RGBカラースペースに変換します。
|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. 
|spec=LSLでは、Second Lifeのライトは範囲(0.0, 1.0)の線形な赤、緑、青の値として指定されます。内部的には、光の計算はsRGBカラースペースで実行されます。


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 Electro-Optical Transfer Function (EOTF).
この計算は電光変換関数(EOTF)として知られています。


|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
Line 19: Line 19:
|also
|also
|also_functions=
|also_functions=
{{LSL DefineRow||[[llLinear2sRGB/ja]]}} To convert from the Linear colorspace to sRGB. (Inverse EOTF)
{{LSL DefineRow||[[llLinear2sRGB/ja]]}} 線形カラースペースからsRGBに変換
}}
}}

Latest revision as of 15:47, 22 November 2023

要約

関数: vector llsRGB2Linear( vector srgb );

sRGBカラースペースで指定された色を線形RGBカラースペースに変換します。を vector で返します。

• vector srgb sRGBカラースペースで指定された色。

仕様

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

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

この計算は電光変換関数(EOTF)として知られています。

警告

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

サンプル

関連項目

関数

•  llLinear2sRGB/ja 線形カラースペースからsRGBに変換

特記事項

Search JIRA for related Issues

Signature

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