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

Documentation for isosurface algorithms misses some aspects #5

Open
realvictorprm opened this issue Mar 4, 2017 · 2 comments
Open

Comments

@realvictorprm
Copy link

realvictorprm commented Mar 4, 2017

Hello :)
I read your blog about the isosurface extration algorithms. I was especially interested in the naive surface algorithm. However during studying your source code it wasn't possible for me to find out how your input data is matched onto the 3 dimensional coordinates.

Also I struggled with where the algorithm for the edges in the naive surface nets algorithm is from . I searched for several days but haven't found anything according automatic generation of the edge table.

At least I'm also trying to find out how the faces are made in the naive surface nets algorithm nut the his maybe will be clear after I do know how the 3d data is mapped into one array.

It would be very cool if you either explain me how things are or make some additional comments to the algorithms (e.g. naive surface algorithm)

@realvictorprm realvictorprm changed the title Documentation for isosurface algorithms is tin Documentation for isosurface algorithms misses some aspects Mar 5, 2017
@pilat-bartosz
Copy link

About input data:
In testdata.js there is function - "makeVolume()". It take array of space with resolution (dims) and function that describe 3d shape
i.e. sphere - is in space [-1,1] in xyz with 0.25 resolution. That means voxel data will be 8 (from -1 to 1 divided by 0.25) but he adds 2 for minimal value then last resolution is [10,10,10].
Next he probes that space with sphere function with r sets as 1 that means every value above 0 will be outside sphere which is checked in surfacenets.js while making mask.

If you learn rest of things you asked for, please let me know. I have hard time with these too.

@realvictorprm
Copy link
Author

@KRajca it was meanwhile possible for me to understand the Naive Surface algorithm. I've implemented the algorithm successfully in F# :)

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

2 participants