Giter Site home page Giter Site logo

Comments (5)

Tom94 avatar Tom94 commented on May 14, 2024

Hi, absolutely! In our instant-ngp project, we've implemented a number of neural graphics primitives using this framework, one of which is indeed an SDF. You can run it and pass it a .obj-formatted mesh and it'll fit a corresponding SDF within a second or so + give you a live rendering preview.

Over in that project, see testbed_sdf.cu for the SDF-specific source code.

from tiny-cuda-nn.

lykius avatar lykius commented on May 14, 2024

Hi @Tom94, thanks a lot for your answer!

I know instant-ngp, it's super awesome!! I was trying to use tiny-cuda-nn since I'm currently interested in a more general MLP formulation, without hash encoding. Maybe I can start from the SDF fitting in instant-ngp and remove the hash encoding. What do you think?

from tiny-cuda-nn.

Tom94 avatar Tom94 commented on May 14, 2024

instant-ngp's SDF code uses tiny-cuda-nn's NetworkWithInputEncoding, which can use any encoding that you'd like. All you need to do is change out the encoding in the .json configuration that you pass to the program via the --network argument. It loads <task>/base.json by default, where <task> is sdf in this case.

from tiny-cuda-nn.

lykius avatar lykius commented on May 14, 2024

Ok I'll try that!
Thanks a lot, I really appreciate your help!

from tiny-cuda-nn.

Tom94 avatar Tom94 commented on May 14, 2024

Gladly!

from tiny-cuda-nn.

Related Issues (20)

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.