Coder Social home page Coder Social logo

Comments (4)

YueJiang-nj avatar YueJiang-nj commented on August 16, 2024 1

I think it is the same as what I did.
We are also using:
while not converged:
p += SDF(p) * v

from cvpr2020-sdfdiff.

YueJiang-nj avatar YueJiang-nj commented on August 16, 2024
  1. Is a simple approximation of an intersection point like p=s+SDF(s)v problematic?

SDF(s) is the closest distance to the object. But for intersection, we want to find the intersection point on the ray.
For example, if your current position has distance 1 cm to the surface, but you are parallel to the closest surface which is not along the ray. Then SDF(s) = 1 cm, but moving 1 cm along the ray will not let you reach the surface.

  1. Why did you use the eight local samples some of which are not on the ray?

That's because we are using voxel-based SDF grid. So only the grid point values are known. For each point in the grid but is not exactly the grid point, the value can only be known by being trilinear interpolated from the surrounded grid point values. i.e., the 8 grid points around it on the little cube the point is in.

from cvpr2020-sdfdiff.

skmhrk1209 avatar skmhrk1209 commented on August 16, 2024
  1. I mean,
# --- ray marching ---

# maybe the same as "renderer_kernel.cu"
with torch.no_grad():
    while not converged:
        p += SDF(p) * v

# make only the last step differentiable
with torch.enable_grad():
    p += SDF(p) * v

But I think this is impossible when using voxel-based SDF.

  1. I had forgotten your network output is discrete SDF voxel. I got it now.

Thank you.

from cvpr2020-sdfdiff.

lishixuan001 avatar lishixuan001 commented on August 16, 2024

Hi Yue,

Can the result be directly loaded into Autodesk 3D to reduce the work of 3D modeling? Or at least is it possible (in a validated way) for any other related works?

from cvpr2020-sdfdiff.

Related Issues (15)

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.