Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Vector Quantity Coloring (e.h. a VectorQuantityScalarQuantity or VectorQuantityColorQuantity)

Open
#286 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp

Research direction

Start by reading include/polyscope/structure.h, especially the isEnabled() declaration and the ambiguity reported when VectorQuantity is made a Structure. Trace how VectorQuantity, ScalarQuantity, and ColorQuantity are represented, then determine the project-approved API for per-element vector coloring. Done should include a settled design that supports the requested coloring without the reported name conflict.

Written by the indexing model from the issue text.

Description

I was looking in to how to color a vector quantity on a per-element basis, which basically means adding a ScalarQuantity or ColorQuantity to a VectorQuantity.

My first approach to this was to try and make a VectorQuantity a Structure, but that creates an error around isEnabled()

polyscope/src/../include/polyscope/structure.h:96:8: note: member found by ambiguous name lookup
  bool isEnabled();

Have you had any thought about the right way to do this?

Dominant language
C++
Stars
2.2k
Forks
242
Avg merge
11m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nmwsharp/polyscope

All issues in nmwsharp/polyscope

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.