Redshift OSL Pointcloud functions

   1692   0   0
User Avatar
Member
55 posts
Joined: May 2013
Offline
I'm exploring some OSL with Redshift and have hit a bit of a brick wall trying to figure out how to do a point cloud lookup. There's not much info online and a lot of it is pretty old and I'm guessing potentially out of date.

There are a couple of specific issues -

--I gather OSL needs to be built with PartIO for the point cloud functions to work
From Github https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/blob/main/INSTALL.md#dependencies [github.com]
"(optional) PartIO If it is not found at build time, the OSL pointcloud functions will not be operative."

--It sounds like I need to use .ptc format - all I can find about writing that format is also to do with PartIO and I'm a bit stumped as to how to use it
https://github.com/wdas/partio [github.com]

So the first thing to establish is whether Redshift OSL implementation supports the functions or not. And if it does, do I need to bite the bullet and figure out how to get PartIO working with CMake, or however it's supposed to be done..?

Thanks for reading

Edited by j00ey - May 26, 2022 05:43:04
  • Quick Links