Can Hoops Communicator be used to achieve pipeline flow effects

20210310222234178
The flow effect shown in the above image.Can it be implemented using Hoops?
Thanks.

Hi,

as HOOPS Communicator currently does not support custom shaders (this feature is on our roadmap), you would instead have to manipulate the texture coordinates of the mesh representing this “pipe hull”. Basically you would pick an appropriate arrow texture with transparency and then for every animation frame adjust the texture coordinates of the mesh and then replace the existing mesh via the replaceMesh function. Alternatively you could precompute the meshes and flip between them or just switch between different textures with the animation steps already precomputed/predrawn.

We are working on a spline utility library that will make it easy to define this type to curved tube mesh, which also comes with some animation capabilities mainly for flowlines but it is not using textures. For a sneak peek of that new toolkit please see here:
https://3dsandbox.techsoft3d.com/?snippet=8mzzhb7cowgrUlja2H7gpm&autorun=true

1 Like