Removed technical Information as it is already moved to the proper pages. Replaced the information with links to the central page and importing information page for Texture3D. Added links and updated the description.
(9 intermediate revisions by 4 users not shown)
Line 2:
Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=StaticTexture3DComponent.png
|Image=StaticTexture3DComponent.png
|Name=Static Texture 3D
|Name=Static Texture 3D
}}
}}
The '''StaticTexture3D''' component represents a bunch of [[Texture2D|textures]] stacked on top of each other to make a 3D grid of pixel values, as a [[Texture3D]]. These textures can be displayed in 3D, or sampled via 3D positions in a few different components or in [[ProtoFlux]] Nodes. When [[3D_Texture_Import|importing a Texture3D]], this component is usually applied after the import.
<!--T:2-->
<!--T:2-->
Line 12:
Line 12:
{{Table ComponentFields
{{Table ComponentFields
|URL|Uri|The address of the texture asset
|URL|Uri|The address of the texture asset
|FilterMode|TextureFilterMode|The method of texture filtering
|PreferredFormat|'''[[Type:Nullable`1|Nullable`1]]<[[Type:TextureCompression|TextureCompression]]>'''|TypeAdv6=true| The format to use for texture compression rather than the auto picked one
|PreferredProfile|'''[[Type:Nullable`1|Nullable`1]]<[[Type:ColorProfile|ColorProfile]]>'''|TypeAdv7=true| The color profile to use rather than the auto picked one. (usually linear)
|Readable|Bool|Whether or not the texture can be sampled via texture sampling ProtoFlux nodes
|Readable|Bool|Whether or not the texture can be sampled via texture sampling ProtoFlux nodes
}}
== Sync Delegates ==
{{Table ComponentTriggers
|InvertRGB:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Inverts the colors of the image.
|InvertR:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Inverts the red channel of the image.
|InvertG:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Inverts the green channel of the image.
|InvertB:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Inverts the blue channel of the image.
|InvertA:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Inverts the alpha channel of the image.
|ColorToAlpha:[[Type:Func`2|Func`2]]<[[Type:ColorX|ColorX]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:ColorX|ColorX]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Turns the color data of the image into transparency/alpha data.
|AlphaFromIntensity:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Makes alpha/transparency data depending on the color intensity of the image.
|AlphaToMask:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Turns the alpha of the image into a black and white image.
|RemoveAlpha:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Removes the alpha data completely from the image or makes it white.
|GrayscaleAverage:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Make grayscale image based on the average values for the colors per pixel.
|GrayscaleLuminance:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Make grayscale image based on the color luminance per pixel.
|SwapRG:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Swaps the red and green channels on the image
|SwapRB:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Swaps the red and blue channels on the image
|SwapRA:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Swaps the red and alpha channels on the image
|SwapGB:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Swaps the green and blue channels on the image
|SwapGA:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Swaps the green and alpha channels on the image
|SwapBA:[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`1|Func`1]]<[[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Swaps the blue and alpha channels on the image
|AddBackground:[[Type:Func`2|Func`2]]<[[Type:ColorX|ColorX]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:ColorX|ColorX]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| adds a background of a color to a transparent image.
|AdjustGamma:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Adjusts the gamma of the image.
|AdjustAlphaGamma:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Adjusts the gamma of the alpha channel of the image.
|ShiftHue:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Shifts the hue of HSV of the image.
|SetHue:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Sets the Hue of HSV of the image.
|SetSaturation:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Sets the saturation of HSV of the image.
|OffsetSaturation:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Adds to the saturation of HSV of the image.
|MulSaturation:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Multiplies the saturation of HSV of the image.
|SetValue:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Sets the value of HSV of the image.
|MulValue:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Multiplies the value of HSV of the image.
|OffsetValue:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Adds to the value of HSV of the image.
|OffsetAlpha:[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`2|Func`2]]<[[Type:Float|Float]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Adds to the alpha of the image.
|Normalize:[[Type:Func`4|Func`4]]<[[Type:Bool|Bool]], [[Type:Bool|Bool]], [[Type:Bool|Bool]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|[[Type:Func`4|Func`4]]<[[Type:Bool|Bool]], [[Type:Bool|Bool]], [[Type:Bool|Bool]], [[Type:Task`1|Task`1]]<[[Type:Bool|Bool]]>>|false| Normalizes the colors of the image, making it have a bigger color range usage.
}}
}}
<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
Is generated automatically when importing a folder of images that are slices of a cube stacked vertically. Insert into a [[Component:VolumeUnlitMaterial]] to view the colors or a [[Component:LUT Material]] to view it's affect as a filter.
The StaticTexture3D component represents a bunch of textures stacked on top of each other to make a 3D grid of pixel values, as a Texture3D. These textures can be displayed in 3D, or sampled via 3D positions in a few different components or in ProtoFlux Nodes. When importing a Texture3D, this component is usually applied after the import.
Normalizes the colors of the image, making it have a bigger color range usage.
Usage
Is generated automatically when importing a folder of images that are slices of a cube stacked vertically. Insert into a Component:VolumeUnlitMaterial to view the colors or a Component:LUT Material to view it's affect as a filter.
Examples
This article or section is a stub. You can help the Resonite wiki by expanding it.