2
0

build.ninja 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. builddir = ../.build
  2. rule geometryc_pack_normal
  3. command = geometryc -f $in -o $out --packnormal 1
  4. description = Converting geometry $in...
  5. rule geometryc_pack_normal_compressed
  6. command = geometryc -f $in -o $out --packnormal 1 -c
  7. description = Converting geometry $in...
  8. rule geometryc_pack_normal_barycentric
  9. command = geometryc -f $in -o $out --packnormal 1 --barycentric
  10. description = Converting geometry $in...
  11. rule texturec_bc1
  12. command = texturec -f $in -o $out -t bc1 -m
  13. rule texturec_bc2
  14. command = texturec -f $in -o $out -t bc2 -m
  15. rule texturec_bc3
  16. command = texturec -f $in -o $out -t bc3 -m
  17. rule texturec_bc4
  18. command = texturec -f $in -o $out -t bc4 -m
  19. rule texturec_bc5
  20. command = texturec -f $in -o $out -t bc5 -m
  21. rule texturec_bc7
  22. command = texturec -f $in -o $out -t bc7 -m
  23. rule texturec_astc4x4
  24. command = texturec -f $in -o $out -t astc4x4 -m
  25. rule texturec_astc5x4
  26. command = texturec -f $in -o $out -t astc5x4 -m
  27. rule texturec_astc5x5
  28. command = texturec -f $in -o $out -t astc5x5 -m
  29. rule texturec_astc6x5
  30. command = texturec -f $in -o $out -t astc6x5 -m
  31. rule texturec_astc6x6
  32. command = texturec -f $in -o $out -t astc6x6 -m
  33. rule texturec_astc8x5
  34. command = texturec -f $in -o $out -t astc8x5 -m
  35. rule texturec_astc8x6
  36. command = texturec -f $in -o $out -t astc8x6 -m
  37. rule texturec_astc10x5
  38. command = texturec -f $in -o $out -t astc10x5 -m
  39. rule texturec_astc10x6
  40. command = texturec -f $in -o $out -t astc10x6 -m
  41. rule texturec_astc8x8
  42. command = texturec -f $in -o $out -t astc8x8 -m
  43. rule texturec_astc10x8
  44. command = texturec -f $in -o $out -t astc10x8 -m
  45. rule texturec_astc10x10
  46. command = texturec -f $in -o $out -t astc10x10 -m
  47. rule texturec_astc12x10
  48. command = texturec -f $in -o $out -t astc12x10 -m
  49. rule texturec_astc12x12
  50. command = texturec -f $in -o $out -t astc12x12 -m
  51. rule texturec_etc1
  52. command = texturec -f $in -o $out -t etc1 -m
  53. rule texturec_etc2
  54. command = texturec -f $in -o $out -t etc2 -m
  55. rule texturec_diffuse
  56. command = texturec -f $in -o $out -t bc2 -m
  57. rule texturec_normal
  58. command = texturec -f $in -o $out -t bc5 -m -n
  59. rule texturec_height
  60. command = texturec -f $in -o $out -t r8
  61. rule texturec_equirect
  62. command = texturec -f $in -o $out --max 512 -t rgba16f --equirect
  63. rule texturec_rgba8
  64. command = texturec -f $in -o $out -t rgba8
  65. pwd = ../examples/assets/meshes
  66. subninja ../examples/assets/meshes/meshes.ninja
  67. pwd = ../examples/assets/textures
  68. subninja ../examples/assets/textures/textures.ninja