<div dir="ltr">I do not believe the front wall is transparent. Looking at the images it appears that everything is being rendered but the zbuffering is off or backwards. I'm not sure what you had to change to do the port but that would be my guess, some change related to creating the window, maybe it is missing a depth buffer or it is setup oddly.<div><br></div><div>Ken</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 25, 2016 at 9:26 AM, Signum <span dir="ltr"><<a href="mailto:artur.jaskiewicz2@gmail.com" target="_blank">artur.jaskiewicz2@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello. I am porting VTK to Google Native Client (Pnacl) which fully supports<br>
OpenGL ES 2.0.<br>
I think most of the work I need for my application is done (e.g.<br>
vtkImageReslice works fine), but now I have a problem with rendering simple<br>
Sphere or Cube or anything in 3D. The problem is that front walls renders<br>
transparent.<br>
On included image, cube on the left is what it should look like, and cube on<br>
the right is problematic rendering on OpenGL ES 2.0 (Native Client).<br>
<<a href="http://vtk.1045678.n5.nabble.com/file/n5737865/L5un3.png" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/file/n5737865/L5un3.png</a>><br>
<br>
To better visualise this problem, I've recorded video: VTK rendering<br>
artifacts video <<a href="http://sendvid.com/mjoa1upo" rel="noreferrer" target="_blank">http://sendvid.com/mjoa1upo</a>><br>
<br>
Does anybody have any idea what goes wrong here?<br>
<br>
PS. I also asked this question on stackoverflow:<br>
<a href="http://stackoverflow.com/questions/36790966/vtk-rendering-artifacts-with-opengl-es-2-0" rel="noreferrer" target="_blank">http://stackoverflow.com/questions/36790966/vtk-rendering-artifacts-with-opengl-es-2-0</a><br>
<<a href="http://stackoverflow.com/questions/36790966/vtk-rendering-artifacts-with-opengl-es-2-0" rel="noreferrer" target="_blank">http://stackoverflow.com/questions/36790966/vtk-rendering-artifacts-with-opengl-es-2-0</a>><br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Problem-with-rendering-3D-objects-with-OpenGL-ES-2-0-tp5737865.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/Problem-with-rendering-3D-objects-with-OpenGL-ES-2-0-tp5737865.html</a><br>
Sent from the VTK - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br>518 371 3971<div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message.
Thank you.</span></div></div></div>
</div>