VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Wed Jun 09 2010 - 10:06:06 CDT
- Next message: Axel Kohlmeyer: "Re: about vmd solvation plugin"
- Previous message: Nicolas Sapay: "Re: Retrieving the Cremer-Pople parameters"
- In reply to: maria goranovic: "Rending to png format using tachyon or otherwise ?"
- Next in thread: maria goranovic: "Re: Rending to png format using tachyon or otherwise ?"
- Reply: maria goranovic: "Re: Rending to png format using tachyon or otherwise ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
I haven't implemented background-free images for Tachyon yet.
Actually what this type of feature actually does is add an alpha-channel
to the image corresponding to the amount of background visible through
each rendered pixel. While the math involved in computing the alpha
channel is relatively inexpensive, adding support for it in Tachyon would
likely mean making changes all throughout the rendering code so it gets
passed around everywhere, which adds some overhead in cases when you don't
need it. If you want to superimpose a Tachyon image on a background, an
alternative way to do this is to load your background image as a texture
map and put it on a plane at the very back of the view volume, and set
the material properties for the plane to be entirely diffuse.
If you're interested in doing something like that, I could probably write
you a little Tcl script for VMD that would do this by appending commands
to an existing Tachyon scene file. I won't have time to work on it until
next week however.
Cheers,
John Stone
vmd_at_ks.uiuc.edu
On Wed, Jun 09, 2010 at 04:33:25PM +0200, maria goranovic wrote:
> Is it possible to render images to background-free .png format images?
> From the mailing list, it seems that it is not included in the
> downloadable binary formats?
>
> --
> Maria G.
> Technical University of Denmark
> Copenhagen
-- NIH Resource for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 Email: johns_at_ks.uiuc.edu Phone: 217-244-3349 WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
- Next message: Axel Kohlmeyer: "Re: about vmd solvation plugin"
- Previous message: Nicolas Sapay: "Re: Retrieving the Cremer-Pople parameters"
- In reply to: maria goranovic: "Rending to png format using tachyon or otherwise ?"
- Next in thread: maria goranovic: "Re: Rending to png format using tachyon or otherwise ?"
- Reply: maria goranovic: "Re: Rending to png format using tachyon or otherwise ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]