[vtkusers] Shadows not being created?

Arnaud BARRE arnaud.barre at gmail.com
Sun Oct 28 16:56:07 EDT 2012


This is a naive comment, but maybe this feature is not supported by the
driver of you graphic card under Linux?

I'm curious to know how this example works under Windows (with a Nvidia
card for example).

On Sun, Oct 28, 2012 at 9:15 PM, David Doria <daviddoria at gmail.com> wrote:

> On Sun, Oct 28, 2012 at 4:06 PM, Arnaud BARRE <arnaud.barre at gmail.com>
> wrote:
> > I've just tried under MacOS X 10.5 with VTK 5.10 and everything is
> black. I
> > have no light.
> >
> > The console returns me this errror several times:
> >
> > ERROR: In
> > /Users/Alzathar/Downloads/Code/vtk-5.10/Rendering/vtkOpenGLProperty.cxx,
> > line 407
> > vtkOpenGLProperty (0x1c25230): Using the current shader program is
> invalid
> > with the current OpenGL state. Validation log=Validation Failed: Sampler
> > error:
> >   Samplers of different types use the same texture image unit.
> >    - or -
> >   A sampler's texture unit is out of range (greater than max allowed or
> > negative).
> >
> > Do you have this kind of error message too? Maybe your problem is
> related to
> > shader program?
> >
> > Arnaud
>
> Hm, interesting. I do not get those errors, but when I did just see:
>
> ERROR: In /home/doriad/src/VTK/Rendering/OpenGL/vtkShadowMapBakerPass.cxx,
> line 277
> vtkShadowMapBakerPass (0x96aa808): FBOs are not supported by the
> context. Cannot use shadow mapping.
>
> ERROR: In /home/doriad/src/VTK/Rendering/OpenGL/vtkShadowMapPass.cxx, line
> 186
> vtkShadowMapPass (0x96aa858): FBOs are not supported by the context.
> Cannot use shadow mapping.
>
> Does anyone know how to get FBOs supported by the context :) ?
>
> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121028/32e05e1a/attachment.htm>


More information about the vtkusers mailing list