Jump to content

Redshift OSL Pointcloud functions


j00ey

Recommended Posts

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
"(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

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

 

[I've posted this on Sidefx.com too - if I find answers in one forum I'll copy them to the other too]

Edited by j00ey
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...