>From an implementation point of view, it is important that you use exactly
the methods already present in the exporter. However, there are
possibilities, for example,  for "caching" spheres in the exporter and then
expressing them at the end. This is conceivable. There is a "finalize"
method that is run that the exporter can use to do whatever it wants. It
would involve a Hashtable. I'd have to take a look at how flexible the
macros are, but I don't think there would be a huge savings just be caching
spheres.

2009/7/16 Angel Herráez <[email protected]>

> > This is terrific -- we really haven't had anyone seriously go after this.
> I just threw together some
> > code to get the job done. Anything like this is most welcome, and I will
> certainly support it. Angel,
> > how would you like to take a crack at optimizing the VRML export code? I
> can help you with
> > anything you want.
>
> I am reading the VRML doc, but I need some example code to be sure how it
> is done.
>
> On the other hand, I think we may have a problem since, as far as I see,
> the exporter now
> goes through every atom and renders a sphere. I don't see how we can make
> in advance
> collections of atoms with the same properties (size, color and
> translucency).
>
>
> > Mostly we have the issue that there are two types of coordinates --
> Cartesian
> > and screen.
>
> I don't think this is a problem. Jmol knows the xyz coords, and that's all
> we need for VRML.
> No need for screen coords.
>
>
>
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> 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
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to