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

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


_______________________________________________
breve mailing list
[email protected]
http://lists.spiderland.org/mailman/listinfo/breve