Comments (8)
Yes the file path is hardcoded at main.cpp. Try full path if you are having problems at finding the file.
For compilation of cudapp, please refer to https://github.com/NVIDIA/gvdb-voxels
from volumetric-path-tracer.
Could you please upload a vpt.exe, Thanks.
from volumetric-path-tracer.
I can but the exe will still be my file system specific. I will add the vdb file path as an argument later.
Could you try a full path to vdb in "gvdb.LoadVDB(scnpath);" replacing scnpath.
main.cpp line 877
from volumetric-path-tracer.
Could you try a full path to vdb in "gvdb.LoadVDB(scnpath);" replacing scnpath.
main.cpp line 877
gvdb.LoadVDB("C:/GitHub/Volumetric - Path - Tracer/assets/wdas_cloud_quarter_filled.vdb");
Don't work, it don't failed here.
It's failed when initialize the gvdb, line 867, init_gvdb(); the "cuda_gvdb_module.ptx" path "D:/PROJECTS/gvdb-voxels/_output/lib" is hardcode in the libgvdb.lib.
I compile the libgvdb.lib my self now, but it still failed, when call cudaMalloc, it will lead to out of memory, it's strange, because cudaMalloc should alloc memory on GPU.
from volumetric-path-tracer.
Ok. Will look into that.
from volumetric-path-tracer.
The crash is beed fixed, it's a bug of shared_cudpp.
But the vdb can't been loaded, becuase when generate the project sln file, the macro "BUILD_OPENVDB" didn't been add to the project.
I find the "FindOpenVDB.cmake" in folder thirdparty\gvdb\sample_utils, but in the source\CMakeLists.txt, it didn't use openvdb lib.
from volumetric-path-tracer.
Can you try building this fork https://github.com/sergeneren/gvdb-voxels
I've automated cmake a little bit to grab openvdb libraries from vcpkg.
from volumetric-path-tracer.
Thanks.
Finally, it works now.
ps, nvidia update some makefile recently, fix the error.
from volumetric-path-tracer.
Related Issues (9)
- [OTHER] How to precompute atmosphere?
- VS.file can't bulit HOT 1
- ptxas fatal error
- Image write causes crash after window size changed
- render empty window HOT 4
- [BUG] - VPT Crashes if a field has 0 active voxels
- [BUILD] VPT can't be built in debug mode due OIDN library errors. HOT 5
- [BUG]Alpha 1.03 crash
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 volumetric-path-tracer.