Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
1.0.0:skybox [2023/02/23 12:27] – admin | 1.0.0:skybox [2023/02/23 12:44] – admin | ||
---|---|---|---|
Line 29: | Line 29: | ||
The basic TGorillaSkyBox component provides a fully configurable procedural rendering with clouds, stars, moon/sun and azimuth / inclination settings. | The basic TGorillaSkyBox component provides a fully configurable procedural rendering with clouds, stars, moon/sun and azimuth / inclination settings. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | You can configure the settings at design time and can directly see the changes in rendering. | ||
+ | |||
+ | ^Property ^ Type ^ Description ^ | ||
+ | |Diffuse | TAlphaColorF | | | ||
+ | |Emissive | TAlphaColorF | | | ||
+ | |Resolution | TVector3D | | | ||
+ | |CrescentOfs | TPointF | | | ||
+ | |CrescentMoon | Single | | | ||
+ | |MoonSurface | Single | | | ||
+ | |DepolarizationFactor | Single | | | ||
+ | |Luminance | Single | | | ||
+ | |MieCoefficient | Single | | | ||
+ | |MieDirectionalG | Single | | | ||
+ | |MieV | Single | | | ||
+ | |MieZenithLength | Single | | | ||
+ | |MieKCoefficient | TVector3D | | | ||
+ | |Primaries | TPoint3D | | | ||
+ | |NumMolecules | Single | | | ||
+ | |Rayleigh | Single | | | ||
+ | |RayleighZenithLength | Single | | | ||
+ | |RefractiveIndex | ||
+ | |SunAngularDiameterDegrees | Single | Size of the sun / moon disk | | ||
+ | |SunIntensityFactor | Single | Intensity of sun rendering | | ||
+ | |SunIntensityFalloffSteepness | Single | | | ||
+ | |TonemapWeighting | Single | Tonemapping | | ||
+ | |Turbidity | Single | | | ||
+ | |Inclination | Single | Y-Offset | | ||
+ | |Azimuth | Single | X-Offset | | ||
+ | |||
+ | ^Property ^ Type ^ Description ^ | ||
+ | |StarDensity | Single | | | ||
+ | |StarProbe | Single | | | ||
+ | |StarSize | Single | | | ||
+ | |StarSpark | Single | | | ||
+ | |StarBrightness |Single | | | ||
+ | |StarColor | ||
+ | |||
+ | ^Property ^ Type ^ Description ^ | ||
+ | |CloudColor | ||
+ | |CloudIterations | ||
+ | |CloudFrequency | ||
+ | |CloudAmplitude | ||
===== SkyBox: | ===== SkyBox: | ||
+ | |||
+ | ==== DesignTime ==== | ||
+ | |||
+ | Drag and drop the TGorillaSkyBox component onto your viewport and start by uploading | ||
+ | the cubemap texture. This is done by loading all 6 faces of a box. | ||
+ | |||
+ | When downloading a precomputed skybox texture set, you will get 6 textures, which can be associated the following way: | ||
+ | |||
+ | ^Property^Face^Common TextureName^ | ||
+ | |FrontSide|TGorillaCubeMapFace.NegativeZ|negz.jpg| | ||
+ | |BackSide|TGorillaCubeMapFace.PositiveZ|posz.jpg| | ||
+ | |TopSide|TGorillaCubeMapFace.NegativeY|negy.jpg| | ||
+ | |BottomSide|TGorillaCubeMapFace.PositiveY|posy.jpg| | ||
+ | |LeftSide|TGorillaCubeMapFace.NegativeX|negx.jpg| | ||
+ | |RightSide|TGorillaCubeMapFace.PositiveX|posx.jpg| | ||
+ | |||
+ | ==== Runtime ==== | ||
If you need to create the Gorilla3D viewport at runtime, you can do it the following way: | If you need to create the Gorilla3D viewport at runtime, you can do it the following way: | ||
Line 78: | Line 140: | ||
(before only by 6 planes with simple 2D textures) | (before only by 6 planes with simple 2D textures) | ||
- | ===== DesignTime ===== | ||
- | |||
- | Drag and drop the TGorillaSkyBox component onto your viewport and start by uploading | ||
- | the cubemap texture. This is done by loading all 6 faces of a box. | ||
- | |||
- | When downloading a precomputed skybox texture set, you will get 6 textures, which can be associated the following way: | ||
- | |||
- | ^Property^Face^Common TextureName^ | ||
- | |FrontSide|TGorillaCubeMapFace.NegativeZ|negz.jpg| | ||
- | |BackSide|TGorillaCubeMapFace.PositiveZ|posz.jpg| | ||
- | |TopSide|TGorillaCubeMapFace.NegativeY|negy.jpg| | ||
- | |BottomSide|TGorillaCubeMapFace.PositiveY|posy.jpg| | ||
- | |LeftSide|TGorillaCubeMapFace.NegativeX|negx.jpg| | ||
- | |RightSide|TGorillaCubeMapFace.PositiveX|posx.jpg| | ||
Next step: [[volumerendering|Volume-Rendering]] | Next step: [[volumerendering|Volume-Rendering]] |