Visualize normals in third party application?
<p>I am working on writing an exporter for 3D models which can be viewed in PDF (ie using PRC format), currently I am trying to figure out how to correctly write the normals to that format (which is not really explained very well in the spec). I created some very simple models (in OBJ) made of just a few triangles, with both perpendicular and non-perpendicular normals. However when I add the PRC to the PDF to view it in Adobe Reader, they look wrong (judging by how the light falls on them).</p>

<p>Now I would like to know if there are some kind of tools or debug utils which let me intercept the data as it is rendered by Adobe and somehow visualize the normals (or at least get the numbers)? I think if I can actually see which way the normals go (and if they indeed point in the correct hemisphere) then it might help me greatly to figure out how to encode the data correctly.</p>

<p>I am on Windows 10 and have an nvidia graphics card (GTX 970), and Adobe seems to use DirectX 9, and I use Visual Studio 2012 (but I also have installed VS 2015, just not using it for my projects (yet) as it seems to have a very high memory footprint).</p>

<p>This is an example of how one of my simple models is rendered in Adobe (purple) and also in my test app (showing normals in my app on top):
<a href="https://i.stack.imgur.com/Hmnj8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Hmnj8.png" alt="enter image description here"></a></p>