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

Creating Tables for N-Dimenstion #28

Open
Gillani0 opened this issue Feb 10, 2017 · 3 comments
Open

Creating Tables for N-Dimenstion #28

Gillani0 opened this issue Feb 10, 2017 · 3 comments
Assignees

Comments

@Gillani0
Copy link

Hi,

Sorry for opening such and issue. However, I was interested if its possible to generate Morton code for n-dimesnsions using the precomputed tables. That is, generating such tables for LUT. Cheers

PS: I can't seems to find the coding and decoding version of naive for-loop implementation (as discussed in your blogs).

@Forceflow
Copy link
Owner

@Gillani0
Copy link
Author

Hi, thanks for pointing it out. Apparently I missed these functions.

Any idea to extend the "for loop" for a generalised N-dimenstions? I've tried while following the same approach for 2-d and 3-d. However, the the decoding function is not producing the expected results. Cheers.

@Forceflow
Copy link
Owner

I'll look into generalized (n > 3) functions later, though the techniques should be very similar.

@Forceflow Forceflow self-assigned this May 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants