v3.0.0
π‘ 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 libraryclosed_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
withlight_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