Giter Club home page Giter Club logo

Comments (8)

sergeneren avatar sergeneren commented on May 24, 2024

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.

chena1982 avatar chena1982 commented on May 24, 2024

Could you please upload a vpt.exe, Thanks.

from volumetric-path-tracer.

sergeneren avatar sergeneren commented on May 24, 2024

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.

chena1982 avatar chena1982 commented on May 24, 2024

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.

sergeneren avatar sergeneren commented on May 24, 2024

Ok. Will look into that.

from volumetric-path-tracer.

chena1982 avatar chena1982 commented on May 24, 2024

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.

sergeneren avatar sergeneren commented on May 24, 2024

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.

Capture

from volumetric-path-tracer.

chena1982 avatar chena1982 commented on May 24, 2024

Thanks.
Finally, it works now.

ps, nvidia update some makefile recently, fix the error.

from volumetric-path-tracer.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.