Hello there!
I have been developing an OSL camera shader for a projection mapping project. Within Octane standalone, I can access the OSL Baking Camera type, but via the C4D plugin (Octane and plugin v4.04) the OSL Baking Camera isn't available.
The OSL Camera type is available in C4D, and I currently have a workaround. However, the shader could be greatly optimized and quality increased if we could access the OSL Baking Camera from C4D. Currently we're baking world position maps to UVs as 32-bit EXR, then accessing that info via the OSL camera, but accessing geometric info directly via the OSL Baking Camera would be amazing!
Incidentally, I tried using the Baking Camera OSL sample code (link:https://docs.otoy.com/osl/camera/) on a Standard OSL camera, but to no avail. It can't seem to access _findBakingPrimitive(), which makes sense.
Thank you,
Aaron