Re: vmd-l: Re: Is there someway to render protein picture without background color?

From: John Stone (johns_at_ks.uiuc.edu)
Date: Tue Sep 17 2019 - 16:11:48 CDT

Hi,
  You didn't say what operating systme you're using, but if you're running
a Linux version of VMD 1.9.4 alpha, you can use the OptiX/CUDA version
of my ray tracing engines that support alpha channel output.
If you use the TachyonLOptiXInternal or TachyonLOptiXInteractive
renderers in the render menu, you can set a special environment
variable in VMD and enable alpha-channel output and use PNG as the
image output file type, e.g. in the VMD text console do:
  set env(VMDOPTIXWRITEALPHA) 1
  render TachyonLOptiXInternal alphachannel.png

Best regards,
  John Stone
  vmd_at_ks.uiuc.edu

On Sat, Sep 14, 2019 at 06:52:08PM -0700, Chitrak Gupta wrote:
> Hi Jiali,
> I am not aware if you can do this directly in VMD. However, it is
> relatively straightforward to do it in an image-processing software after
> rendering them from VMD. I typically use GIMP (it's free) and it works
> quite well.
> Hope this helps.
> Chitrak.
> On Sat, Sep 14, 2019 at 6:35 PM jiali wang <[1]jialiwangnamd_at_gmail.com>
> wrote:
>
> Hi everyone,
> Â Â Â Â Is there someway to take picture from VMD, but only leave
> protein picture without background picture(transparency background)?
> thank you!!
> jiali
>
> References
>
> Visible links
> 1. mailto:jialiwangnamd_at_gmail.com

-- 
NIH Center for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
http://www.ks.uiuc.edu/~johns/           Phone: 217-244-3349
http://www.ks.uiuc.edu/Research/vmd/      

This archive was generated by hypermail 2.1.6 : Thu Dec 31 2020 - 23:17:12 CST