Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Dalai Felinto
virtual_reality_viewport
Commits
13000a63
Commit
13000a63
authored
Sep 29, 2015
by
Dalai Felinto
Browse files
using latest incarnation of gpu api
parent
7bdbe424
Changes
1
Hide whitespace changes
Inline
Side-by-side
space_view3d_virtual_reality/operator.py
View file @
13000a63
...
@@ -166,11 +166,11 @@ class VirtualRealityDisplayOperator(bpy.types.Operator):
...
@@ -166,11 +166,11 @@ class VirtualRealityDisplayOperator(bpy.types.Operator):
self
.
_hmd
.
setEye
(
i
)
self
.
_hmd
.
setEye
(
i
)
offscreen_object
=
self
.
_hmd
.
offscreen_object
offscreen_object
=
self
.
_hmd
.
offscreen_object
modelview_matrix
=
self
.
_hmd
.
modelview_matrix
projection_matrix
=
self
.
_hmd
.
projection_matrix
projection_matrix
=
self
.
_hmd
.
projection_matrix
modelview_matrix
=
self
.
_hmd
.
modelview_matrix
# drawing
# drawing
gpu
.
offscreen_object_draw
(
context
,
offscreen_object
,
modelview_matrix
,
projection
_matrix
)
gpu
.
offscreen_object_draw
(
offscreen_object
,
projection_matrix
,
modelview
_matrix
)
self
.
_hmd
.
frameReady
()
self
.
_hmd
.
frameReady
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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