Thanks for sharing this nice implementation.
There is a small bug in engine.py on line 72:
color = material.ambient * Color.from_hex("#000000")
Color is being set to black i.e. 0, so ambient values are never applied. Should be Color.from_hex("#ffffff") or Color(0, 0, 0)
Thanks for sharing this nice implementation.
There is a small bug in
engine.pyon line 72:color = material.ambient * Color.from_hex("#000000")Color is being set to black i.e. 0, so ambient values are never applied. Should be
Color.from_hex("#ffffff")orColor(0, 0, 0)