cokecan.nff 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. nff // cokecan.nff, A file designed to illustrate uv texturing
  2. version 3.0
  3. Coke_Can
  4. mtable cokecan.mat
  5. 18 // Eighteen vertices
  6. 10.0 -37.0 0.0 uv 0.0 1.0 // #0 Start around top of can
  7. 7.071 -37.0 7.071 uv 0.125 1.0 // #1
  8. 0.0 -37.0 10.0 uv 0.25 1.0 // #2
  9. -7.071 -37.0 7.071 uv 0.375 1.0 // #3
  10. -10.0 -37.0 0.0 uv 0.5 1.0 // #4
  11. -7.071 -37.0 -7.071 uv 0.625 1.0 // #5
  12. 0.0 -37.0 -10.0 uv 0.75 1.0 // #6
  13. 7.071 -37.0 -7.071 uv 0.875 1.0 // #7
  14. 10.0 -37.0 0.0 uv 1.0 1.0 // #8 ( Same as #0 except u value )
  15. 10.0 0.0 0.0 uv 0.0 0.0 // #9 Repeat around bottom of can
  16. 7.071 0.0 7.071 uv 0.125 0.0 // #10
  17. 0.0 0.0 10.0 uv 0.25 0.0 // #11
  18. -7.071 0.0 7.071 uv 0.375 0.0 // #12
  19. -10.0 0.0 0.0 uv 0.5 0.0 // #13
  20. -7.071 0.0 -7.071 uv 0.625 0.0 // #14
  21. 0.0 0.0 -10.0 uv 0.75 0.0 // #15
  22. 7.071 0.0 -7.071 uv 0.875 0.0 // #16
  23. 10.0 0.0 0.0 uv 0.0 0.0 // #17 ( Same as #9 except u value )
  24. 10 // Ten polygons
  25. 8 0 1 2 3 4 5 6 7 matid 0 // Top of can. Note lack of "both"
  26. 8 9 10 11 12 13 14 15 16 matid 0 both // Bottom of can
  27. 4 9 10 1 0 matid 0 both _V_cokelabl.tga // Vanilla texture on silver
  28. 4 10 11 2 1 matid 0 both _S_cokelabl.tga // Shaded texture on silver
  29. 4 11 12 3 2 matid 0 both _T_cokelabl.tga // Transparent texture on silver
  30. 4 12 13 4 3 matid 0 both _U_cokelabl.tga // Shaded & Transparent on silver
  31. 4 13 14 5 4 matid 1 both _V_cokelabl.tga // Vanilla texture on green
  32. 4 14 15 6 5 matid 1 both _S_cokelabl.tga // Shaded texture on green
  33. 4 15 16 7 6 matid 1 both _T_cokelabl.tga // Transparent texture on green
  34. 4 16 17 8 7 matid 1 both _U_cokelabl.tga // Shaded & Transparent on green