Announcement

Collapse
No announcement yet.

VRay Cameras

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • VRay Cameras

    Hi,

    We have been looking into writing our custom spherical lenses in some other renderers. We tried the spherical lenses from Vray, but the algorithms don't seem to align with ours. VRay seems to stretch/squash based on the device / pixel aspect. In this case we like to write our own camera lens. (the old wrapped one has some weird curvy deformation at the top or bottom)

    Now the docs contain some good samples of how to write your own camera, take vray_cameradome for example.
    But we are having a hard time figuring out how this is used within Maya? When installing the .so file in the vray plugins directory, where do we activate it inside Maya?

    Regards,
    Jeroen

  • #2
    It would probably be easiest to create an instance of your camera in the post-translate Python callback using the create() function as described here: http://www.spot3d.com/vray/help/maya...ene_access.htm

    It is enough to create an instance of your camera sampler; V-Ray will pick it up during rendering.

    It's not very user-friendly, but it will work for the time being, until we get to implement hooks for custom cameras in Maya.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      Thanks vlado, we shall try that!

      Jeroen

      Comment

      Working...
      X