# Tetrahedron with texture without scalars

**URL:** https://discourse.vtk.org/t/tetrahedron-with-texture-without-scalars/2112
**Category:** Support
**Created:** [November 20, 2019, 8:36pm UTC](https://discourse.vtk.org/t/tetrahedron-with-texture-without-scalars/2112 "2019-11-20T20:36:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![aries24](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/a/dc4da7/32.png) [@aries24](https://discourse.vtk.org/u/aries24)
#### Post date: [November 20, 2019, 8:36pm UTC](https://discourse.vtk.org/t/tetrahedron-with-texture-without-scalars/2112/1 "2019-11-20T20:36:01Z")

</div>

I am trying to create a tetrahedron with a JPEG images on its faces.  
I have thought of two approaches:

1. Use the vtkPlatonicSolidSource and set the type to Tetrahedron. However, when I try to set my vtkTexture to the actor, the faces are colored according to the scalars that are assigned to the faces by default. The texture I supply seems to be ignored.
2. Build my own vtkPolyData, and use SetTCoords on the point data. Hwoever, I am unsure which values to assign to each point, or even how many points to use.

I saw in vtkCubeSource that the cube is defined by 24 points and according texture coordinates. I’m a bit confused as to the usage of texture coordinate values -1.0 and -0.0. Should I use the same approach in defining my own tetrahedra?

If anyone could enlighten me with some pointer in the right direction, I would appreciate that very much…
