Archived post by jake rice

fun hot tip, inside your $HFS/ocl/compute folder, the team at sesi has included both a simple sparse matrix vector multiplication function as well as a bunch of opencl vector functions, including parallel reduction for large dot product operations 😮

definitely worth taking a look at

Archived post by jake rice

@Yon in it’s simplest form, it’s a local coordinate system for a given triangle, so like where (x, y, z) is your position in Cartesian space, (u, v, w) could be your position in barycentric coordinates, where `u + v + w = 1` meaning as long as your u,v and w are all positive and sum to 1, you’re inside the triangle somewhere

giving you an easy way to interpolate values on triangle vertices