opencl sop -> gasopencl dop

   320   0   0
User Avatar
Member
875 posts
Joined: Oct. 2008
Offline
How do I turn this opencl sop code:

#bind vdb &vel   float3 input=0   // output field

@KERNEL
{
    float3 vel = (float3)(1.0f,0.5f,0.1f);
    @vel.set(vel);
}

into gasopencl code?

vel is a vec3 vdb in sops. When I import it into dops I want to use a gasopencl node on it.

I cannot for the life of me figure it out. I think it has something to do with exactly what type of data it is in dops.
--
Jobless
  • Quick Links