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.1.2-pp36-pypy36_pp73-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fab4e895b937513fc516748ed4de60d4d837dca0c6b5b842323ceb885077a10 |
|
MD5 | c123795e3b95d2544b23f2b2cf956cf9 |
|
BLAKE2b-256 | 5dc1d14e63ff0fb968da9bb11a60473f813f67ded790849c9f62cf6307e4cc18 |
Hashes for polyscope-0.1.2-pp36-pypy36_pp73-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe91c4f3d9c0bbd2d88660ac78e6e07e96e173abdd1051427f59aa171d130ad7 |
|
MD5 | 6bd3ca76265f60cc2f37d0542006ef6e |
|
BLAKE2b-256 | ec22c6de8974893ec38c2eb83d0bfbcdba0ba4c67b9111694c07629e019a7e7a |
Hashes for polyscope-0.1.2-pp27-pypy_73-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ebc7ad00f9251ab7caae4c3593ade145550bdd70d63ee5e3590bd091c4b065a |
|
MD5 | daba771dc7b3967928d344ab9beee6b4 |
|
BLAKE2b-256 | 3f5ff661992245aac1e59c3e796b0b79b222e737ceee747aeacceed75e45c695 |
Hashes for polyscope-0.1.2-pp27-pypy_73-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39b5cb71737ff85ae9d35f84e439000c890c2f086020bba8a14e0c43aba0d2cd |
|
MD5 | a1d65a2a18bc54e29ac29a66ede84594 |
|
BLAKE2b-256 | 9ed282a2b2748bd2664408d0a32f0adf75917cdcea4122dfdcdf248fa8a8d155 |
Hashes for polyscope-0.1.2-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6db360bfced26cf9216aea5f646d0f19594207eb30839bb2f34ecea6e911df6f |
|
MD5 | 9d6a8e1aa9ee3fa521ea63dfc56fa41d |
|
BLAKE2b-256 | dd61c2590d333c064f410a62319ea080c201f7439400c0c330a1993d8890aa6a |
Hashes for polyscope-0.1.2-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87fb5010efe28c2d1dd0c84821c84a316d0769754cf88e6910fd747094103508 |
|
MD5 | 6a9de184058c0d4c6636a06d4fddb6de |
|
BLAKE2b-256 | bc85260e67da31d267bee0f3a575795296813bd967765706745ec9075fb17585 |
Hashes for polyscope-0.1.2-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b508a0e68336dd2ea5b2c6c7e335ab0b5ee341c0f9de3a476cc88599285c355 |
|
MD5 | f8bfa9e25db34b108497cbc43a8d446d |
|
BLAKE2b-256 | 5e198100d72118d5eb223c374fd5f6e72f58797e09a66e3dc9d99a234bdc28d0 |
Hashes for polyscope-0.1.2-cp38-cp38-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f6d3bbf977c4aae06859c6087915c76dfc2857e2ee0b5cea0b6c2558cabf31f |
|
MD5 | f840d500e42cec0f72af9f29c9df69e6 |
|
BLAKE2b-256 | 20cdb0c2c75d9bf6328167add0e88afe5b81f5892f3b0b0cf3d14c6aa57e710b |
Hashes for polyscope-0.1.2-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8781a8e1930a51e413ecf76f6ae62a1d97b27d16419880af5fadafe99425284 |
|
MD5 | c0dc3a4b758b92e390677b58c56a45ba |
|
BLAKE2b-256 | 5035cfe9c94e3359670c6e11034ecd17846df9336ff99314b06a183fa84f697a |
Hashes for polyscope-0.1.2-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1962288bb3235c28c7ff79eee0490dba3278ee8645f18a1c677d71041e01e30d |
|
MD5 | ae335d20fad6d6a1a23cd64372cda8a4 |
|
BLAKE2b-256 | c792313ee81868f6c716d1fc961189ba18700d49f331abdd95163d8e3e050e1b |
Hashes for polyscope-0.1.2-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1320ccc7b0c8d719b7c2b5680ad079351d40eabfeb4238cf0932137e524a79a |
|
MD5 | df5c5bfcc32f2b79090e7d232243fa8d |
|
BLAKE2b-256 | ad12ca9e4f18700d1fc4325deb545c042c387adcb36ecd41859dcae640f68a25 |
Hashes for polyscope-0.1.2-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d1cac097787f7ef94756ebd9ebd3997b5203143c08f9633105d0d77a102f2e3 |
|
MD5 | a6299faef6a59fbee4eb4d768dbac376 |
|
BLAKE2b-256 | 44a77b9a19a665ac58a60d38d2a1793dd0ed397c11daec451f1810747af7d753 |
Hashes for polyscope-0.1.2-cp37-cp37m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 963dbe9f83151218bd7b07f10f66f79ce57a831fd19067ae7b135959e685f299 |
|
MD5 | e21e232d9a69bc011de2f92f162b0494 |
|
BLAKE2b-256 | 85c7254fc9b8b7babbd652242933f6c9128322da9246de936e7b029001b3edfc |
Hashes for polyscope-0.1.2-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efbf70fd4de61e46b6b260215dbbe8aa1d48c3caad87f30efa272a0b357ab2ea |
|
MD5 | db2a4e7e30a3cc9ebbc8809aac950d1b |
|
BLAKE2b-256 | 2d8a15bd606a1da3376a8d932e94a980878f73f2c8802e423cf14f629f720a51 |
Hashes for polyscope-0.1.2-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 493db8d459b356348aaa2ab332f8c1054e6b30f15442aa64f240c795ecf83bd0 |
|
MD5 | eeb5fd4cb8df2db156df4d1340f6788b |
|
BLAKE2b-256 | 187ec8ca8d0d308003ee8d576921ec873b1818d3026e31486cfe83c8ae80735c |
Hashes for polyscope-0.1.2-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52d895fdc6579df2db9cf53a8e9904ddfab1c1c1f29b8ed4fa5210cbea01ceab |
|
MD5 | 015cbfca18535601da1d86fc9f88e0a6 |
|
BLAKE2b-256 | 7dd4e21e7aacdd2449b7fe82ddc3d16e368b6854d88f5a102ed45da92a8ee13a |
Hashes for polyscope-0.1.2-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 531790f47048d37956de0e5aca1751fdb51a85799b65a2f334fa56bde430377e |
|
MD5 | c918e93f916e81fdb852e0c00e66764e |
|
BLAKE2b-256 | b2ec1c84282b951fdd981180bb756d9c9a95d1b2ee6f2e8be5b79f4bcdf38643 |
Hashes for polyscope-0.1.2-cp36-cp36m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92883b502e33b8c053a59b47a7b9be42d6c933cccf0a0e1f1a46e48c8176e3dd |
|
MD5 | eccc90da65d7cdaad49af4403858a5f1 |
|
BLAKE2b-256 | 5cf24c4c59719275791da4b3ac8e5ccf58edcbc50034c929715c36b7df18c792 |
Hashes for polyscope-0.1.2-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00df57d11bad4f01158e4bba5880af04cc1197da64bab36bde2f8d6997c1d39f |
|
MD5 | c0afc211df6428e189da0f3aba9c2de4 |
|
BLAKE2b-256 | cb2f0c3eb47861487e28f4db2b0249b0f0c68daa7aca188401c3b1554b6ab533 |
Hashes for polyscope-0.1.2-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43b345f982c7e74bb7c98234a0bc64a1acfbc8bb1ea3aa9b9fd35040205c9334 |
|
MD5 | 4f31b94bb2c76f53e59783ea5a1806b1 |
|
BLAKE2b-256 | f4fe8189d76a6f11c5ee699294498f8b3533d76afebc7074d6d6b6312566174c |
Hashes for polyscope-0.1.2-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28f51a4e4af42b0e2d8d2f4851153e51f80dd8070c1a6e0234565bbd35d0e830 |
|
MD5 | bfaa9c55d4336ff5e36d056546f89997 |
|
BLAKE2b-256 | 231baf7344c23d421dfaf30eb568e23652a62ac8dda60d7e66b2da20b40ab5eb |
Hashes for polyscope-0.1.2-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 576c0a617b14aa0999fbc721261c17d01cae70328adabf16902dfb70e6273321 |
|
MD5 | e3990fdbb540fa551457cf1b30b4a6f2 |
|
BLAKE2b-256 | e59f52c7266c6ec2f701cf6a821704ed8e7bfbf02c974f2396afa104f9e50efd |
Hashes for polyscope-0.1.2-cp35-cp35m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac46f220c0afd80c257fec65a39993b04c5777e6f7f3acfbbae01d06eb0f5af9 |
|
MD5 | 6205c3bbf650d9a47d7d5b5e93c9aefa |
|
BLAKE2b-256 | 7d1d5110065f672f4a556806885b628066ae36d4194259da7fdcee66d7272d36 |
Hashes for polyscope-0.1.2-cp35-cp35m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9cc4386204d0bb137444d99caec654512bb4b148e8876ba51729868872aeff4 |
|
MD5 | bcc0e14b9b3d925a44ca30ce82b20509 |
|
BLAKE2b-256 | 87470bd748c69ff5d2ab5bb948dc20a0c354937621dfc422b4142b3c93a43d5f |
Hashes for polyscope-0.1.2-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8b1f9c42f0152b20fdbd8fb17f8a0cf38d3a1ccfd2cb97baa05e4d7bfc3b3cf |
|
MD5 | fb3e9c4c50345518951abaf4a6782f06 |
|
BLAKE2b-256 | 68b0b23b95801ac31823e83617a0ae6887365f85af71d7718547294784948b46 |
Hashes for polyscope-0.1.2-cp27-cp27mu-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a356736810ce83c5812d920cb35a9252e5577c361e92e7d6596ad1dfb6099642 |
|
MD5 | eb7d37761ee14acf72139b6c51f3ae0d |
|
BLAKE2b-256 | 506476434df646fab7e57415a13da329b8ca9c07127c2049a23d8f20965f6402 |
Hashes for polyscope-0.1.2-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb473ef7f7a6d2919ff044cecab300e279ac089507418b3aa23904c5f574f678 |
|
MD5 | b4984d213538db86b11fc979ce6b17fa |
|
BLAKE2b-256 | 32cec7a654262c44a7d429166bd7037d67ae27788b9f4e3d498486f054bff7ea |
Hashes for polyscope-0.1.2-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 777b38bad7599708544be4dc20b16873bdd0de3d188ca8a9ce4e020f88132e6d |
|
MD5 | 31eca9513f1d3fabf95a589767cf2f74 |
|
BLAKE2b-256 | 7a4e77846de8ce3c07cb9a77883e75e51d3addd2a84546d4c19c30236a9da5fa |
Hashes for polyscope-0.1.2-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f234291a38b993b424a7dfeb4fe200250b7810b06218dd3066697f5dec3095fa |
|
MD5 | 5e968f30038373d04716f21fe7b1ed76 |
|
BLAKE2b-256 | d0f9b9676d3a12cb3c15e5e9949baa3b3595fa83edc6c8fe93f6decdeee3502d |
Hashes for polyscope-0.1.2-cp27-cp27m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6833411e979e555f85b2a5104398165ab9e86a1917feb6412ef666d214031769 |
|
MD5 | fda419bce2035b411302a6dd7703ab1a |
|
BLAKE2b-256 | 6166a30ffe1eda59a8588cb94d9f791d53d2ae98bffd1be71beaa23b4019f904 |
Hashes for polyscope-0.1.2-cp27-cp27m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2973833c190fbf17dea18be611717d090c9126b3d10feabba008acd5d571e2eb |
|
MD5 | 8ad82041ab2daedac83f815ba7b6a60e |
|
BLAKE2b-256 | 1f9a38ab1992f45fef5fd5f0405b030697b669ac13a5eef1d45ef19154c7f890 |