Lipid Bilayer Protein
"Cindy Chan" <[email protected]> Tue, 18 Jan 2005 14:25:42 -0500
| Newsgroups | gmane.comp.breve |
|---|---|
| Message-ID | <[email protected]> |
Hi You may not remember me as I have previously sent an email asking for help, but as a refresher, I am trying to write a simulation based on protein interactions. Basically, what I am trying to do is simulate the formation of a lipid bilayer protein on a 2-dimensional surface. At present, I am wondering if it is possible for Breve to calculate the difference in distance from one sphere to another in 3-dimensional space and if so, how can I display this information? Is it possible to select a sphere and then for Breve to automatically give me the exact location (or co-ordinates) of the sphere itself? Thankyou Cindy Chan >From: [email protected] >Reply-To: [email protected] >To: [email protected] >Subject: breve Digest, Vol 18, Issue 9 >Date: Wed, 12 Jan 2005 12:00:19 -0500 (EST) > >Send breve mailing list submissions to > [email protected] > >To subscribe or unsubscribe via the World Wide Web, visit > http://lists.spiderland.org/mailman/listinfo/breve >or, via email, send a message with subject or body 'help' to > [email protected] > >You can reach the person managing the list at > [email protected] > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of breve digest..." > > >Today's Topics: > > 1. Re: Lines (jon klein) > > >---------------------------------------------------------------------- > >Message: 1 >Date: Wed, 12 Jan 2005 10:43:55 -0500 >From: jon klein <[email protected]> >Subject: Re: [breve] Lines >To: [email protected] >Message-ID: <[email protected]> >Content-Type: text/plain; charset=US-ASCII; format=flowed > > >On Jan 10, 2005, at 4:24 PM, Naiqi Weng wrote: > > > Hi, Jon > > > > I have tried the "set-bitmap" stuff ,but unfornately > > the speed still tremendously slows down when I make > > the spheres visible and "set-bitmap to 0". You said > > the real fix is use breve 2.1. But is it a released > > source code or just the every day snapshot? Currently > > all my work is done in breve 1.9 and I have made > > changes to the source code in order to display my > > anmation on that volumetric display. So there will be > > a lot of work to do if I want to use the new version > > of breve 2.0. I have bumped into a lot of problems > > when I tried to build breve1.9 in Mingw. I am > > wondering if there is any other libraries I should > > include if I want to build breve 2.0 based on my > > settings in Mingw to build 1.9? And when do you think > > the breve 2.1 source code wil be available? > >The latest source code is now available from SourceForge. This >is not the final 2.1 source, but it is now rather stable on >Mac OS X and Linux. I'm doing some work on the Windows end >right now and that should be sorted out soon as well. > >Instructions on accessing the source code are available here: >https://sourceforge.net/cvs/?group_id=124663 > >If you'd rather address the problem in your old 1.9 source, >that should also be pretty straightforward. If you look >in the file gldraw.c and search for "DM_INVISIBLE", you'll >find something like the following: > > if(w->objects[n] && !(w->objects[n]->drawMode & DM_INVISIBLE)) > >If you look below this, you'll see that this is where the >object itself is drawn, as well as the lines to neighboring >objects. Currently, the line drawing is inside this >if-statement. Like this (pseudocode): > >if ( ! invisible ) { > draw_object(); > draw_lines(); >} > >You'll just want to move the line-drawing code outside of that >if-statement. Then your line will be drawn regardless of whether >the object itself is visible or not: > >if ( ! invisible ) { > draw_object(); >} > >draw_lines(); > >If you have any problems doing this, mail me off-list, and send >me the copy of gldraw.c that you're currently using. > >- jon klein > > >------------------------------ > >_______________________________________________ >breve mailing list >[email protected] >http://lists.spiderland.org/mailman/listinfo/breve > > >End of breve Digest, Vol 18, Issue 9 >************************************ _______________________________________________ breve mailing list [email protected] http://lists.spiderland.org/mailman/listinfo/breve