Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Conversation

@saraazevedolopes
Copy link
Collaborator

@saraazevedolopes saraazevedolopes commented Mar 10, 2025

Solar System Hierarchy:
Solar System (Group)
│── Sun (Root)
│ │── Planet 1 (Orbits Sun)
│ │ │── Moon 1 (Orbits Planet 1)
│ │ │── Moon 2 (Orbits Planet 1)
│ │── Planet 2 (Orbits Sun)
│ │ │── Moon 1 (Orbits Planet 2)
│ │── Planet 3 (Orbits Sun)
│ │ │── Rings (Belongs to Planet 3)
│ │── Asteroid Belt (Orbits Sun)

The user can make changes to the solar system.
sceneScale – Defines the overall scale of the scene.
sunSizeFactor – Controls the size of the Sun.
planetSizeFactor – Controls the size of the planets.
moonSizeFactor – Controls the size of the moons.
distanceFactor – Controls the distance between celestial bodies.
asteroidBeltDensity – Defines the density of the asteroid belts.

⚠️ Some of these parameters can be deceptive. For example, increasing the size of a planet will also increase the size of its ring due to the hierarchy. ⚠️

imageimage

@saraazevedolopes saraazevedolopes requested review from Mariana-rc01, a104437ana and voidbert and removed request for Mariana-rc01, a104437ana and voidbert March 13, 2025 23:10
camera->InsertEndChild(projection);
}

void SolarSystem::generateSolarSystem(float sceneScale,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be heavily simplified but I'm not gonna get worked up about it. Let's do what we can with the time we have. Also, in the future, we can think of implementing a group hierarchy which would imply some substantial changes, which we can leave for later.

@voidbert
Copy link
Owner

Now I know where some of my action minutes have gone 😅

Screenshot_2025-03-22_17-49-48

@saraazevedolopes saraazevedolopes force-pushed the SolarSystem branch 2 times, most recently from d234828 to 10cd653 Compare March 22, 2025 18:24
@saraazevedolopes saraazevedolopes merged commit e14fb9f into main Mar 22, 2025
3 checks passed
@Mariana-rc01 Mariana-rc01 deleted the SolarSystem branch March 22, 2025 19:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants