How to transfert sampled uv with points to voxel (smoke) in geometrie node ?

Question Modeling

Hi,

I'd like to know if there's currently a way to transfer UV coordinates from geometry to points, and then pass that data into voxel fields. It's easy enough to sample UVs from a surface and apply them to points for a simulation, but what I want is to push this vector data into a smoke volume, so it gets advected along with the simulation.

My goal is to transfer UVs from a plane to the smoke that's emitted from it, and have the UVs advected just like we usually do from surface to points. For example: sampling UVs from the surface to the emitter points, then transferring that into the smoke simulation. That way, I could map a texture to the smoke based on the original UVs, meaning I can change the floor texture without having to re-simulate everything.

It's working with point but I want smoke at the end ;)

Thanks,

Matt

1 love
Reply
  • Martin Aversa(cgtin) replied

    Hey Matt, Im not sure if this helps, but it might give you an idea at leastĀ 


    https://www.youtube.com/watch?v=4hy4CTu3eLc


    Cheers!

    1 love
  • MattRM replied

    Hi Martin,

    Yes, that’s the method I usually use to transfer UVs from a surface to points. But my current question is : how can I pass that data into a volumetric representation ?

    Once I convert the points to a volume using "Point to Volume", I lose all the UV data. What I’m trying to achieve is a way to store a vector (like a UV coordinate) in each voxel cell, similar to what Houdini allows, so that I can color the smoke based on image data.

    I’m using Embergen for smoke simulation and planning to export particles as well. These particles originate from the ground and are triggered by a wheel interaction, simulating the smoke emission. Since these points already carry the UVs of the ground and move according to the smoke sim, I’m wondering : is there a way to use this to color the smoke based on the image / UVs ? Or is that kind of data just lost in the volume step ?

    Attached are a few screenshots from my current scene, showing the UVs remapped to the points.

    Thanks in advance for your help!

    Cheers,

    Matt

    Stored_UV_001.pngStored_UV_002.pngStored_UV_003.png

    1 love
  • Martin Aversa(cgtin) replied

    Oooof, this looks heck interesting, but unfortunately I'm not smart enough to help you ahaha, good luck! And keep me posted if you find a way :D

    2 loves
  • MattRM replied

    If I found a way, I'll post here ;)

    Matt

    • šŸ‘
    2 loves