Re: [Jmol-developers] optimization of VRML

2009-07-19 Thread Angel Herráez
Bob, the new orientation in vrml is giving  me trouble; if I rotate the model 
before export, in 
the  vrml the model is often out of sight. Sometimes it comes into view by 
rotating around in 
the vrml viewer, other times it's hard to catch it.
It may be correctly reproducing the orientation in Jmol, as you intended, but 
since it is not 
visible, it appears like the export has not worked.
Looks like a problem with the center of rotation, maybe?




--
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-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


[Jmol-developers] (new) export to X3D

2009-07-19 Thread Angel Herráez
Hi all

Following Bob's big improvement on VRML export, I have picked up an old project 
and 
updated the (unreleased until now) exporter for X3D format.
X3D is an XML version of VRML, so features are similar and having it is no 
great fuss. I just 
felt like doing it.

I've tested it quite a bit with several kinds of features, but something might 
be broken. If you 
have trouble, please say so.

The new export format is available both from command ( write x3d myFile.x3d ) 
and from 
the pop-up menu.

While adding this, I have also changed the deafult extensions to match what 
seems to be 
the most widely used ones:

.vrml  ==  .wrl(world)
.maya == .ma   (Maya ascii)

anyway, while exporting one can type any extension.

I plan to revise the pop-up menu and the app's topbar menu so they share 
similar 
functionality regarding export formats. Also, I think we should change Save 
to Export.



--
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-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


Re: [Jmol-developers] optimization of VRML

2009-07-19 Thread Robert Hanson
Yes, I see that, too. There is more to do there ... OK, I think I've got it
pretty close. Give that some testing and adjust the X3d.

2009/7/19 Angel Herráez angel.herr...@uah.es

 Bob, the new orientation in vrml is giving  me trouble; if I rotate the
 model before export, in
 the  vrml the model is often out of sight. Sometimes it comes into view by
 rotating around in
 the vrml viewer, other times it's hard to catch it.
 It may be correctly reproducing the orientation in Jmol, as you intended,
 but since it is not
 visible, it appears like the export has not worked.
 Looks like a problem with the center of rotation, maybe?





 --
 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-developers mailing list
 Jmol-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jmol-developers




-- 
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-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


Re: [Jmol-developers] (new) export to X3D

2009-07-19 Thread Robert Hanson
OK! That's what I like to see. Thanks, Angel. Very fast work there. I'm not
sure I have the final answer for the perspective implementation, but I think
I'm close. A bit of a fudge there... I'm going to argue that this doesn't
have to be perfect. Of course, if it were, that would be nice, too!

2009/7/19 Angel Herráez angel.herr...@uah.es

 Hi all

 Following Bob's big improvement on VRML export, I have picked up an old
 project and
 updated the (unreleased until now) exporter for X3D format.
 X3D is an XML version of VRML, so features are similar and having it is no
 great fuss. I just
 felt like doing it.

 I've tested it quite a bit with several kinds of features, but something
 might be broken. If you
 have trouble, please say so.

 The new export format is available both from command ( write x3d myFile.x3d
 ) and from
 the pop-up menu.

 While adding this, I have also changed the deafult extensions to match what
 seems to be
 the most widely used ones:

 .vrml  ==  .wrl(world)
 .maya == .ma   (Maya ascii)

 anyway, while exporting one can type any extension.

 I plan to revise the pop-up menu and the app's topbar menu so they share
 similar
 functionality regarding export formats. Also, I think we should change
 Save to Export.




 --
 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-developers mailing list
 Jmol-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jmol-developers




-- 
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-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers