Laser light scanning pt2

Question Modeling

So last time, I have been trying to learn about Raycast node but don't know how to incorporate it into this scene.

The laser simply goes through the coin and it looks pretty bad.

untitled.png

So I want to cut off the laser mesh like this as the coin rotates around itselff

Screenshot_1.pngScreenshot_1.png

I would appreciate your help and advice a lot


  • Martin Bergwerf replied

    Hi, sorry but I haven't gotten around to trying this with Geometry Nodes, but shouldn't the coin block the laser more like this?

    Laser_1.png

    Anyway, another possibility might be shoot Particles in the direction of the coin (swooping left to right to left,...) and make the coin a Collision Object and set the Particles to Die on Hit...again, I haven't tried it yet, but it seems like it might be a promising idea...

    Trying to do this in a Shader is going to be really tricky.

    1 love
  • Quang Tran(costelo123) replied

    spikeyxxx Oh yeah, that looks really nice. I will try to follow your suggest and see what I can do.

    Sorry for being a slowpoke to Blenders and awesome of you to reply and help me

  • Omar Domenech replied

    This is an interesting problem, I can totally see JL having his curiosity peaked by trying to solve such a riddle. Maybe ping him @jlampel

  • Jonathan Lampel replied

    I tried this out during this week's office hours and found a decent solution:

    If using a complex object like your coin, you may want to do this on the convex hull of the mesh rather than the mesh itself. I opted not to use a raycast because that would check from every point, meaning that we'd need to subdivide the laser mesh way too much in order to get a decent result. With a boolean, we get a perfectly clean cut. 

    Here's a link to the file if you want to check it out: https://www.dropbox.com/s/dojofm7v3lkdwjm/coin_laser_shadow.blend?dl=0 

    1 love