TyFlow - Render VrayVelocity pass - Printable Version +- tyFlow Forum (https://forum.tyflow.com) +-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html) +--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html) +--- Thread: TyFlow - Render VrayVelocity pass (/thread-3612.html) |
TyFlow - Render VrayVelocity pass - AkiraShitamori - 04-05-2023 Hello! I have scattered a simple object alembic export from SpeedTree with TyFlow on particles as Render instances in the shape modifier. I've turned on animation in order to have the growth animation and it works properly. In every pass I get proper data but when I render I get an empty VrayVelocity from the TyFlow object. I tested if the problem begins from the alembic export but it works okay, meaning I get information/colors in the VrayVelocity pass. Is there a way to enable/feed TyFlow to render VrayVelocity? Thank you in advance, Akira RE: TyFlow - Render VrayVelocity pass - tyFlow - 04-05-2023 Are you talking about deformation animation on the input geometry, which is scattered with a Shape operator? If so, the only way you'll get VRay Velocity data for that, is if you convert all of your particles to meshes and render the entire flow like a giant mesh. You won't get any deformation velocity data using instances. If you're rendering a couple of trees that shouldn't be an issue - but if you're trying to render a big forest or thousands of instances, you probably won't have any luck there (too much RAM required to render as meshes). Alternatively you could use a tyVertexVelocity modifier on the input geometry and save the velocity data to a map channel. Then those vectors (saved in the map channel) can be rendered as instances by just applying a Vertex Color texmap to the geometry (so it won't come out in the VRay Velocity render pass, it'll just come out in a texmap override pass, or diffuse pass, or whatever you use to render the Vertex Color texmap). RE: TyFlow - Render VrayVelocity pass - AkiraShitamori - 04-05-2023 Thank you very much for the fast reply!! I'll test it out tomorrow and let you know!! RE: TyFlow - Render VrayVelocity pass - AkiraShitamori - 04-06-2023 TyVertexVelocity is working super well as expected! I placed the TyVertexVelocity on top of the alembic and then scattered it on particles with TyFlow as RenderInstances. Velocity source -> Velocity from proximity Deformation mode -> Subframe interpolation Velocity from proximity -> Face (Hybrid) Max search dist: 10000m Time offset -> 100% Velocity multiplier -> 10,0 Checked assign to map channel Channel : 2 And then created an VrayExtraTex ( In order to create a custom pass ) and plugged a "Vertex Color" as the texture map. Works well to add motion blur in post! RE: TyFlow - Render VrayVelocity pass - tyFlow - 04-06-2023 Great! |