Update assets to adapt to the bugfix in the RenderableSphericalGrid

This commit is contained in:
Alexander Bock
2025-11-20 16:56:54 +01:00
parent 0950c7bc2f
commit ca29378d54
4 changed files with 12 additions and 8 deletions

View File

@@ -58,7 +58,10 @@ local AltAzGrid = {
Opacity = 0.8,
Color = { 0.2, 0.4, 0.2 },
LineWidth = 2.0,
RenderBinMode = "PostDeferredTransparent"
RenderBinMode = "PostDeferredTransparent",
LatSegments = 19,
LongSegments = 36
},
Tag = { "nightsky_marking" },
GUI = {

View File

@@ -104,7 +104,7 @@ local EquatorialSphere = {
Opacity = 1.0,
Color = { 0.3, 0.3, 0.15 },
LineWidth = 2.0,
LatSegments = 17,
LatSegments = 19,
LongSegments = 24,
},
Tag = { "du_grid" },
@@ -164,7 +164,9 @@ local EclipticSphere = {
Enabled = false,
Opacity = 1.0,
Color = { 0.3, 0.15, 0.15 },
LineWidth = 2.0
LineWidth = 2.0,
LatSegments = 19,
LongSegments = 24
},
Tag = { "du_grid" },
GUI = {

View File

@@ -33,7 +33,7 @@ local CarringtonPrimeMeridian = {
Color = { 1.0, 0.0, 0.0 },
LineWidth = 2.0,
LongSegments = 2,
LatSegments = 31
LatSegments = 19
},
GUI = {
Name = "Carrington Prime Meridian",
@@ -63,7 +63,7 @@ local WSA_GridSlice = {
Color = { 0.8, 0.8, 0.8 },
LineWidth = 2.0,
LongSegments = 2,
LatSegments = 31
LatSegments = 19
},
GUI = {
Name = "Solar Longitude Facing the Earth",
@@ -86,8 +86,7 @@ local WSA_Grid10Degrees = {
Type = "RenderableSphericalGrid",
Size = gridSizeRadius,
Color = { 0.035, 0.675, 0.255 },
LineWidth = 1.0,
Segments = 36
LineWidth = 1.0
},
GUI = {
Name = "Grid on Sun",

View File

@@ -124,7 +124,7 @@ RenderableSphericalGrid::RenderableSphericalGrid(const ghoul::Dictionary& dictio
, _gridProgram(nullptr)
, _color(ColorInfo, glm::vec3(0.5f), glm::vec3(0.f), glm::vec3(1.f))
, _longSegments(LongSegmentsInfo, 36, 4, 200)
, _latSegments(LatSegmentsInfo, 18, 4, 200)
, _latSegments(LatSegmentsInfo, 19, 4, 200)
, _lineWidth(LineWidthInfo, 0.5f, 1.f, 20.f)
{
const Parameters p = codegen::bake<Parameters>(dictionary);