Commit 3563c737 authored by Ken Martin's avatar Ken Martin
Browse files

fixed problems with specularities

parent 48409ded
......@@ -67,6 +67,7 @@ void vtkSbrCamera::Render(vtkCamera *cam, vtkSbrRenderer *ren)
float vdc_vals[6];
fd = ren->GetFd();
vtkMatrix4x4 matrix;
float *pos;
// get the background color
background = ren->GetBackground();
......@@ -183,5 +184,8 @@ void vtkSbrCamera::Render(vtkCamera *cam, vtkSbrRenderer *ren)
// insert model transformation
view_matrix3d(fd, (float (*)[4])(matrix[0]),REPLACE_VW);
pos = cam->GetPosition();
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