I just wanted to cross post this here, since this OSL fisheye camera works as is in C4D, though developed for Lightwave and posted over in their forum. Thanks to @baltort for writing the code, and thanks to @Kalua for testing it in C4D.
viewtopic.php?f=36&t=68487
It works as is, but the slider controls (Aperture, Focal Distance, and FOV) in the Parameters section of the OSL panel are stuck. It's easy enough to change them in the OSL editor and do a "Reset and Compile". It's only half a page of pretty simple code, so don't be intimidated. Similarly, those parameters don't seem to be keyable. Perhaps someone familiar with OSL is up for tweaking it for easier C4D integration.
OSL Fisheye Camera in C4D
Moderators: ChrisHekman, aoktar