Free as in Freedom: Codeberg.org. Create your repos!
Rust crate to implement at least parts of the PBRT book's C++ code. See also https://www.rs-pbrt.org/about ...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 3.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. all: without-exr
  2. clean:
  3. -rm -f *~ examples/*~ src/*~ examples/*.rs.bk src/*.rs.bk *.exr *.png
  4. clobber: clean
  5. -rm -fr target
  6. distclean: clobber
  7. -rm -f *.exr *.png master.zip
  8. -rm -fr openexr-rs-master
  9. doc:
  10. cargo doc --no-default-features
  11. browse: doc
  12. firefox ./target/doc/pbrt/index.html
  13. debug: master.zip
  14. cargo test --no-default-features
  15. release: master.zip
  16. cargo test --release
  17. without-exr:
  18. cargo test --release --no-default-features
  19. master.zip:
  20. wget https://github.com/cessen/openexr-rs/archive/master.zip
  21. unzip master.zip
  22. examples: release
  23. ./target/release/examples/api_make_camera
  24. ./target/release/examples/cameras_perspective_generate_ray_differential
  25. ./target/release/examples/core_lowdiscrepancy_radical_inverse
  26. ./target/release/examples/core_next_float_down
  27. ./target/release/examples/core_next_float_up
  28. ./target/release/examples/core_quadratic
  29. ./target/release/examples/core_read_float_file
  30. ./target/release/examples/core_rng_set_sequence
  31. ./target/release/examples/filters_create_box_filter
  32. ./target/release/examples/filters_create_gaussian_filter
  33. ./target/release/examples/filters_create_triangle_filter
  34. ./target/release/examples/geometry_bounds2_unit_cube
  35. ./target/release/examples/geometry_bounds3_unit_cube
  36. ./target/release/examples/geometry_length
  37. ./target/release/examples/geometry_length_squared
  38. ./target/release/examples/geometry_normal3_null
  39. ./target/release/examples/geometry_point2_origin
  40. ./target/release/examples/geometry_point3_origin
  41. ./target/release/examples/geometry_ray_creation
  42. ./target/release/examples/geometry_spherical_direction_vec3
  43. ./target/release/examples/geometry_vector2_null
  44. ./target/release/examples/geometry_vector3_null
  45. ./target/release/examples/integrators_sspm_hash.rs
  46. ./target/release/examples/lights_diffuse_area_light_new
  47. ./target/release/examples/lights_distant_light_new
  48. ./target/release/examples/lights_infinite_area_light_new
  49. ./target/release/examples/lights_point_light_new
  50. ./target/release/examples/parse_ass_file.rs
  51. ./target/release/examples/pbrt_spheres_differentials_texfilt
  52. ./target/release/examples/pbrt_teapot_area_light
  53. ./target/release/examples/pest_test
  54. ./target/release/examples/rs_pbrt
  55. ./target/release/examples/shapes_cylinder_create_cylinder_shape
  56. ./target/release/examples/shapes_disk_create_disk_shape
  57. ./target/release/examples/shapes_sphere_create_sphere_shape
  58. ./target/release/examples/shapes_sphere_intersect
  59. ./target/release/examples/shapes_sphere_world_bound
  60. ./target/release/examples/shapes_triangle_create_triangle_mesh
  61. ./target/release/examples/shapes_triangle_intersect
  62. ./target/release/examples/shapes_triangle_world_bound
  63. ./target/release/examples/transform_matrix4x4_identity
  64. ./target/release/examples/transform_matrix4x4_new
  65. ./target/release/examples/transform_matrix4x4_transpose
  66. ./target/release/examples/transform_quaternion_default
  67. ./target/release/examples/transform_transform_identity
  68. ./target/release/examples/transform_transform_look_at
  69. ./target/release/examples/transform_transform_new
  70. ./target/release/examples/transform_transform_point_with_error
  71. ./target/release/examples/transform_transform_ray_with_error
  72. ./target/release/examples/transform_transform_rotate
  73. ./target/release/examples/transform_transform_rotate_x
  74. ./target/release/examples/transform_transform_rotate_y
  75. ./target/release/examples/transform_transform_rotate_z
  76. ./target/release/examples/transform_transform_scale
  77. ./target/release/examples/transform_transform_translate
  78. ./target/release/examples/transform_transform_vector_with_error