
Hi Eric, I had no idea you could do this, it works great and could be very handy!! The colors and lighting (and positions) don’t seem to be preserved though and differ between firefox and safari - see the attached screenshots and test webgl of 1BL* with EDS maps (WebGL link: https://www.dropbox.com/s/jlwt8ynrz59w5qx/test_webgl.html?dl=0 <https://www.dropbox.com/s/jlwt8ynrz59w5qx/test_webgl.html?dl=0>). Oli.
Hi Albert, Look at the File->Export Scene menu. That allows you to export to various file formats that your recipient may be able to view without any easy ability to save the result as a PDB file. In particular the “WebGL” export can be viewed as a web page in most modern browsers, with the ability to manipulate the structure interactively.
—Eric
Eric Pettersen UCSF Computer Graphics Lab
On Oct 16, 2015, at 6:41 AM, Albert <mailmd2011 at gmail.com <http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users>> wrote:
Hello:
I've made a Chimera section which I would like to share with somebody else. However, I don't want the PDB within Chimera section to be exported by others. Is it possible for us to export some special file format so that other users can only visualize my file, but they cannot edit or export file into PDB coordinate?
Thanks a lot
Albert _______________________________________________ Chimera-users mailing list Chimera-users at cgl.ucsf.edu <http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users> http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users <http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users>

Hi Oliver, The WebGL export is at least semi-experimental, and we are aware of several limitations in terms of differing appearance or omission of some things that are shown in the Chimera session. So while we aren’t surprised at the differences you report, it may still be useful in various situations. Best, Elaine ----- Elaine C. Meng, Ph.D. UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco On Oct 16, 2015, at 10:35 AM, Oliver Clarke <olibclarke@gmail.com> wrote:
Hi Eric,
I had no idea you could do this, it works great and could be very handy!!
The colors and lighting (and positions) don’t seem to be preserved though and differ between firefox and safari - see the attached screenshots and test webgl of 1BL* with EDS maps (WebGL link: https://www.dropbox.com/s/jlwt8ynrz59w5qx/test_webgl.html?dl=0).
Oli. <Screenshot 2015-10-16 13.23.10.png><Screenshot 2015-10-16 13.23.02.png> <Screenshot 2015-10-16 13.28.31.png>
Hi Albert, Look at the File->Export Scene menu. That allows you to export to various file formats that your recipient may be able to view without any easy ability to save the result as a PDB file. In particular the “WebGL” export can be viewed as a web page in most modern browsers, with the ability to manipulate the structure interactively.
—Eric
Eric Pettersen UCSF Computer Graphics Lab
On Oct 16, 2015, at 6:41 AM, Albert <mailmd2011 at gmail.com
wrote:
Hello:
I've made a Chimera section which I would like to share with somebody else. However, I don't want the PDB within Chimera section to be exported by others. Is it possible for us to export some special file format so that other users can only visualize my file, but they cannot edit or export file into PDB coordinate?
Thanks a lot
Albert
_______________________________________________
Chimera-users mailing list
Chimera-users at cgl.ucsf.edu http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
_______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users

One of the limitations that of WebGL export is that it doesn’t appear to display transparency correctly. Also it doesn’t appear to handle lighting of meshes instead the mesh appears uniformly bright. Both of these mess up the mesh in you example images. Tom
On Oct 16, 2015, at 10:42 AM, Elaine Meng wrote:
Hi Oliver, The WebGL export is at least semi-experimental, and we are aware of several limitations in terms of differing appearance or omission of some things that are shown in the Chimera session. So while we aren’t surprised at the differences you report, it may still be useful in various situations. Best, Elaine ----- Elaine C. Meng, Ph.D. UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco
On Oct 16, 2015, at 10:35 AM, Oliver Clarke wrote:
Hi Eric,
I had no idea you could do this, it works great and could be very handy!!
The colors and lighting (and positions) don’t seem to be preserved though and differ between firefox and safari - see the attached screenshots and test webgl of 1BL* with EDS maps (WebGL link: https://www.dropbox.com/s/jlwt8ynrz59w5qx/test_webgl.html?dl=0).
Oli. <Screenshot 2015-10-16 13.23.10.png><Screenshot 2015-10-16 13.23.02.png> <Screenshot 2015-10-16 13.28.31.png>
Hi Albert, Look at the File->Export Scene menu. That allows you to export to various file formats that your recipient may be able to view without any easy ability to save the result as a PDB file. In particular the “WebGL” export can be viewed as a web page in most modern browsers, with the ability to manipulate the structure interactively.
—Eric
Eric Pettersen UCSF Computer Graphics Lab
On Oct 16, 2015, at 6:41 AM, Albert <mailmd2011 at gmail.com
wrote:
Hello:
I've made a Chimera section which I would like to share with somebody else. However, I don't want the PDB within Chimera section to be exported by others. Is it possible for us to export some special file format so that other users can only visualize my file, but they cannot edit or export file into PDB coordinate?
Thanks a lot
Albert
_______________________________________________
Chimera-users mailing list
Chimera-users at cgl.ucsf.edu http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
_______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
_______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users

Thanks a lot for such helpful reply. I found that there is some problem for both Firefox and Chrome under my Linux OS. It claimed that they didn't support webGL. I am using Dell M3800 laptop which has Nvidia Quadra K1100 M plus Intel 4600. I evoke the browser with command: optirun /usr/bin/firefox but the webGL still doesn't work.... Does anybody have any idea? thx a lot On 10/16/2015 08:11 PM, Tom Goddard wrote:
One of the limitations that of WebGL export is that it doesn’t appear to display transparency correctly. Also it doesn’t appear to handle lighting of meshes instead the mesh appears uniformly bright. Both of these mess up the mesh in you example images.
Tom

Essentially all current browsers support WebGL, so you perhaps have older browser versions. Here is a web page describing which browser versions support WebGL and describing why some only partially support WebGL (usually video drivers are not up to date). http://caniuse.com/#feat=webgl Tom
On Oct 16, 2015, at 11:45 AM, Albert <mailmd2011@gmail.com> wrote:
Thanks a lot for such helpful reply.
I found that there is some problem for both Firefox and Chrome under my Linux OS. It claimed that they didn't support webGL.
I am using Dell M3800 laptop which has Nvidia Quadra K1100 M plus Intel 4600. I evoke the browser with command:
optirun /usr/bin/firefox
but the webGL still doesn't work....
Does anybody have any idea?
thx a lot
On 10/16/2015 08:11 PM, Tom Goddard wrote:
One of the limitations that of WebGL export is that it doesn’t appear to display transparency correctly. Also it doesn’t appear to handle lighting of meshes instead the mesh appears uniformly bright. Both of these mess up the mesh in you example images.
Tom

That's a little bit strange. I just check my browser version: firefox: 40.0.3 Chrome: 45.0.2454.101 Thanks again Albert On 10/16/2015 08:51 PM, Tom Goddard wrote:
Essentially all current browsers support WebGL, so you perhaps have older browser versions. Here is a web page describing which browser versions support WebGL and describing why some only partially support WebGL (usually video drivers are not up to date).
http://caniuse.com/#feat=webgl
Tom

See https://www.khronos.org/webgl/wiki/BlacklistsAndWhitelists to see which graphics drivers are expected to work. I see that for Chrome "WebGL is disabled on the dynamically switching NVIDIA+Intel GPUs", so you would need to turn off the Intel GPU in your BIOS for WebGL to work. HTH, Greg On 10/16/2015 11:45 AM, Albert wrote:
Thanks a lot for such helpful reply.
I found that there is some problem for both Firefox and Chrome under my Linux OS. It claimed that they didn't support webGL.
I am using Dell M3800 laptop which has Nvidia Quadra K1100 M plus Intel 4600. I evoke the browser with command:
optirun /usr/bin/firefox
but the webGL still doesn't work....
Does anybody have any idea?
thx a lot
On 10/16/2015 08:11 PM, Tom Goddard wrote:
One of the limitations that of WebGL export is that it doesn’t appear to display transparency correctly. Also it doesn’t appear to handle lighting of meshes instead the mesh appears uniformly bright. Both of these mess up the mesh in you example images.
Tom
_______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users

thanks a lot. Finally it works in firefox after I change the config file. But still problem with chrome. On 10/16/2015 10:13 PM, Greg Couch wrote:
See https://www.khronos.org/webgl/wiki/BlacklistsAndWhitelists to see which graphics drivers are expected to work. I see that for Chrome "WebGL is disabled on the dynamically switching NVIDIA+Intel GPUs", so you would need to turn off the Intel GPU in your BIOS for WebGL to work.
HTH,
Greg
participants (5)
-
Albert
-
Elaine Meng
-
Greg Couch
-
Oliver Clarke
-
Tom Goddard