[Jmol-developers] request for save/restore view functionality -- applet

2005-04-19 Thread hansonr
Forgive me if I have already asked for this. save view [unique_name] load "some_file_name" or .loadInline("some data") restore view [unique_name] or, perhaps better: set defaultview CURRENTVIEW load "some_file_name" or .loadInline("some data") The idea is a capture of the cu

Re: [Jmol-developers] pmesh format

2005-04-19 Thread Miguel
> data interpolation given a 2d parameterization (terrain skinning) is > nothing at all like recovering a general 3d surface from scattered > points. the 3d version is a solved problem, but it's not done simply > (look into the siggraph proceedings from early-to-mid nineties for a > succession of

Re: [Jmol-developers] pmesh format

2005-04-19 Thread Will Welch
data interpolation given a 2d parameterization (terrain skinning) is nothing at all like recovering a general 3d surface from scattered points. the 3d version is a solved problem, but it's not done simply (look into the siggraph proceedings from early-to-mid nineties for a succession of methods

Re: Re: [Jmol-developers] pmesh format

2005-04-19 Thread Miguel
> Yes, I think it is difficult to extract triangles from vertices ubt it is > possible (if I understand correctly the problem). Yes, is possible, but the solution has eluded me. > Are all the vertices in the same plane ? No > That is, do they form a polygon ? > If so, my idea would be to use a

Re: [Jmol-developers] pmesh format

2005-04-19 Thread Miguel
> On Tuesday 19 April 2005 11:58 am, Miguel wrote: >> Egon wrote: >> > Ok, I'll think about how to get to triangles from a set of vertices... >> > (suggestions welcome, ofcourse)... >> >> This is a difficult problem that I have been working on for months. >> This is the reason that my surface code

Re: Re: [Jmol-developers] pmesh format

2005-04-19 Thread nvervell
>Egon wrote: >> Ok, I'll think about how to get to triangles from a set of vertices... >> (suggestions welcome, ofcourse)... > >Egon, > >This is a difficult problem that I have been working on for months. > >This is the reason that my surface code does not work. Yes, I think it is difficult to ex

Re: [Jmol-developers] pmesh format

2005-04-19 Thread Egon Willighagen
On Tuesday 19 April 2005 11:58 am, Miguel wrote: > Egon wrote: > > Ok, I'll think about how to get to triangles from a set of vertices... > > (suggestions welcome, ofcourse)... > > This is a difficult problem that I have been working on for months. > This is the reason that my surface code does not

Re: [Jmol-developers] pmesh format

2005-04-19 Thread Miguel
Egon wrote: > Ok, I'll think about how to get to triangles from a set of vertices... > (suggestions welcome, ofcourse)... Egon, This is a difficult problem that I have been working on for months. This is the reason that my surface code does not work. > Have been thinking about this... coloring

Re: [Jmol-developers] pmesh format

2005-04-19 Thread Egon Willighagen
On Tuesday 19 April 2005 11:22 am, Miguel wrote: > >> > Q1: What are the options to draw a surface with just vertices defined? > >> > >> There is no support for that today. > > > > Ok. If I understand correctly, the missing step is defining the triangles > > based on those vertices? Correct? Say we

Re: [Jmol-developers] pmesh format

2005-04-19 Thread Miguel
> On Monday 18 April 2005 19:37, Miguel wrote: >> > The polygon is a line through all vertices? >> >> In the pmesh format they polygons are triangles or quadrilaterals. > > Ok, so I have to take three/four ints at a time in the pmesh file? Correct. >> I do not understand how there could be one l