Skip to content
Snippets Groups Projects
Select Git revision
  • 350227b30d8afdae14167210a33b8b87f4a39af3
  • master default
2 results

scene.py

Blame
  • one_sphere.py NaN GiB
    from scene import *
    from light import Spotlight
    
    materiau_sphere = Material(Vector((0,0,1)), .2, .2, .2, .2)
    sphere = Sphere(Vector([0,0,3]), 1, materiau_sphere)
    lumiere = Spotlight(Vector((1,1,0)), Vector((1,1,1)))