Hi,

I see that you have worked on the povray output.
I made myself some modifications to Jmol code to work on the povray output

The modifications I have made :

Concerning the output of only the visible items, you can now choose to
output only the currently displayed model (rendered as 1 frame) or all the
models (rendered as n frames, n being the number of models)

Concerning the output of bonds :
- output of hydrogen bonds is added
- output of aromatic bonds is added but the position of the full cylinder
and the dashed cylinder are not always the same when seen in Jmol. I don't
know if it is a problem
- output of s-bonds is not added because I didn't find a sample with one of
them to look at how it was displayed
- in the SticksRenderer, I saw that there was also a case for
BOND_STEREO_FAR and BOND_STEREO_NEAR (rendered as triangle ?), but I didn't
find a sample to to look at them.

Concerning the output of secondary structure, I am not familiar with how
data is organized in Jmol so I had problems to find what was the data to
output. I made a test with 'polymer' : it seems that I get the points used
to draw the 'trace'.
I couldn't find a simple way to render correctly the trace in povray. I
tried the sphere_sweep object but it is limited to the following splines :
- linear_spline : draws straight lines between each point
- b_spline or cubic_splice : draw curves but the curves do not pass any more
through the points

Every modifications I made are committed to CVS. To see the current result
of the output of 'polymer', you must edit the jmol.pov file manually by
setting the showPolymers variable to true before rendering.


----- Original Message ----- 
From: "Miguel" <[EMAIL PROTECTED]>
> Mojca wrote:
> > sphere_sweep {
> > cubic_spline
> > 50,
>
> Q: What is the 50? a 'tension' for the spline?

It's the number of points defining the sphere_sweep

> > <7.5302067,7.317073,-2.4672596>,0.3,
>
> Q: Is there a way that we can generate povray macros for the <x,y,z>
> coordinates?
>
> I would like to generate the points themselves as macros with names. Then
> use those names when we generate the macros for atoms, bonds, and other
> shapes.

Something like the following ?
#macro point_XX() <x, y, z>
#end

...

sphere { point_XX(), RADIUS }




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to