This is a naive comment, but maybe this feature is not supported by the driver of you graphic card under Linux?<br><br>I'm curious to know how this example works under Windows (with a Nvidia card for example).<br><br><div class="gmail_quote">
On Sun, Oct 28, 2012 at 9:15 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@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 class="im">On Sun, Oct 28, 2012 at 4:06 PM, Arnaud BARRE <<a href="mailto:arnaud.barre@gmail.com">arnaud.barre@gmail.com</a>> wrote:<br>
> I've just tried under MacOS X 10.5 with VTK 5.10 and everything is black. I<br>
> have no light.<br>
><br>
> The console returns me this errror several times:<br>
><br>
> ERROR: In<br>
> /Users/Alzathar/Downloads/Code/vtk-5.10/Rendering/vtkOpenGLProperty.cxx,<br>
> line 407<br>
> vtkOpenGLProperty (0x1c25230): Using the current shader program is invalid<br>
> with the current OpenGL state. Validation log=Validation Failed: Sampler<br>
> error:<br>
> Samplers of different types use the same texture image unit.<br>
> - or -<br>
> A sampler's texture unit is out of range (greater than max allowed or<br>
> negative).<br>
><br>
> Do you have this kind of error message too? Maybe your problem is related to<br>
> shader program?<br>
><br>
> Arnaud<br>
<br>
</div>Hm, interesting. I do not get those errors, but when I did just see:<br>
<br>
ERROR: In /home/doriad/src/VTK/Rendering/OpenGL/vtkShadowMapBakerPass.cxx,<br>
line 277<br>
vtkShadowMapBakerPass (0x96aa808): FBOs are not supported by the<br>
context. Cannot use shadow mapping.<br>
<br>
ERROR: In /home/doriad/src/VTK/Rendering/OpenGL/vtkShadowMapPass.cxx, line 186<br>
vtkShadowMapPass (0x96aa858): FBOs are not supported by the context.<br>
Cannot use shadow mapping.<br>
<br>
Does anyone know how to get FBOs supported by the context :) ?<br>
<span class="HOEnZb"><font color="#888888"><br>
David<br>
</font></span></blockquote></div><br>