diff --git a/CMCore b/CMCore index 15baf1ec..a29a35ec 160000 --- a/CMCore +++ b/CMCore @@ -1 +1 @@ -Subproject commit 15baf1ecbde9ab8a3e299f8cc6dc02231f994917 +Subproject commit a29a35eceaa9bc19f3e4a64ebebec0a2f6bd081f diff --git a/CMSceneGraph b/CMSceneGraph index 6d9ea2f3..4d5558b3 160000 --- a/CMSceneGraph +++ b/CMSceneGraph @@ -1 +1 @@ -Subproject commit 6d9ea2f340cde0ced8d5990d7d45b185fb16b929 +Subproject commit 4d5558b3d0240caa2076f59aab1e023147546bf9 diff --git a/example/LightBasic/BlinnPhongDirectionLight.cpp b/example/LightBasic/BlinnPhongDirectionLight.cpp index 5f97f94d..b55a622d 100644 --- a/example/LightBasic/BlinnPhongDirectionLight.cpp +++ b/example/LightBasic/BlinnPhongDirectionLight.cpp @@ -20,8 +20,8 @@ static Color4f white_color(1,1,1,1); static mtl::blinnphong::SunLight sun_light= { - Vector4f(0,0,1,0), - Vector4f(1,0.95,0.9,1) + Vector4f(1,1,1,0), //direction + Vector4f(1,0.95,0.9,1) //color }; class TestApp:public SceneAppFramework @@ -148,7 +148,7 @@ private: Add(prim_plane_grid,mi_plane_grid,p_line); Add(prim_sphere,mi_sphere,p_sphere); - camera->pos=Vector3f(32,15,32); + camera->pos=Vector3f(32,32,32); camera_control->SetTarget(Vector3f(0,0,0)); camera_control->Refresh();