Hi Carsten e.a.,

> I am thinking that if it would be possible to write out the orientation
> of the clipping planes/slabs as PovRay objects, they could be used as
> bounding objects in PovRay. Since the placement of the clipping planes
> is easily achieved in Pymol this could be done interactively. All the
> user has to do is to associate clipping plane(s) with a graphics object,
> place the planes and write out the corresponding PovRay code of the
> object and the planes. Of course the code of the clipping objects needs
> to be separate from the other stuff, so expanding the "PovRay tuple"
> into (matrix,clipping,data) parts would help.
> Getting it all together requires some knowledge of PovRay but examples
> in the Wiki should help to get over the initial pain.
>
> Any thoughts on this approach?
>

This is actually almost trivial, since the clipping planes are stored
in the view setting. Okay, it may not seem trivial if you lack
experience with the Pymol/POVRay communication, and with POVRay
macros. Unfortunately I don't have time now or the coming two weeks,
but I'll try and put it into an easily accessible form soon. Maybe to
Wiki is the right place to expand on this.

For those interested, I'll add this to my pymolmacro.inc POVRay
include file, which should be in the archives somewhere.

Cheers,

Tsjerk

-- 
Tsjerk A. Wassenaar, Ph.D.
Junior UD (post-doc)
Biomolecular NMR, Bijvoet Center
Utrecht University
Padualaan 8
3584 CH Utrecht
The Netherlands
P: +31-30-2539931
F: +31-30-2537623

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
PyMOL-users mailing list
PyMOL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pymol-users

Reply via email to