Skip to main content

Polyscope: A viewer and user interface for 3D data.

Project description

Polyscope's documentation is hosted at polyscope.run

Polyscope

Build Status

Polyscope is a C++ viewer and user interface for 3D data like meshes and point clouds. Scientists, engineers, artists, and hackers can use Polyscope to prototype and debug algorithms---it is designed to easily integrate with existing codebases and popular libraries. The lofty objective of Polyscope is to offer a useful visual interface to your data via a single line of code.

Polyscope uses a paradigm of structures and quantities. A structure is a geometric object in the scene, such as a surface mesh or point cloud. A quantity is data associated with a structure, such as a scalar function or a vector field.

When any of these structures and quantities are registered, Polyscope displays them in an interactive 3D scene, handling boilerplate concerns such as toggling the display of various data, colormapping data and editing maps, providing "picking" support to click in the scene and display numerical quantities, and generating histograms of scalar values.

A simple workflow for visualizing data in Polyscope looks like:

#include "polyscope/polyscope.h"
#include "polyscope/surface_mesh.h"

// Initialize polyscope
polyscope::init();

// Register a surface mesh structure
polyscope::registerSurfaceMesh("my mesh", mesh.vertices, mesh.faces);

// Add a scalar and a vector function to the mesh
polyscope::getSurfaceMesh("my mesh")->addVertexScalarQuantity("my_scalar", scalarQuantity);
polyscope::getSurfaceMesh("my mesh")->addFaceVectorQuantity("my_vector", vectorQuantity);

// Show the gui
polyscope::show();

Polyscope is designed to make your life easier. It is simple to build, and fewer than 10 lines of code should be sufficient to start visualizing. Thanks to some template magic, Polyscope can probably directly read from the data types you're already using!


Author: Nicholas Sharp

If Polyscope contributes to an academic publication, cite it as:

@misc{polyscope,
  title = {Polyscope},
  author = {Nicholas Sharp and the Polyscope contributors},
  note = {www.polyscope.run},
  year = {2019}
}

Development of this software was funded in part by NSF Award 1717320, an NSF graduate research fellowship, and gifts from Adobe Research and Autodesk, Inc.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

polyscope-0.0.3-pp36-pypy36_pp73-macosx_10_13_x86_64.whl (1.9 MB view details)

Uploaded PyPymacOS 10.13+ x86-64

polyscope-0.0.3-pp27-pypy_73-macosx_10_13_x86_64.whl (1.9 MB view details)

Uploaded PyPymacOS 10.13+ x86-64

polyscope-0.0.3-cp38-cp38-macosx_10_13_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.8macOS 10.13+ x86-64

polyscope-0.0.3-cp37-cp37m-macosx_10_13_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.7mmacOS 10.13+ x86-64

polyscope-0.0.3-cp36-cp36m-macosx_10_13_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.6mmacOS 10.13+ x86-64

polyscope-0.0.3-cp35-cp35m-macosx_10_9_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.5mmacOS 10.9+ x86-64

polyscope-0.0.3-cp27-cp27m-macosx_10_13_x86_64.whl (1.9 MB view details)

Uploaded CPython 2.7mmacOS 10.13+ x86-64

File details

Details for the file polyscope-0.0.3-pp36-pypy36_pp73-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: polyscope-0.0.3-pp36-pypy36_pp73-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: PyPy, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.2

File hashes

Hashes for polyscope-0.0.3-pp36-pypy36_pp73-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 2f5f79f81c40e9b2b42c17b7836059b70518592316b292197b0818c26ca2b740
MD5 23416f7b6550b30b6bebe8687f934ba9
BLAKE2b-256 b8c7e3cf7434b520c92adc04633c9eb5199978d45274391d9d560894d8f089e4

See more details on using hashes here.

File details

Details for the file polyscope-0.0.3-pp27-pypy_73-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: polyscope-0.0.3-pp27-pypy_73-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: PyPy, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.2

File hashes

Hashes for polyscope-0.0.3-pp27-pypy_73-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 f9bbf5853068000c3fdb910a19b197e2c02706af34ea3179e923fe7f225b999a
MD5 9d68674e6517b4b05bee8bd5e2ebe6b5
BLAKE2b-256 1155be1ddda61419e35fc5ab2cbde0522a2a4252743a702e5ee163f24305c9bb

See more details on using hashes here.

File details

Details for the file polyscope-0.0.3-cp38-cp38-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: polyscope-0.0.3-cp38-cp38-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.8, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.2

File hashes

Hashes for polyscope-0.0.3-cp38-cp38-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 5ac5d3bf1850e2b7c5178ba396da2ece30fb1152b1b5467997ebf0fb3c55a75e
MD5 7affe03fc668ff42c01285656e4474b9
BLAKE2b-256 3438c57150eb7aa8e49284202d5b37118ae3e918f89fe30594abcbc0db8a932a

See more details on using hashes here.

File details

Details for the file polyscope-0.0.3-cp37-cp37m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: polyscope-0.0.3-cp37-cp37m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.7m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.2

File hashes

Hashes for polyscope-0.0.3-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 5d24389a675688e8114e66755c7540a040046d097d07b1211104bee27aaeef74
MD5 f0219df3df9f907cff63d1552af6c34c
BLAKE2b-256 40f0f7b24badd5ffbe49dcd44daa425d59dcc3c053541467f3c40371aba63028

See more details on using hashes here.

File details

Details for the file polyscope-0.0.3-cp36-cp36m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: polyscope-0.0.3-cp36-cp36m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.6m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.2

File hashes

Hashes for polyscope-0.0.3-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 1b99427e59778803a95902390fa5f4d5d24597ca5a965a9ce0e0113e13eca4f1
MD5 6769deb3a1114e0f4fb2c998ecac0a4e
BLAKE2b-256 3532b89626f89d29388324b1af5ac9d5e96c9a0811def9d82046b62e34104036

See more details on using hashes here.

File details

Details for the file polyscope-0.0.3-cp35-cp35m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: polyscope-0.0.3-cp35-cp35m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.5m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.2

File hashes

Hashes for polyscope-0.0.3-cp35-cp35m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 54830e2b0d05f20b335ae86e7afe7910fff1ad01eace2ac9d1d4c0437b900bf0
MD5 6b6410026a71101f76459266288c8f99
BLAKE2b-256 8ae82613fde21a4c7fe20943312c1b9987771c404d5b5804cd8b8462934e8391

See more details on using hashes here.

File details

Details for the file polyscope-0.0.3-cp27-cp27m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: polyscope-0.0.3-cp27-cp27m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 2.7m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.2

File hashes

Hashes for polyscope-0.0.3-cp27-cp27m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 ef003c7367bebd81325953c170fa12d74811cbad8678f1d145e4cb92e5c70966
MD5 015776edbff005219a95418d93a178a3
BLAKE2b-256 9ccd4c186a21a193dbb29961b3baf80335f056cb7f675ac8d557b7be0c27f396

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page