Wayne, you can generate POV-Ray of any height and width. Export function is
totally independent of the actual applet height and width, except it takes
those as defaults. I suppose we have it limiting that from the menu, but
from the console:

write povray 1000 1000 t.pov

It's then the t.pov.ini file that stores that information. Now, I have to
think about how the signed applet creates two files....

About the reset -- OK, that's from a

show orientation

command. I can't imagine how that is getting into a VRML file. I'm sure
missing something!!

Line 29 of a VRML file created by Jmol should read:

children [

Hmm!

Bob

On Mon, Apr 26, 2010 at 4:29 PM, Wayne Decatur <[email protected]> wrote:

> First in regards to the VRML files and others not seeing the line beginning
> 'reset; center....' .
>
> The VRML files I had been generating with RC8 aren't accessible right now.
> I just generated a new one using RC9 and it looks similar in that it seems
> to still have the 'reset;center' command on line 29 which is where the
> vrml2pov noted an error. However, since I don't have access to the computer
> with the other software I cannot see for sure if it still causes problems in
> Swirl X3d viewer or vmrl2pov right now.
>
>
>
> The pertinent part is:
>
> "#OR
>
> #Follows Z-Y-Z convention for Euler angles
>
> reset;center {-9.344042 35.45582 69.35735}; rotate z 171.68; rotate y
> 94.13; rotate z 137.96; zoom 117.98; translate y 0.06; set rotationRadius
> 40.92;"
>
>
>
> All the code is posted at http://drop.io/jmolgenvrml/asset/jmol-wrl
>
>
>
> Another example from a different pdb file is posted at
> http://pastebin.com/U8aQvhfy
>
> This time the putative problem line begining reset; center....'  appears
> on line 28:
>
>
>
> "#OR
>
> reset;center {14.91051 4.2792573 -3.3561025}; rotate y 39.67; set
> rotationRadius 31.62;"
>
>
>
>
>
> Thanks Paul and Bob!
>
> The hermitelevel and highresolution commands (set hermitelevel 10 ; set
> highresolution on)  definitely improved my results for the ribbon direct
> from Jmol to POV-Ray.  See
> http://drop.io/85qrkhy/asset/direct-from-jmol-400-png.  I am a bit
> embarrassed because I meant to play around with the hermitelevel some before
> sending the e-mail to the users group but I had no idea about 'set high
> resolution' and so in a way I am glad I did.
>
> However, the applet the window size on Proteopedia is limited (and pop-up
> doesn't run signed version) and so when I alter the width and height
> settings in the POV-Ray ini file to make it larger than 400 by 400 pixels,
> the circles appear again. See this example
> http://drop.io/85qrkhy/asset/direct-from-jmol-900-png where I altered the
> ini file height and width to 900 my loops don't look nearly as good as
> Paul's and Bob's. In fact, although these settings improved things, I don't
> know if my loops in the 400 pixel image look as good as Paul's and Bob's
> even though I entered set hermitelevel 10 and set highresolution in the
> console. Could there be a difference for the signed applet vs. the Jmol
> application? Maybe it isn’t possible to edit the ini file to render a larger
> image? I am trying to work out the best conditions for users making images
> from Proteopedia pages which right now seems limited to 400 (although Eran
> has said this could be altered eventually).
>
>
>
> In regards to "
>
> All the normals are there for POV-ray. I think you just are being caught by
>
> the fact that the VRML automatically sets hermiteLevel to 5, and POV-ray
>
> doesn't. That's on purpose. The idea in the POV-ray was to recreate EXACTLY
>
> the image in Jmol; the idea in VRML is to have a 3D object. In a sense,
>
> without hermiteLevel, the POV-ray is only a 2D (paper-thin) object embedded
>
> in 3D."….
>
>
>
> I can see the point in having an option to recreate exactly the image in
> Jmol. And generating PNG and jpg image files would seem to fulfill that
> role. I don't think people familiar with the powerful POV-Ray engine would
> be expecting that necessarily? Are concerns about JAVA memory the reason for
> making the output to POV-Ray as high quality as it can be without the need
> to enter commands in the console? This seems to be putting up a hurdle to a
> high quality image directly from the applet menu for most users. Maybe we
> could keep the POV-Ray generated image as an option and also add in the menu
> an option for a higher quality POV-Ray image where Jmol creates a 3D POV-Ray
> object or a POV-Ray scene as if  'set hermitelevel 10 ; set
> highresolution' had been already entered in the console? This is what the
> POV-Ray option of Swiss-PDV viewer outputs. Then non-advanced users get a
> quick route to a higher quality images and advanced users can add a few
> lines and quickly generate either a movie of the structure rotating or add
> camera flying around the object. Or the advanced users can incorporate it
> into more complex POV-Ray scenes.  (I haven't verified that Pymol's
> default POV-Ray output is a full 3D object so maybe my expectations are only
> based on work in Swiss-PDB viewer. Anyone know for Pymol?) Even if the
> higher quality POV-Ray image option in the menu did the exact same thing it
> does now but output the POV-Ray file if  'set hermitelevel 10 ; set
> highresolution' had been already entered in the console, that would be an
> improvement for users?
>
>
>
> Thanks,
>
> Wayne
>
>
>
>
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>


-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to