On 02/02/2018 at 07:25, xxxxxxxx wrote:
welcome to Plugin Café forums
There's no such thing as a camera plugin in Cinema 4D. But there are a few options which may or may not work for you. Maybe you can explain a bit more what the "Visual Motion 3D Stereo Camera" is supposed to be, then it would be easier to provide some guidance.
First of all I want to make sure, you are aware of the stereoscopic and spherical camera options of Cinema 4D's built in camera.
First two options differ mainly in workflow and may be considered if the options of the existing camera suffice. Either a custom tag (TagData plugin) to be assigned to an existing camera and changing its parameters, or an object generator (ObjectData plugin, OBJECT_GENERATOR) creating a standard camera with the needed parameters. The second approach for example is used for Cinema 4D's Camera Crane object.
Then you could implement a VideoPostData plugin creating a custom lens (VIDEOPOSTINFO_CUSTOMLENS or VIDEOPOSTINFO_CUSTOMLENS_EXTENDED) by making use of CreateRay() or CreateRayExtended(). This works for rendered images, only (i.e. not in viewport).
Lastly we have an example VideoPostData plugin demonstrating a stereoscopic viewport in cinema4dsdk. This is already pretty advanced and we unfortunately have no documentation to help any further.