-
Notifications
You must be signed in to change notification settings - Fork 11
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
Possible incorrect variable usage #8
Comments
Hi again, I saw that replacing by precisionLUT.size is not the solution since some times precisionLUT.exp + 1 is greater than precisionLUT.size. Then, I don't know what is the purpose of adding precision.size. I guess it can just be removed, since when it is undefined, the slice() function gets the string until the end. |
Hallo hallo - yup, should 100% be Feel free to make a PR on that - I did notice very compressed VDBs currently no longer load, but sample VDBs from Embergen do load nicely. At some point I'll get back to this lib and push a refreshed API - but no changes in the core VDB loader are currently in the works, so if there's something in need of fix - feel free to push a PR 🙌 (If you'd like to brainstorm parts of the API or some specific issues, feel free to msg on discord, @mjurczyk, always happy to code some clouds.) |
Hi, Thanks for the answer! Yes, from the examples I got the value type HalfFloats and Floats were enough. I'm doing my implementation in C++, which is funny because in theory I should prefer using the original OpenVDB library as reference, but recently I've been coding more often in JS, so I understand your repo better. I'll write down if I find any improvement or extend any unsupported versions, and I'll try to do a PR at some point (cannot promise though). (I love clouds, so it would be nice to chat about them in discord 😶🌫️) |
Hi,
I'm trying to implement a VDB parser for a personal engine without using the OpenVDB library because it is quite large and has many dependencies. I found your repository, which is easier to understand than the original, and I must say that I am very impressed with your work.
While looking at the BufferIteration class, I think I found a bug in your code. Specifically, when you call precision.size, I believe you meant precisionLUT.size. I have debugged it, and precision.size returns undefined, but it does not break the execution. I don't know if I am right or not, but I thought it was a good idea to let you know.
openvdb/src/openvdb/core/BufferIterator.js
Line 141 in 2173458
Cheers,
The text was updated successfully, but these errors were encountered: