drumath2237 / K4A-PointCloud-VFX

AzureKinectで取得した点群をVFXGraphで表示するサンプル
https://twitter.com/ninisan_drumath/status/1272083855197868032
MIT License
4 stars 0 forks source link

Could you help me to see this problem. #3

Open fashionguy opened 4 years ago

fashionguy commented 4 years ago

image

I need to use VFX to make something like a vector field, but I am not familiar with this. So open your respository and appear some error. Could you see these error please.

fashionguy commented 4 years ago

I have no kinect. There is a way to look your repository effect without kinect?

drumath2237 commented 4 years ago

@fashionguy

Thank you for seeing my repo.

This project needs Azure Kinect SDK and its environment, so without this you cannot run full functions. But, if you only want to see VFX Graph, you can copy the vfx asset to your project. VFX asset in this project depends HDRP and VFX Graph, and it uses attribute map to set particle positions. You can make attribute map by using PointCache tool, and then set into "Set Position form Map" context node.

Soon, I'll commit new version of vfx graph, so please take care.

fashionguy commented 4 years ago

@drumath2237 Thx for your reply quickly. In fact, I am going to make something shown in the image. QQ截图20200512094919

And now I bake this model using pointcache tool. and set into "Set Position form Map", get this result shown in the image below. QQ截图20200614202056 image

I just don't know how to make particles circle round like blowing the wind into the water to form a cavity. It really bothers me. Do you have any suggestions for me please? sry to say so much.

drumath2237 commented 4 years ago

@fashionguy I see... in fact, I'm not knowledgeable about fluid mechanics, so don't know how the physical phenomenon occurs.

By the way, VFX Graph can use external property in unity script. So, it seems that you can program the simulation (especially collision detection and fluid physics) and push some property to vfx graph.

For example, calculate particle velocity and create attribute map in a compute shader.

Is it OK? I'm sorry to know about this academic field.

fashionguy commented 4 years ago

@drumath2237 Hahaha, thx, not involving an academic field. just a work that just requires a rough 3D outline., no need to close the physical scene.