Commit 2b182432 authored by Dario Seyb's avatar Dario Seyb

added default directional light

parent 22e52221
......@@ -6,7 +6,7 @@ def display_openmesh(mesh):
meshObj = Mesh(geometry=meshGeom, material=LambertMaterial())
cam = PerspectiveCamera(position=[3,3,3], fov=20)
cam = PerspectiveCamera(position=[3,3,3], fov=20, children=[DirectionalLight(color='#ffffff', position=[-3, 5, 1], intensity=0.5)])
meshScene = Scene(children=[meshObj, AmbientLight(color='#dddddd')])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment