Hi Gun,

On Mon, 2005-06-20 at 12:55 -0500, Dirk Reiners wrote:
> 
> I can partially reproduce this (top line not used on a 1024x768). I'll
> try to look into it, but the Cluster code is primarily Marcus' domain,
> so I can't promise I'll solve it. But he just went on vacation, so I
> know he won't solve in the next couple weeks, either...
> 
> I'll see what I can find.

I think I identified the culprit, at least for now. I changed the
precision for some of the scaling calculation from the client to the
server window(s) (see patch below), and that fixes the problem for me.
It's committed and should be in the dailybuild tomorrow.

However, there could still be problems if people use very small windows
on the client side. So don't be tempted to use a 1x1 window on the
client side because you don't need it anyway, right now that will give
pretty unexpected results.

Hope it helps

        Dirk


--- OSGMultiDisplayWindow.cpp   15 Apr 2005 09:53:42 -0000      1.19
+++ OSGMultiDisplayWindow.cpp   20 Jun 2005 19:32:20 -0000
@@ -161,8 +161,8 @@ void MultiDisplayWindow::serverRender( W
     Int32 bottom = row    * height - row    * getYOverlap();
     Int32 right  = left   + width  - 1;
     Int32 top    = bottom + height - 1;
-    Real32 scaleCWidth  = ((width - getXOverlap()) * (getHServers() - 1) + 
width) / (float)getWidth();
-    Real32 scaleCHeight = ((height - getYOverlap())* (getVServers() - 1) + 
height)/ (float)getHeight();
+    Real64 scaleCWidth  = ((width - getXOverlap()) * (getHServers() - 1) + 
width) / (float)getWidth();
+    Real64 scaleCHeight = ((height - getYOverlap())* (getVServers() - 1) + 
height)/ (float)getHeight();

     // duplicate viewports
     for(cv=0,sv=0;cv<getPort().size();cv++)




-------------------------------------------------------
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_id=7477&alloc_id=16492&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to