From: Vieri Di Paola (dipaola++at++cli.di.unipi.it)
Date: 03/17/2000 07:29:20
Hello performer-list,
I am a Biology student and wish to make a simple program for viewing pdb
molecules. As a small project, I would
like some information on the following matter. My project consists in
drawing spheres for each atom. My problem is that I cannot find any help
anywhere on the Internet that explains an algorithm for efficient >15000
spheres drawing. I suppose "hidden" spheres (according to a
certain view angle) shouldn't be drawn, etc... Does IRIS-performer provide
an efficient algorithm for the "spatial" model representation of
molecules?
Can anybody tell me exactly where to look at in the "performer" source
code examples?
Or can anybody tell me where (if) I can find a simple, to-the-point
tutorial that handles this rendering problem?
My project can be summarized as follows:
1- take a set of x,y,z atom coordinates from a pdb file (simple)
2- apply algorithm to "sort out" the atoms I need to draw according to the
user's viewing angle
3- draw only the "visible" atoms by plotting spheres with the appropriate
Wan Der Waals radius
4- update "visible" and "hidden" atoms when user rotates molecule
I'm using FLTK (www.fltk.org) and MESA (www.mesa3d.org) (and hopefully
Iris-performer) on Linux.
Thanks in advance,
Vieri Di Paola
This archive was generated by hypermail 2b29 : Fri Mar 17 2000 - 07:33:43 PST