3

In an .obj, file it is possible to specify 3 values for a vt line.

vt 0.769645 0.729072 0.00000000

The .obj spec says its for "depth". What does this actually do and when is it useful?

skaffman
  • 398,947
  • 96
  • 818
  • 769
Joe Cannatti
  • 4,989
  • 5
  • 38
  • 56

1 Answers1

7

If you have a 3D Texture, it specifies the third coordinate. You can actually have an image that has pixels in 3D instead of 2D, and use this for a texture map. This is very common with procedural texture generation, since it allows much better looking "materials" to be generated than a 2D image, with far less "seams" or "repeated" sections on the texture map.

Reed Copsey
  • 554,122
  • 78
  • 1,158
  • 1,373