Hi Thomas,

thank you very much for your explanation and recommendation, it completely 
solved the issue I had.
The image it produced with shader rendering is brilliant!!

Thanks a lot!
Anna

-----Ursprüngliche Nachricht-----
Von: Thomas Holder [mailto:[email protected]]
Gesendet: Mittwoch, 20. August 2014 15:50
An: Diller, Anna, Dr.
Cc: [email protected]
Betreff: Re: [PyMOL] Volume - ray - rendering

Hi Anna,

the "ray_volume" setting is really just a hack or workaround to blend the 
OpenGL rendered volume with the ray traced image of the rest of the scene, and 
it has it's limitations. My recommendation is not to ray trace at all, but 
instead take advantage of our high resolution OpenGL shader rendering which 
mimics ray tracing very close. Only shadows are not supported. You can render 
into a larger image with "draw 1000,1000".

Example:

# mimic ray tracing (most of these are already default) set use_shaders set 
ray_shadow, 0 set stick_as_cylinders set ribbon_as_cylinders set 
line_as_cylinders set nonbonded_as_cylinders

# load example data
fetch 1rx1, mol, async=0
fetch 1rx1, map, async=0, type=2fofc
volume vol, map
show cartoon
show sticks, organic
orient organic
clip slab, 12

# increase volume quality
set volume_layers, 1000

# capture high resolution image
draw 2000, 2000
png draw.png


Hope that helps.

Cheers,
  Thomas

On 20 Aug 2014, at 03:56, Diller, Anna, Dr. <[email protected]> 
wrote:
> Dear pymol-users,
>
> the volume representation works splendid for me, when I ray an image
> with the command ray the volume representation stays as indicated on
> the screen prior to rendering, which is perfect, however when I ray an image 
> with the command e.g ray 1000,1000 or ray 2000,2000 the volume representation 
> changes and appears enlarged ?
>
> Has anybody had the same issue ?
>
> Thanks a lot for your response!
>
> With kind regards,
> Anna
>
> Helmholtz Zentrum München
> Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
> Ingolstädter Landstr. 1
> 85764 Neuherberg
> www.helmholtz-muenchen.de
> Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe
> Geschäftsführer: Prof. Dr. Günther Wess, Dr. Nikolaus Blum, Dr. Alfons
> Enhsen
> Registergericht: Amtsgericht München HRB 6466
> USt-IdNr: DE 129521671

--
Thomas Holder
PyMOL Developer
Schrödinger, Inc.


Helmholtz Zentrum München
Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
Ingolstädter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe
Geschäftsführer: Prof. Dr. Günther Wess, Dr. Nikolaus Blum, Dr. Alfons Enhsen
Registergericht: Amtsgericht München HRB 6466
USt-IdNr: DE 129521671

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
PyMOL-users mailing list ([email protected])
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/[email protected]

Reply via email to