Comments (2)
Hi,
This is an interesting suggestion, but changing GVDB_VOX directly would be a fairly big change since this is used by many different kernels. In order to accept such a big change, you would need to create a pull request that also included testing of all the existing samples.
Instead, I would suggest that you consider a pull request where you simply provide a new macro, say GVDB_VOX_ONLY, or GVDB_VOX_COVER, that only touches the actual voxels. Keep the original GVDB_VOX as is. Note that your solution is not yet complete, because while you have resolved the indexing to just touch actual voxels, you would also need to modify the host code to reduce the number of threads being launch. Otherwise you still have the same GPU grid size, and will not get much benefit, just cause some threads to be idle. The grid launch itself would need to only launch 1 thread per real voxel (/w apron), and then the indexing maps the logical thread to a real voxel, as you have done.
from gvdb-voxels.
Thanks for the comment, I will close this issue and may be create a pull request in the future
from gvdb-voxels.
Related Issues (20)
- CMake Error at source/gvdb_library/CMakeLists.txt:225 (target_link_libraries): The "optimized" argument must be followed by a library. HOT 2
- GVDB CUDA ERROR: the provided PTX was compiled with an unsupported toolchain HOT 2
- Error Buiding OpenVDB Samples HOT 1
- Hardware Requirement HOT 2
- Missing case for T_FLOAT4 in AllocateTextureGPU
- GVDB CUDA ERROR with T_UCHAR channel in UpdateAtlas() -> Allocator::AllocateTextureGPU
- Which commit/version of NanoVDB should I use? HOT 5
- UpdatePolygons OptixScene not working
- Error thrown in RebuildTopology()
- How to add and display multiple models to a scene?
- Error when run the samples
- nanovdb has no member "mOffset" and "childID" , what version nanovdb is needed?
- How to load multiple vdb?
- compilation errors in gvdb_cutils.cu with CUDA 12 HOT 1
- compilation errors in gvdb_cutils.cu with CUDA 12 HOT 1
- How to manage the format of source codes, since the .clang-format file is NOT offered?
- NOT FOUND. GVDB Ptx/Glsl. (ptx or glsl missing) HOT 1
- Allocate bricks for negative values in the world space
- VolumeGVDB::RenderKernel ERROR: an illegal memory access was encountered
- PTX JIT compilation failed
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 gvdb-voxels.