Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What exactly is connectivity? #37

Open
jandrovins opened this issue Apr 20, 2019 · 2 comments
Open

What exactly is connectivity? #37

jandrovins opened this issue Apr 20, 2019 · 2 comments

Comments

@jandrovins
Copy link

pyoctree.PyOctree(pointCoords,connectivity)

I'm trying to use your data structure to find collisions on a cloud of spheres. I have the coordinates of each point, but I do not understand what is the second parameter used for, nor why it is mandatory...

Am I just missing something?

@themmes
Copy link

themmes commented Aug 29, 2019

@jandrovins Good question! Connectivity means the edges between the points of the mesh. I was hoping it wouldn't be needed too. However the library seems to be oriented towards ray intersection with meshes. From the README.md:

#pyoctree

Octree structure containing a 3D triangular mesh model. To be used for ray tracing / shadow casting.

@zdens
Copy link

zdens commented Mar 10, 2020

still no answer:(
why should the length of connectivity be equaled to the length of the pointCoords?
one item in pointCoords is one point whereas one item in connectivity is one triangle, isn't it?
given the mesh of cube from 12 triangles we obtain 12*3 points...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants