Comments (3)
Sorry for the delay of my reply.. Thanks for the CTRL-click tip, I was not aware of this one:)
Concerning the autoscale and VF, switching the vector type using polyscope::VectorType::AMBIENT
did the job for me (with thus relative length).
Actually, I don't see any use case of having scaled geometry but non-scaled vectors in a viewer.
thx again for the feedbacks.
from polyscope.
state::lengthScale
seems to be fine.. Looks like the issue is during the draw with absolute/relative conversions... strange..
from polyscope.
Ah, this makes sense. If state::lengthScale
seems fine then it might just be a UI issue, I still haven't figured out how to expose absolute/relative values in sliders intuitively--it might just be a matter of using different limits for absolute values.
Also, this raises another problem: if a structure is being scaled drastically via its model transform (like what happens due to autoscaleStructures
), should data like radii be set in the original units, or the scaled units? Right now I think these values get set in the original units, and that's probably the only sane thing to do, but I'm not even sure.
I'll have to dig in to improving this for a future version. Let me know if you spot any concrete bugs, or have any ideas about how things should work!
(FYI for others: remember that you can always manually set a value by ctrl-clicking on the UI sliders as a workaround)
from polyscope.
Related Issues (20)
- Help! The directory "glfw" in the subdirectory"deps" is empty HOT 4
- Volume Grid Marching Cube gives a rotated result HOT 1
- Issues building on GCC 13 and modern Clang (15+) HOT 2
- Count Quantities disappeared? HOT 2
- Random crashes with `ValueError: Attribute a_vertexNormals has no buffer attached` HOT 5
- Add scene bounding box HOT 1
- Is there a documented account of how to access picking? HOT 5
- Coloring individual elements of a quantity/mesh HOT 2
- Surface Face Graph has been removed?
- Give the user a flag to temporarily disable Polyscope's built-in mouse click/drag, for creating custom UIs
- Subplots support HOT 2
- Overlaying Mouse-Drawn Sketches on 3D Objects HOT 2
- `screen_coords_to_world_pos` and SSAA
- Update vertex positions when structure is translated with the gizmo? (handling multiple structures) HOT 4
- Example ps.error not working in python
- Addjusting the normal
- Addition to callbacks & custom UIs - Python
- Add feature to 'parent' a structure's transform to another structure, to keep associated structures aligned.
- set_autoscale_structures sets incorrect scale
- Rotate/zoom around selected element
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polyscope.