<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to render Z values from camera plane in Maya Shading, Lighting and Rendering Forum</title>
    <link>https://forums.autodesk.com/t5/maya-shading-lighting-and/how-to-render-z-values-from-camera-plane/m-p/9865785#M6046</link>
    <description>&lt;P&gt;Thank you very much for the solution. Even though rendering from CPU takes lot of time. I will use it. But is there any way we can do it with GPU.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried to transform the GPU rendered image to planer image, using the angle of field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know the horizontal angle is 54.43. What would be the vertical angle of view with a focal length of 35mm for a image of resolution 3840x2560.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Nov 2020 20:59:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-12T20:59:01Z</dc:date>
    <item>
      <title>How to render Z values from camera plane</title>
      <link>https://forums.autodesk.com/t5/maya-shading-lighting-and/how-to-render-z-values-from-camera-plane/m-p/9860769#M6039</link>
      <description>&lt;P&gt; While rendering Z values, how can we convert the distance of pixels from camera to distance of the pixel from camera plane.&lt;/P&gt;&lt;P&gt;For example, if I render the depth value of a plane wall, all the Z values of the rendered depth should be same but pixels at the corner have more values then pixels at the center indication that it computes distance of the pixel from the camera not the camera plane.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As indicated in the two screenshots of the plane wall at 100cm, Z values should be same but they are different.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I planarize the Z values of the plane wall?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Render settings are following.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Width - 3840&lt;/P&gt;&lt;P&gt;Height - 2560&lt;/P&gt;&lt;P&gt;Resolution - 72 pixels/inch&lt;/P&gt;&lt;P&gt;Device Aspect Ratio - 72&lt;/P&gt;&lt;P&gt;Camera angle of view is 54.43&amp;nbsp;&lt;/P&gt;&lt;P&gt;Focal Distance - 35&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 03:33:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-shading-lighting-and/how-to-render-z-values-from-camera-plane/m-p/9860769#M6039</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-11T03:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to render Z values from camera plane</title>
      <link>https://forums.autodesk.com/t5/maya-shading-lighting-and/how-to-render-z-values-from-camera-plane/m-p/9861419#M6040</link>
      <description>is the camera perfectly perpendicular to the plane? if not the distance would be different.</description>
      <pubDate>Wed, 11 Nov 2020 10:36:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-shading-lighting-and/how-to-render-z-values-from-camera-plane/m-p/9861419#M6040</guid>
      <dc:creator>_sebastian_f</dc:creator>
      <dc:date>2020-11-11T10:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to render Z values from camera plane</title>
      <link>https://forums.autodesk.com/t5/maya-shading-lighting-and/how-to-render-z-values-from-camera-plane/m-p/9861434#M6041</link>
      <description>the marking menu appears that way to be displayed completely on screen. if it would be always in the same position relative to the cursor you would not be able to access all of it.</description>
      <pubDate>Wed, 11 Nov 2020 10:42:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-shading-lighting-and/how-to-render-z-values-from-camera-plane/m-p/9861434#M6041</guid>
      <dc:creator>_sebastian_f</dc:creator>
      <dc:date>2020-11-11T10:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to render Z values from camera plane</title>
      <link>https://forums.autodesk.com/t5/maya-shading-lighting-and/how-to-render-z-values-from-camera-plane/m-p/9861502#M6042</link>
      <description>lol! interesting forum glitch...&lt;BR /&gt;that answer above was posted in a totally different topic. not even in shading, lighting and rendering forum.</description>
      <pubDate>Wed, 11 Nov 2020 11:18:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-shading-lighting-and/how-to-render-z-values-from-camera-plane/m-p/9861502#M6042</guid>
      <dc:creator>_sebastian_f</dc:creator>
      <dc:date>2020-11-11T11:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to render Z values from camera plane</title>
      <link>https://forums.autodesk.com/t5/maya-shading-lighting-and/how-to-render-z-values-from-camera-plane/m-p/9863318#M6043</link>
      <description>&lt;P&gt;Thank you very much for the response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes camera is perpendicular to the wall.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 01:40:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-shading-lighting-and/how-to-render-z-values-from-camera-plane/m-p/9863318#M6043</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-12T01:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to render Z values from camera plane</title>
      <link>https://forums.autodesk.com/t5/maya-shading-lighting-and/how-to-render-z-values-from-camera-plane/m-p/9863319#M6044</link>
      <description>&lt;P&gt;I opened the image in MATLAB and Python and when I read the Z values they are all different.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 01:41:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-shading-lighting-and/how-to-render-z-values-from-camera-plane/m-p/9863319#M6044</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-12T01:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to render Z values from camera plane</title>
      <link>https://forums.autodesk.com/t5/maya-shading-lighting-and/how-to-render-z-values-from-camera-plane/m-p/9863902#M6045</link>
      <description>ok i was finally able to reproduce it here. when rendering with gpu i get a similar result. so for now you might need to render using the cpu to get a plane depth pass.</description>
      <pubDate>Thu, 12 Nov 2020 08:15:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-shading-lighting-and/how-to-render-z-values-from-camera-plane/m-p/9863902#M6045</guid>
      <dc:creator>_sebastian_f</dc:creator>
      <dc:date>2020-11-12T08:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to render Z values from camera plane</title>
      <link>https://forums.autodesk.com/t5/maya-shading-lighting-and/how-to-render-z-values-from-camera-plane/m-p/9865785#M6046</link>
      <description>&lt;P&gt;Thank you very much for the solution. Even though rendering from CPU takes lot of time. I will use it. But is there any way we can do it with GPU.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried to transform the GPU rendered image to planer image, using the angle of field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know the horizontal angle is 54.43. What would be the vertical angle of view with a focal length of 35mm for a image of resolution 3840x2560.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 20:59:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-shading-lighting-and/how-to-render-z-values-from-camera-plane/m-p/9865785#M6046</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-12T20:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to render Z values from camera plane</title>
      <link>https://forums.autodesk.com/t5/maya-shading-lighting-and/how-to-render-z-values-from-camera-plane/m-p/9872980#M6047</link>
      <description>right now it seems to me arnold is doing it like this when rendering on the gpu. so if it matters you need to use the cpu for now.&lt;BR /&gt;if you are really only render a plane perpendicular to the cam you probably don´t need that zdepth at all, if you render a scene which really has some depth you need to try if it´s visible. also i want bring up the question if the depth of the gpu rendering is more correct than on the cpu ? &lt;BR /&gt;the angles are dependent on the focal length and the aperture. you´ll find all the math to calculate and also some tables based on common lenses online. all that is not really important in a pure 3d workflow in my opinion. the resulting picture is what matters. if you plan to compose it with live action footage then for sure you should match the original camera.&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Nov 2020 16:11:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-shading-lighting-and/how-to-render-z-values-from-camera-plane/m-p/9872980#M6047</guid>
      <dc:creator>_sebastian_f</dc:creator>
      <dc:date>2020-11-16T16:11:06Z</dc:date>
    </item>
  </channel>
</rss>

