Opened 7 years ago
Closed 7 years ago
#1368 closed defect (fixed)
Camera 360tb crash
| Reported by: | Owned by: | Tom Goddard | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Graphics | Version: | |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
ChimeraX Folks,
On my VR laptop running Windows 10 and a week old ChimeraX build, I got the
following error. "Camera 360" works but "Camera 360tb" throws the error
below.
Thanks for any pointers.
Tom
PS - I was following the general sequence TomG showed in the nice video at
https://youtu.be/yOMKwCbXl0g .
[image: image.png]
UCSF ChimeraX version: 0.8 (2018-10-10)
How to cite UCSF ChimeraX
open 2ibx format mmCIF fromDatabase pdb ↵
2ibx title:
Influenza virus (VN1194) H5 HA [more info...]
Chain information for 2ibx #1
Chain Description
A C E Hemagglutinin
B D F Hemagglutinin
style selAtoms stick ↵
Changed 11682 atom styles
camera 360tb ↵
An error occurred in drawing the scene. Redrawing graphics is now stopped
to avoid a continuous stream of error messages. To restart graphics use the
command "graphics restart" after changing the settings that caused the
error.
Traceback (most recent call last):
File "C:\Program
Files\ChimeraX\bin\lib\site-packages\chimerax\core\updateloop.py", line 72,
in draw_new_frame
view.draw(check_for_changes = False)
File "C:\Program
Files\ChimeraX\bin\lib\site-packages\chimerax\core\graphics\view.py", line
157, in draw
self._draw_scene(camera, drawings)
File "C:\Program
Files\ChimeraX\bin\lib\site-packages\chimerax\core\graphics\view.py", line
186, in _draw_scene
shadow, multishadow = self._compute_shadowmaps(opaque_drawings +
transparent_drawings, camera)
File "C:\Program
Files\ChimeraX\bin\lib\site-packages\chimerax\core\graphics\view.py", line
511, in _compute_shadowmaps
shadow_enabled = r.shadow.use_shadow_map(camera, drawings,
self._shadow_bounds)
File "C:\Program
Files\ChimeraX\bin\lib\site-packages\chimerax\core\graphics\opengl.py",
line 1181, in use_shadow_map
draw_depth(r, sdrawings, opaque_only = not
r.material.transparent_cast_shadows)
File "C:\Program
Files\ChimeraX\bin\lib\site-packages\chimerax\core\graphics\drawing.py",
line 1371, in draw_depth
draw_opaque(renderer, drawings)
File "C:\Program
Files\ChimeraX\bin\lib\site-packages\chimerax\core\graphics\drawing.py",
line 1353, in draw_opaque
_draw_multiple(drawings, renderer, Drawing.OPAQUE_DRAW_PASS)
File "C:\Program
Files\ChimeraX\bin\lib\site-packages\chimerax\core\graphics\drawing.py",
line 1364, in _draw_multiple
d.draw(renderer, draw_pass)
File "C:\Program
Files\ChimeraX\bin\lib\site-packages\chimerax\core\graphics\drawing.py",
line 681, in draw
self.draw_self(renderer, draw_pass)
File "C:\Program
Files\ChimeraX\bin\lib\site-packages\chimerax\core\graphics\drawing.py",
line 688, in draw_self
self._draw_geometry(renderer, opaque_only = any_transp)
File "C:\Program
Files\ChimeraX\bin\lib\site-packages\chimerax\core\graphics\drawing.py",
line 739, in _draw_geometry
renderer.set_model_matrix(p)
File "C:\Program
Files\ChimeraX\bin\lib\site-packages\chimerax\core\graphics\opengl.py",
line 622, in set_model_matrix
p.set_matrix('model_view_matrix', mv4)
File "C:\Program
Files\ChimeraX\bin\lib\site-packages\chimerax\core\graphics\opengl.py",
line 2275, in set_matrix
GL.glUniformMatrix4fv(self.uniform_id(name), 1, False, matrix)
File "C:\Program
Files\ChimeraX\bin\lib\site-packages\chimerax\core\graphics\opengl.py",
line 2286, in uniform_id
% (name, ', '.join(shader_capability_names(self.capabilities))))
RuntimeError: Shader does not have uniform variable "model_view_matrix"
shader capabilities SHADER_SHIFT_AND_SCALE, SHADER_STEREO_360
Attachments (1)
Change History (4)
by , 7 years ago
comment:1 by , 7 years ago
| Component: | Unassigned → Graphics |
|---|---|
| Owner: | set to |
| Platform: | → all |
| Project: | → ChimeraX |
| Status: | new → assigned |
comment:2 by , 7 years ago
I recently changed graphics code related to setting these matrices and probably broke the obscure stereo 360 rendering mode. Should be easy to fix. Will look at it later today.
comment:3 by , 7 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Works for me. Probably a bug that was fixed within days after your Oct 10 as I was changing matrix code back then.
Note:
See TracTickets
for help on using tickets.

Added by email2trac