<div dir="ltr">Hi Rick, <div><br></div><div>Not yet, we were looking into another bug. One of our team member will look into it and will get back to the mailing list. Thanks for your test script. </div><div><br></div><div>Thanks,</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 3, 2016 at 6:10 PM, Richard Frank <span dir="ltr"><<a href="mailto:rickfrank@me.com" target="_blank">rickfrank@me.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">Hi,<div><br></div><div>Were you able to reproduce the issue with LightKit (or the source I posted to Dropbox)?</div><div><br></div><div><br></div><div>I’m hoping to migrate to 7.0 as soon as we can.</div><div><br></div><div>Thanks</div><div><br></div><div>Rick Frank<br><blockquote type="cite"> Re: [vtkusers] Error in vtkOpenGLGPUVolumeRayCastMapper.cxx,<br><span style="white-space:pre-wrap">     </span>continued<br>Message-ID:<br><span style="white-space:pre-wrap">        </span><<a href="mailto:CAEw35Z-MrTkAXabTc+BQSorXc+urJPFg5A+U04TLMJnyf50HUg@mail.gmail.com" target="_blank">CAEw35Z-MrTkAXabTc+BQSorXc+urJPFg5A+U04TLMJnyf50HUg@mail.gmail.com</a>><br>Content-Type: text/plain; charset="utf-8"<br><br>Thanks Rick for giving us the case for reproducing the error. I will have<br>someone look into it.<br><br>Thanks,<br></blockquote><div><br></div><div><br></div><div><blockquote type="cite"><blockquote type="cite">Hi,<br><br>I was able to isolate?the problem.<br><br>We are using vtkLightKit in our application.<br><br>Here is a small app that will demonstrate the problem<br><br><a href="https://www.dropbox.com/s/crwlm6njmqvdrz4/Source.7z?dl=0" target="_blank">https://www.dropbox.com/s/crwlm6njmqvdrz4/Source.7z?dl=0</a><br><br><br>But basically all you have to do is:<br><br>vtkSmartPointer<vtkLightKit> lightKit = vtkSmartPointer<vtkLightKit>::New();<br>lightKit->AddLightsToRenderer(ren1);<br><br>and render a volume<br>and the shader fails to compile.<br><br>Can you verify?<br><br>Also, while in there the code<br><br>this->Impl->ShaderProgram = this->Impl->ShaderCache->ReadyShaderProgram(<br>vertexShader.c_str(), fragmentShader.c_str(), "");<br>if (!this->Impl->ShaderProgram->GetCompiled())<br>{<br>vtkErrorMacro("Shader failed to compile");<br>}<br><br>should be changed to?<br>if (this->Impl->ShaderProgram == nullptr || !this->Impl->ShaderProgram->GetCompiled())<br>{<br><br>}<br><br>as?ReadyShaderProgram returns nullptr at least in this case (which causes the crash)<br><br>Let me ?know if you can repro and, if you fix it I will fetch from git and try again.<br><br>Thanks!<br><br>Rick Frank</blockquote></blockquote></div></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>