Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Andrew Bauer
VTK
Commits
3563c737
Commit
3563c737
authored
Dec 04, 1995
by
Ken Martin
Browse files
fixed problems with specularities
parent
48409ded
Changes
1
Show whitespace changes
Inline
Side-by-side
src/vtkSbrCamera.cc
View file @
3563c737
...
...
@@ -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
();
viewpoint
(
fd
,
POSITIONAL
,
pos
[
0
],
pos
[
1
],
pos
[
2
]);
clip_depth
(
fd
,
0.0
,
1.0
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment