Oh - I see now that you said that the applet worked with depth 0, not 
JSmol/HTML5. Sorry for the confusion; I have now confirmed your confirmation 
that “set echo depth 0" does not address the black background problem in JSmol. 
 ;-)


> On Jun 9, 2015, at 2:21 PM, Frieda Reichsman <frieda...@mac.com> wrote:
> 
> Angel, thanks for your response! And for confirming these reports. I hope you 
> are well.
> 
> Unfortunately, the trick you suggest below (setting the echo depth to zero) 
> does not clear the black background for me - not sure why it would work in 
> one circumstance (yours :) and not another. 
> 
> 
>> On Jun 8, 2015, at 2:46 PM, Angel Herráez <angel.herr...@uah.es 
>> <mailto:angel.herr...@uah.es>> wrote:
>> 
>> Dear Frieda,
>> 
>> How are you? Good to hear from you!
>> 
>> I've been in the same situation regarding black backgrounds, although I 
>> don't recall now for sure how I solved it or went around it.
>> 
>> Testing in the app (v.14.3.12), I confirm that PNG files with transparent 
>> bkg do not enjoy real transparency, but inherit in Jmol the bkg color of the 
>> Jmol background.
>> This, together with a trick, may give you what you need:
>> image echos may be sent to the back, so the model will display over them -- 
>> and to all effects, the image bkg merges with the global bkg and makes no 
>> interference with the model.
>> 
>> background white
>> set echo ~test2 image “some.png"
>> set echo ~test2 scale 0.4
>> set echo ~test2 depth 0
>> 
>> Regarding the 2 echo images not living together, it might be an issue with 
>> the javacript or HTML5 canvas. Have you tested with the applet?
>> 
>> Best,
>> Angel
>>   
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Jmol-users mailing list
>> Jmol-users@lists.sourceforge.net <mailto:Jmol-users@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users

------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to