>> Q: Are you trying to create a streaming 'movie' > of data coming off of >> the file system? > > well, that would be perfect, since visualization could start > imediately. but no movie, the user can choose the visualisation > himself. and scroll back- and forward. > > so how is it working now? you load a molecule into the jmol data > structure (hash, array) and when it is completely loaded the > visualisation procedure begins?
There is an intermediate stage. Jmol does not read data files directly. Rather, files go through an intermediate stage and molecular data structures are fetched through an API ... the JmolModelAdapter. This design makes it easier and cleaner to support a wide variety of file formats. > coudn't it work in parallel, > visualisation starts once the first frame is loaded and every now and > then the information (frame number) is updated? No. It was not designed for that. You could consider writing your own model adapter and loading them as separate files ... but going down that path would represent a great deal of work. >> Q: Do you expect to have enough memory to retain > all the models in >> memory? > > vmd reads 10.000 x 2000 atoms without problem, That is 20 million atoms ... very impressive > i don't know in what type of data structure they > store it but i suppose similar to jmol. This is the first indication I have had that you want to do this as an application instead of in the applet. > but i don't know how efficient java uses memory... With the application you can control memory size. The fundamental issue with memory usage is not java vs. c ... rather it is the data structure design. Jmol was designed to handle a such a large number of models. I assume that VMD is designed to run on high-end workstations with 3D graphics hardware support. Jmol was designed as a teaching tool to run as an applet on 500Mhz machines with no graphics hardware support. Miguel ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
