<div dir="ltr">Thanks Ken. I see that in the example code you have added a call to RegisterFactory on OpenGL2. I am wondering why it is needed to make a explicit call to it? </div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 10, 2015 at 8:03 AM, Yassmin Abdallah <span dir="ltr"><<a href="mailto:yassminabdallah@gmail.com" target="_blank">yassminabdallah@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">No sir you are right, <div><br></div><div>just added this line and it works fine,</div><div><br></div><div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(112,61,170)"><span style="color:#000000"> </span>vtkObjectFactory<span style="color:#000000">::</span><span style="color:#3d1d81">RegisterFactory</span><span style="color:#000000">(</span>vtkRenderingOpenGL2ObjectFactory<span style="color:#000000">::</span><span style="color:#3d1d81">New</span><span style="color:#000000">());</span></div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"> <br></p><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(112,61,170)"><span style="color:#000000"> </span>vtkObjectFactory<span style="color:#000000">::</span><span style="color:#3d1d81">RegisterFactory</span><span style="color:#000000">(</span>vtkRenderingVolumeOpenGL2ObjectFactory<span style="color:#000000">::</span><span style="color:#3d1d81">New</span><span style="color:#000000">());</span></div></div><div><span style="color:#000000"><br></span></div><div>Thanks a lot. </div><div><span style="color:#000000"><br></span></div><div><span style="color:#000000"><br></span></div><div><br><div><blockquote type="cite"><span class=""><div>On Dec 10, 2015, at 2:57 PM, Ken Martin <<a href="mailto:ken.martin@kitware.com" target="_blank">ken.martin@kitware.com</a>> wrote:</div><br></span><div><span class=""><div dir="ltr" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Sorry I was assuming you were on iOS based on prior emails. If on x86 etc then ignore what I said. </div></span><div class="gmail_extra" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br><div class="gmail_quote"><span class="">On Thu, Dec 10, 2015 at 7:55 AM, Ken Martin<span> </span><span dir="ltr"><<a href="mailto:ken.martin@kitware.com" target="_blank">ken.martin@kitware.com</a>></span><span> </span>wrote:<br></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><div dir="ltr">Maybe try adding<div><br></div><div><div> <span> </span>vtkObjectFactory::RegisterFactory(vtkRenderingVolumeOpenGL2ObjectFactory::New());</div></div><div><br></div><div>early on and make sure you are building vtk with the OpenGL ES version 3.0 versus 2.0</div><div><br></div><div>Ken</div><div><br></div></div></span><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Thu, Dec 10, 2015 at 12:00 AM, Yassmin Abdallah<span> </span><span dir="ltr"><<a href="mailto:yassminabdallah@gmail.com" target="_blank">yassminabdallah@gmail.com</a>></span><span> </span>wrote:<br></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><span class="">Yes i included the header file,<div><br></div></span><div><span class="">i got bad access when initial with the error no override found,<br><div><br></div></span><div><span><Screen Shot 2015-12-10 at 6.53.27 AM.png></span></div></div><div><br></div><div><br></div><div><br></div></div><span class=""><br>_______________________________________________<br>Powered by<span> </span><a href="http://www.kitware.com/" rel="noreferrer" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<span> </span><a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the VTK FAQ at:<span> </span><a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Search the list archives at:<span> </span><a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br><br></span></blockquote></div><span class=""><span><font color="#888888"><br><br clear="all"><div><br></div>--<span> </span><br><div>Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br><a href="tel:518%20371%203971" value="+15183713971" target="_blank">518 371 3971</a><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></font></span></span></div></blockquote></div><span class=""><br><br clear="all"><div><br></div>--<span> </span><br><div>Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br><a href="tel:518%20371%203971" value="+15183713971" target="_blank">518 371 3971</a><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></span></div></div></blockquote></div><br></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader <br>| Kitware Inc. <br></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div></div>
</div>