Polyscope: A viewer and user interface for 3D data.
Project description
Polyscope's documentation is hosted at polyscope.run
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for polyscope-0.0.5-pp36-pypy36_pp73-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e8b252abbd142706f98a32fbeca8d1e2c9b3c44af6b615fa6e1a5a43c6bfecf |
|
MD5 | 69220320d6701f4935927c01432ea77f |
|
BLAKE2b-256 | 30c64f6c2d3cfb5627bb88958123eed405d172346f155b7574f931d147eb5992 |
Hashes for polyscope-0.0.5-pp36-pypy36_pp73-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5330ca55fe85da8e01a4bb6c1dca35a16a7733a48584974875048631494e93e1 |
|
MD5 | 6cddefec7db63f52a9c781596d076187 |
|
BLAKE2b-256 | b3cb0d61748d01163754683414d6457f33b07ca623c4d100f07ec098e4342e37 |
Hashes for polyscope-0.0.5-pp27-pypy_73-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1148a20bc57a70a78f96a875bf0b13202ec08ceb0426888ba2ba26212ec7f0b3 |
|
MD5 | 90888b67597eedb96276a67e678569bb |
|
BLAKE2b-256 | 800e4a78cda9e4d423cfcc4984b10054fb2804fc0dbc85fb5df7daa594fab72c |
Hashes for polyscope-0.0.5-pp27-pypy_73-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11d59f62ff889973707c4477422dd5aa316b8280b4fbd1d596689baa9c657aa1 |
|
MD5 | 171cfb74a7ff3c9da6c69e2838acd111 |
|
BLAKE2b-256 | b649f77d14dfca6e09c2a6b2f889a558de82d50801ae87279c8cb44a020c0d4e |
Hashes for polyscope-0.0.5-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3260895c622ef0e9bed62061a41d61a0de0de4021af305b094c87c9c69815ee |
|
MD5 | e629fc3591b3f1502a1e8d0fea2dd6d1 |
|
BLAKE2b-256 | 3a22f176cecfb7d2e8f9371406115150c3db82e97e1f2b267951e1471185eb38 |
Hashes for polyscope-0.0.5-cp38-cp38-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07e8687763bd66fd30bb6cd21a17936c8c8622f799e066671b64bf2d04ed2592 |
|
MD5 | b2d5dea2bf9a63377a18be480da07477 |
|
BLAKE2b-256 | 63351abc6079e0419b036a42f4ce31626383d2c38526bf7de568ecfbfc510434 |
Hashes for polyscope-0.0.5-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26a4ecd01f671377ed5c7660881c59746bd33d72a3e21aeee8ea02c098f5b2f3 |
|
MD5 | 8e0252f2ec1ff82dc084fd2b4476812e |
|
BLAKE2b-256 | 0ccaaf16ba633175d69b99444f329fc2fe022aa395ad09ae601f5bc31aae8b41 |
Hashes for polyscope-0.0.5-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b5924e35b06a8b199ea55708aaa7f2dea7fe22afd1aac198713f515064dc215 |
|
MD5 | 2938db1f86791b8e9375deb6236885ce |
|
BLAKE2b-256 | 9f22be94d6e4c25ad439e065abe037136049dbb22d11c8df149824b6f029e952 |
Hashes for polyscope-0.0.5-cp37-cp37m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf763a97886c2fece0b613d0b12b68a4386e1dce821feba5db98a89b1147fb5e |
|
MD5 | 4205839812001efdf9f08b6a96d68149 |
|
BLAKE2b-256 | 899b0a302c80d7f910743bb4aec1cec6cd0c6aa97656929e0822c5c17549f255 |
Hashes for polyscope-0.0.5-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7ad2028ace780e959e114ec319ae9e065ea9c03a0f67aa9826f8763eaa8020b |
|
MD5 | 19c6b962cc4e6706df560caf0a1dff5a |
|
BLAKE2b-256 | 647dec2ce482466dd968d8b1b5850f99c3f8b55e1de51f3b25372792260bf0a9 |
Hashes for polyscope-0.0.5-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f5518d2e8ba27b34da6716764bb8734404795d0a5e1a9c17aceeda87ed6327c |
|
MD5 | 913753103511aa750eebf1b243d4ec97 |
|
BLAKE2b-256 | f2621420c72badad3d5ef6057ab046918daf10a26360fdc530d2b3a6e8303c32 |
Hashes for polyscope-0.0.5-cp36-cp36m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5815e5fad0175f55fddc69b250ea0c77354d716b8c193eae8df4cfa8541088a |
|
MD5 | 1211503482f88dcaf27eae0c3472ce64 |
|
BLAKE2b-256 | 9132fa7e2943fc7b6ec190cc1d4062366b3bac5a3505cfabac78de92037e24ea |
Hashes for polyscope-0.0.5-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | daf3a274ca485ff55574e3b357b02479fe2e0ad700004a9091406d9b99886cad |
|
MD5 | db53731bbb9870055769cbf142a65437 |
|
BLAKE2b-256 | 9d92bfb6444ea9930e2af40ee640ccab6115dd23a3a649bbf83b0753c8d64cc0 |
Hashes for polyscope-0.0.5-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 186142907b62bc515c147b2ae6ff91b1e7e93ec0810227458ab5f6a73df2b9aa |
|
MD5 | a424943cc9f357a0aae4292a76065d1c |
|
BLAKE2b-256 | b8402b33c5678ca1895b9e4e3b0da1d77df50337f4e0a12b0f3f2e17c5285bc5 |
Hashes for polyscope-0.0.5-cp35-cp35m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5388c7b9049d215a47143b1f50be08142057f4e308573f72b428abe51902e3e0 |
|
MD5 | ff1396ad0ff0612dd881c808579e8c73 |
|
BLAKE2b-256 | 53714d5d558c2e25ec00230a17df12e5acb308d75e008a3189a69b7386561569 |
Hashes for polyscope-0.0.5-cp35-cp35m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce61daea5fad1d5f491760cf941d7dabbcbfb562261a57cc53b72c4d878def79 |
|
MD5 | 759993313a87c9688f457786e6064d9c |
|
BLAKE2b-256 | 49016965bb102d3a40a085a085bec57394dda9a6e030220319aef86a8d25bd14 |
Hashes for polyscope-0.0.5-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5e7dd574779fcaec472ef246e049554e622a01878727460dad16ae72d76962a |
|
MD5 | 48ab4b03b90a3ab7da67ece63a378d4c |
|
BLAKE2b-256 | 7cda79ad35b213b52c5d8aa58edd34793b63ffca3bc4bebcdcc5e9b177c79bcd |
Hashes for polyscope-0.0.5-cp27-cp27mu-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0829685d663cd0a03e97b031feb894a2d21a164ba575f16415707b5758a59bf |
|
MD5 | 4c56472fde9642e9df6ae13707cd5b37 |
|
BLAKE2b-256 | 2c0cbf23ec584002732a6f774f8a83075ee69232e91c43b94c6869f75d3f5ced |
Hashes for polyscope-0.0.5-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4befd89be437e35f0d3ff3031f1dff0f0735cfeaee2cda54c44c420e8a1eb6a0 |
|
MD5 | 4cf9f3d1dc3e43430769c5213a17be53 |
|
BLAKE2b-256 | d00f29a6501794a60118c7fbad8a577a04b0f510e7e1f20b20afb7a2ad6b1ac0 |
Hashes for polyscope-0.0.5-cp27-cp27m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78f0f801b910af6a8c09034276b46a2efb8cde9d70a7a40e4218dc600ee90f09 |
|
MD5 | 49bb86b48bed533fbdbf160b6511da3a |
|
BLAKE2b-256 | 1a65745deb9a115e577a00d1bc6720af576716a7eb471c4e18ed6501368da403 |
Hashes for polyscope-0.0.5-cp27-cp27m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77f1056053084c58b1cc346781e2f1007f49131512016c67f3fcd76c5da4c07f |
|
MD5 | f46399e6ef49b44ec746d85bc75edfa9 |
|
BLAKE2b-256 | 81b069cf5a69e2bb7f2cfba22638ab7e252608de4eebaf5cd08f6453b8a7682b |