<div dir="ltr">Hi,<div><br></div><div>I built a VTK 6.2 egg with OpenGL2 rendering backend enabled. It causes this error if no input set for Text Actor. Same also happens if no title exists for Scalar Bar actor.</div><div><br></div><div>==================================</div><div><br></div><div>The error log is: (for VTK 6.2 with OpenGL2 enabled)</div><div><br></div><div><div>ERROR: In /Users/deepaksurti/pisi-64bit/tmp/VTK-6.1.0-1/work/VTK-6.1.0/Rendering/OpenGL2/vtkOpenGLTexture.cxx, line 171</div><div>vtkOpenGLTexture (0x10b019200): No scalar values found for texture input!</div><div><br></div><div>ERROR: In /Users/deepaksurti/pisi-64bit/tmp/VTK-6.1.0-1/work/VTK-6.1.0/Rendering/OpenGL2/vtkTextureObject.cxx, line 454</div><div>vtkTextureObject (0x102932920): failed at glBindTexture(0) 1 OpenGL errors detected</div><div>  0 : (1280) Invalid enum</div><div><br></div><div><br></div><div>ERROR: In /Users/deepaksurti/pisi-64bit/tmp/VTK-6.1.0-1/work/VTK-6.1.0/Rendering/OpenGL2/vtkOpenGLTexture.cxx, line 171</div><div>vtkOpenGLTexture (0x10b019200): No scalar values found for texture input!</div><div><br></div><div>ERROR: In /Users/deepaksurti/pisi-64bit/tmp/VTK-6.1.0-1/work/VTK-6.1.0/Rendering/OpenGL2/vtkTextureObject.cxx, line 454</div><div>vtkTextureObject (0x102932920): failed at glBindTexture(0) 1 OpenGL errors detected</div><div>  0 : (1280) Invalid enum</div><div><br></div><div><br></div><div>ERROR: In /Users/deepaksurti/pisi-64bit/tmp/VTK-6.1.0-1/work/VTK-6.1.0/Rendering/OpenGL2/vtkOpenGLTexture.cxx, line 171</div><div>vtkOpenGLTexture (0x10b019200): No scalar values found for texture input!</div><div><br></div><div>ERROR: In /Users/deepaksurti/pisi-64bit/tmp/VTK-6.1.0-1/work/VTK-6.1.0/Rendering/OpenGL2/vtkTextureObject.cxx, line 454</div><div>vtkTextureObject (0x102932920): failed at glBindTexture(0) 1 OpenGL errors detected</div><div>  0 : (1280) Invalid enum</div><div><br></div><div>======================================</div><div><br></div><div>I also tested for VTK 5.10 and this is the error log:</div><div><br></div><div><div>ERROR: In /Users/deepaksurti/pisi-64bit/tmp/VTK-5.10.1-2/work/VTK5.10.1/Rendering/vtkFreeTypeUtilities.cxx, line 1782</div><div>vtkFreeTypeUtilities (0x10102a600): no text in input</div><div><br></div><div>ERROR: In /Users/deepaksurti/pisi-64bit/tmp/VTK-5.10.1-2/work/VTK5.10.1/Filtering/vtkImageData.cxx, line 1349</div><div>vtkImageData (0x1005c1790): No Scalar Field has been specified - assuming 1 component!</div><div><br></div><div>ERROR: In /Users/deepaksurti/pisi-64bit/tmp/VTK-5.10.1-2/work/VTK5.10.1/Rendering/vtkOpenGLTexture.cxx, line 196</div><div>vtkOpenGLTexture (0x1005c1e50): No scalar values found for texture input!</div><div><br></div><div>ERROR: In /Users/deepaksurti/pisi-64bit/tmp/VTK-5.10.1-2/work/VTK5.10.1/Rendering/vtkFreeTypeUtilities.cxx, line 1782</div><div>vtkFreeTypeUtilities (0x10102a600): no text in input</div><div><br></div><div>ERROR: In /Users/deepaksurti/pisi-64bit/tmp/VTK-5.10.1-2/work/VTK5.10.1/Filtering/vtkImageData.cxx, line 1349</div><div>vtkImageData (0x1005c1790): No Scalar Field has been specified - assuming 1 component!</div><div><br></div><div>ERROR: In /Users/deepaksurti/pisi-64bit/tmp/VTK-5.10.1-2/work/VTK5.10.1/Rendering/vtkOpenGLTexture.cxx, line 196</div><div>vtkOpenGLTexture (0x1005c1e50): No scalar values found for texture input!</div><div><br></div><div>ERROR: In /Users/deepaksurti/pisi-64bit/tmp/VTK-5.10.1-2/work/VTK5.10.1/Rendering/vtkOpenGLTexture.cxx, line 196</div><div>vtkOpenGLTexture (0x1005c1e50): No scalar values found for texture input!</div></div><div><br></div><div>============================</div><div><br></div><div>WORKS FINE IN VTK 6.1</div><div><br></div><div>I have also added a sample test file to reproduce this error. </div><div><br></div><div>Any suggestions to fix this?</div><div><br></div><div>Thanks,</div><div>Deepak</div>-- <br><div class="gmail_signature"><a href="http://deepaksurti.com" target="_blank">http://deepaksurti.com</a><br>To see a miracle, be the miracle.</div>
</div></div>