# ERROR:root:Hardware does not support the number of textures defined.

**URL:** https://discourse.vtk.org/t/errorhardware-does-not-support-the-number-of-textures-defined/3800
**Category:** Support
**Created:** [July 19, 2020, 1:03pm UTC](https://discourse.vtk.org/t/errorhardware-does-not-support-the-number-of-textures-defined/3800 "2020-07-19T13:03:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![JANHMS](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/j/f0a364/32.png) [@JANHMS](https://discourse.vtk.org/u/JANHMS)
#### Post date: [July 19, 2020, 1:03pm UTC](https://discourse.vtk.org/t/errorhardware-does-not-support-the-number-of-textures-defined/3800/1 "2020-07-19T13:03:21Z")

</div>

Hey there,

I am using VTK, I create several planes and set a texture on them with a for loop.

I total 43 different ones.  
A snipped of my code. I a loop, where texture[i] is a list of textures:

```
texturePlane = vtk.vtkTextureMapToPlane()
        texturePlane.SetInputConnection(aPlane.GetOutputPort())
        texturePlane.AutomaticPlaneGenerationOn()
        polarMapper = vtk.vtkPolyDataMapper()
        polarMapper.SetInputConnection(texturePlane.GetOutputPort())
        PolarActor = vtk.vtkFollower()
        PolarActor.SetMapper(polarMapper)

        PolarActor.SetTexture(texture[i])
        PolarActorlist.append(PolarActor)

```

and then

```
    for i in PolarActorlist:
        renderer.AddActor(i)

```

Unfortunately I get the error:

ERROR:root:Hardware does not support the number of textures defined.  
Does anyone know how I deal with this problem?

Regards,

---

<div class="post-metadata">

### Author: ![ken-martin](https://discourse.vtk.org/user_avatar/discourse.vtk.org/ken-martin/32/884_2.png) [@ken-martin](https://discourse.vtk.org/u/ken-martin)
#### Post date: [July 19, 2020, 5:14pm UTC](https://discourse.vtk.org/t/errorhardware-does-not-support-the-number-of-textures-defined/3800/2 "2020-07-19T17:14:24Z")

</div>

Version of VTK? OS? Hardware?
