Re: [chimerax-users] [Chimera-users] chimerax mesh commands doesn't work

Hi Yehuda, I don’t think you are doing anything wrong; in ChimeraX, the lineThickness option doesn’t work for me either, although it works fine in Chimera on the same computer — we will look into it. Sorry for the inconvenience and thanks for reporting, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco P.S. there is a chimerax-users@cgl.ucsf.edu mailing list too <http://rbvi.ucsf.edu/chimerax/docs/contact.html>
On Sep 20, 2018, at 4:56 AM, Yehuda Halfon <yehuda.halfon@weizmann.ac.il> wrote:
Hi all, I wanted to use chimeraX to use some commands on mesh display. Some works like meshLightning but others like lineThickness doesn't I use volume #1 lineThickness 10 (or any other integer) but nothing seems to change. What am I doing wrong? Yehuda Halfon

Hi Yehuda, You are right the volume command lineWidth option does nothing. Unfortunately the modern OpenGL graphics standard (core profile) used by ChimeraX only supports linewidth 1 while older OpenGL standard (legacy profile) supports linewidths > 1 (usually up to 10 pixels). It is quite complex to support linewidths > 1 in modern OpenGL — it requires drawing triangles instead of lines and special GPU shader code. In the future we are may switch ChimeraX graphics from OpenGL to Vulkan which is the next generation of OpenGL and Vulkan allows linewidth > 1. I will remove the lineWidth option from the volume command for now. Tom
On Sep 20, 2018, at 8:12 AM, Elaine Meng wrote:
Hi Yehuda, I don’t think you are doing anything wrong; in ChimeraX, the lineThickness option doesn’t work for me either, although it works fine in Chimera on the same computer — we will look into it. Sorry for the inconvenience and thanks for reporting, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
P.S. there is a chimerax-users@cgl.ucsf.edu mailing list too <http://rbvi.ucsf.edu/chimerax/docs/contact.html>
On Sep 20, 2018, at 4:56 AM, Yehuda Halfon <yehuda.halfon@weizmann.ac.il> wrote:
Hi all, I wanted to use chimeraX to use some commands on mesh display. Some works like meshLightning but others like lineThickness doesn't I use volume #1 lineThickness 10 (or any other integer) but nothing seems to change. What am I doing wrong? Yehuda Halfon
_______________________________________________ ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu Manage subscription: http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users

Hi Tom, So I can take into consideration that all the OpenGL things doesn't work on chimeraX? Yehuda Halfon -------- Original Message -------- From: Tom Goddard <goddard@sonic.net> Sent: Thursday, September 20, 2018 09:36 PM To: "chimera-users@cgl.ucsf.edu BB" <chimera-users@cgl.ucsf.edu> Subject: Re: [chimerax-users] [Chimera-users] chimerax mesh commands doesn't work CC: Yehuda Halfon <yehuda.halfon@weizmann.ac.il>,chimerax-users@cgl.ucsf.edu Hi Yehuda, You are right the volume command lineWidth option does nothing. Unfortunately the modern OpenGL graphics standard (core profile) used by ChimeraX only supports linewidth 1 while older OpenGL standard (legacy profile) supports linewidths > 1 (usually up to 10 pixels). It is quite complex to support linewidths > 1 in modern OpenGL — it requires drawing triangles instead of lines and special GPU shader code. In the future we are may switch ChimeraX graphics from OpenGL to Vulkan which is the next generation of OpenGL and Vulkan allows linewidth > 1. I will remove the lineWidth option from the volume command for now. Tom
On Sep 20, 2018, at 8:12 AM, Elaine Meng wrote:
Hi Yehuda, I don’t think you are doing anything wrong; in ChimeraX, the lineThickness option doesn’t work for me either, although it works fine in Chimera on the same computer — we will look into it. Sorry for the inconvenience and thanks for reporting, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
P.S. there is a chimerax-users@cgl.ucsf.edu mailing list too <http://rbvi.ucsf.edu/chimerax/docs/contact.html>
On Sep 20, 2018, at 4:56 AM, Yehuda Halfon <yehuda.halfon@weizmann.ac.il> wrote:
Hi all, I wanted to use chimeraX to use some commands on mesh display. Some works like meshLightning but others like lineThickness doesn't I use volume #1 lineThickness 10 (or any other integer) but nothing seems to change. What am I doing wrong? Yehuda Halfon
_______________________________________________ ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimerax-users

Hi Yehuda, In general ChimeraX has more graphics rendering features than Chimera. For instance ChimeraX renders interactive ambient shadows (ambient occlusion lighting) and supports virtual reality headsets. The problem with line width > 1 in ChimeraX is a rare case where Chimera graphics works better than ChimeraX. But there are many features in Chimera that do calculations (for example electrostatic potential) that are not yet in ChimeraX, so Chimera is in general more capable than ChimeraX and it will be a couple years before ChimeraX replaces Chimera. Tom
On Sep 20, 2018, at 1:53 PM, Yehuda Halfon <yehuda.halfon@weizmann.ac.il> wrote:
Hi Tom,
So I can take into consideration that all the OpenGL things doesn't work on chimeraX?
Yehuda Halfon
-------- Original Message -------- From: Tom Goddard <goddard@sonic.net> Sent: Thursday, September 20, 2018 09:36 PM To: "chimera-users@cgl.ucsf.edu BB" <chimera-users@cgl.ucsf.edu> Subject: Re: [chimerax-users] [Chimera-users] chimerax mesh commands doesn't work CC: Yehuda Halfon <yehuda.halfon@weizmann.ac.il>,chimerax-users@cgl.ucsf.edu
Hi Yehuda,
You are right the volume command lineWidth option does nothing. Unfortunately the modern OpenGL graphics standard (core profile) used by ChimeraX only supports linewidth 1 while older OpenGL standard (legacy profile) supports linewidths > 1 (usually up to 10 pixels). It is quite complex to support linewidths > 1 in modern OpenGL — it requires drawing triangles instead of lines and special GPU shader code. In the future we are may switch ChimeraX graphics from OpenGL to Vulkan which is the next generation of OpenGL and Vulkan allows linewidth > 1.
I will remove the lineWidth option from the volume command for now.
Tom
On Sep 20, 2018, at 8:12 AM, Elaine Meng wrote:
Hi Yehuda, I don’t think you are doing anything wrong; in ChimeraX, the lineThickness option doesn’t work for me either, although it works fine in Chimera on the same computer — we will look into it. Sorry for the inconvenience and thanks for reporting, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
P.S. there is a chimerax-users@cgl.ucsf.edu mailing list too <http://rbvi.ucsf.edu/chimerax/docs/contact.html>
On Sep 20, 2018, at 4:56 AM, Yehuda Halfon <yehuda.halfon@weizmann.ac.il> wrote:
Hi all, I wanted to use chimeraX to use some commands on mesh display. Some works like meshLightning but others like lineThickness doesn't I use volume #1 lineThickness 10 (or any other integer) but nothing seems to change. What am I doing wrong? Yehuda Halfon
_______________________________________________ ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu Manage subscription: http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
_______________________________________________ ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu Manage subscription: http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
participants (3)
-
Elaine Meng
-
Tom Goddard
-
Yehuda Halfon