Is it possible, using 3dsmax SDK to implement a raytracer independent custom camera distortion?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Usually in raytracers there is somewhere some function that takes a 2D point in texture-space of the output rendering returns a corresponding camera ray which then is traced by the raytracer. By customizing this function, you can implement different type of cameras (like cube-map cameras, cylindrical cameras or lens distortion).
What I wonder is whether this function is implemented in 3dsmax and can be customized using the max SDK, or whether this part of each renderer.
Optimally I would like to implement a custom camera (let's say a cylindrical one) that will work with any kind of raytracer (whether that's vray or corona or arnold or whatever) without having to create a custom plugin for each renderer.
Is this possible using the 3dsmax sdk?