mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Renderable property info walkthrough/cleanup (#3226)
A passover of all the Parameters descriptions and PropertyInfo descriptions of the renderables in the code base to make then more consistently and concisely formatted. Also fixed some small issues and added or updated descriptions. * Start rephrasing propertyinfos for more consistency * Update eclipse cone propertyinfos * Update `RenderableFov` property infos and group colors in UI * `RenderableGalaxy` and `RenderableGlobe` * Update more descriptions * Moore descriptions * Update docs for `RenderableShadowCylinder` and add properties * `RenderableSkyTarget`, and spheres (`ImageOnline` and `ImageLocal`) * `RnederableSphericalGrid`, and update line width info of other types, for consistency * `RenderableStars` and `RenderableTimeVaryingSphere` * Update more propertyinfos * Fix inconsistent mentioning of true/false * change some phrasings for increased consistency * Update Renderbin description to include Sticker bin and remove extra property * Rename `OutlineWeight` -> `OutlineWidth` * Extend description about enable depth test for models * Clarify what relative values mean for `RenderableNodeArrow` * Elaborate on `RenderableLabel` size property --------- Co-authored-by: Alexander Bock <alexander.bock@liu.se> Co-authored-by: Ylva Selling <ylva.selling@gmail.com> Co-authored-by: Malin E <malin.ejdbo@gmail.com>
This commit is contained in:
@@ -83,9 +83,8 @@ namespace {
|
||||
constexpr openspace::properties::Property::PropertyInfo RenderFullPathInfo = {
|
||||
"ShowFullTrail",
|
||||
"Render Full Trail",
|
||||
"If this value is set to 'true', the entire trail will be rendered; if it is "
|
||||
"'false', only the trail until the current time in the application will be "
|
||||
"shown.",
|
||||
"If true, the entire trail will be rendered. If false, only the trail until "
|
||||
"the current time in the application will be shown.",
|
||||
openspace::properties::Property::Visibility::NoviceUser
|
||||
};
|
||||
|
||||
@@ -207,7 +206,7 @@ RenderableTrailTrajectory::RenderableTrailTrajectory(const ghoul::Dictionary& di
|
||||
_primaryRenderInformation.sorting = RenderInformation::VertexSorting::OldestFirst;
|
||||
_secondaryRenderInformation.sorting = RenderInformation::VertexSorting::OldestFirst;
|
||||
|
||||
// Activate special render mode for renderableTrailTrajectory
|
||||
// Activate special render mode for renderableTrailTrajectory
|
||||
_useSplitRenderMode = true;
|
||||
}
|
||||
|
||||
@@ -366,7 +365,7 @@ void RenderableTrailTrajectory::update(const UpdateData& data) {
|
||||
std::lower_bound(_timeVector.begin(), _timeVector.end(), j2k)
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
if (_renderFullTrail) {
|
||||
// Calculates number of vertices for the second segment (object to end point)
|
||||
_secondaryRenderInformation.first = _primaryRenderInformation.count;
|
||||
|
||||
Reference in New Issue
Block a user