General
1. Tails keep changing, but start at a fixed position
2. NEW: PlasmaTail, dustTail sPainter's are the same, such that dustTail's color and vertex arrays are the same.
Plasma Tail (blue)
1. One tail that starts from bottom left corner of the screen to wherever last clicked. Rotates too.
2. If in SkyDrawer::postDraw3dModel(), no "if(cometNoHalo) do_nothing;", then no plasma tails drawn except
Dust Tail (brown)
1. Line loop that outlines the plasma tail
Tuesday, July 31, 2012
Saturday, July 21, 2012
CometMgr update
To let a user write scripts that control the comet's appearance (tail lengths, coma sizes, etc.), a CometMgr (StelModule) needs to be added for the Stellarium scripting engine.
Initially, the idea was the derive CometMgr from SolarSystem, and separate Comets with the rest of the SolarSystem bodies. But I found that this duplicated and was just messy and unnecessary. So instead, CometMgr will be a friend class of SolarSystem so that it has access to Stellarium's active list of comets, and the current comet that has been selected. Using CometMgr, we change the member variables of a Comet object.
Update July 25: CometMgr done.
Initially, the idea was the derive CometMgr from SolarSystem, and separate Comets with the rest of the SolarSystem bodies. But I found that this duplicated and was just messy and unnecessary. So instead, CometMgr will be a friend class of SolarSystem so that it has access to Stellarium's active list of comets, and the current comet that has been selected. Using CometMgr, we change the member variables of a Comet object.
Update July 25: CometMgr done.
Subscribe to:
Posts (Atom)