Skip to content

v3.0.0

Compare
Choose a tag to compare
@JstnMcBrd JstnMcBrd released this 09 Mar 12:19
· 37 commits to main since this release
18c6a82

🟑 Backwards-compatible changes for console API or scene definitions
πŸ”΄ Breaking changes for console API or scene definitions

Added

  • 🟑 Polygon object type
  • 🟑 Plane object type
  • Shadows
  • 🟑 Reflectivity object parameter
  • Reflectivity to program 5 sample scenes
  • Reflections & recursive raycasting
  • 🟑 reflection-limit argument
  • Multiprocessing for faster calculations
  • istarmap patch for multiprocessing library
  • closed_pairwise patch to itertools library
  • Progress bar
  • 🟑 progress-bar toggling argument
  • Program 6 sample scenes
  • Program 6 custom scene
  • Auto-normalization warning to scene importer
  • 🟑 Default values to scene importer
  • "Writing to file" indicator
  • Better scene type definitions to README

Changed

  • πŸ”΄ Replaced direction_to_light with light_direction for scene definitions
  • πŸ”΄ Renamed all env arguments to match console arguments
  • Moved raycasting to separate classes
  • Moved vector magnitude and normalization to separate script
  • Moved camera axes to separate Camera object
  • Simplified Sphere normal calculation
  • Transitioned to safer None comparisons
  • New example image to README

Fixed

  • Clamped color values
  • Inaccurate camera_look_at importing
  • πŸ”΄ Bug where field_of_view could be 360 instead of 0