Hello Dirk,

Am Freitag, den 01.06.2007, 10:02 -0500 schrieb Dirk Reiners:
>       Hi Thomas, hi Patrick,
> 
> Thomas Kuleßa wrote:
> > Hello Patrick,
> > 
> > sorry for not answering so long, I didn't have time to look again in the
> > code for two weeks. Have you made any advances? Did my code help? It is
> > based on the file "System/Window/testProjection.cpp". I am kind of
> > clueless right now.
> 
> Dan sent me an example program a little while ago that I used to look into 
> this. 
> One thing I see is that your Viewports all have size 0,0,1,1. That makes them 
> will the whole Window. The idea is to make them smaller (e.g. for a 2 node 
> system use 0,0,0.5,1 and 0.5,0,1,1 for the two viewports), sop that they only 
> occupy part of the window. The MultiDisplayWindow really looks at the whole 
> cluster as a single Window, just like a local Window.
> 
> Hope it helps

Following your suggestions I set the six viewports to

const float ot = 1.0/3;
const float vpsizes[6][4] = {
{0,   0,     0.5, ot},
{0.5, 0,       1, ot},
{0,   ot,    0.5, ot*2},
{0.5, ot,     1,  ot*2},
{0,   ot*2,  0.5, ot*3},
{0.5, ot*2,    1, ot*3}};

The result is, that *each* window is splitted horizontally in three
subareas. Again, the contents of the first three and the second three
windows are (separately) aligned vertically: Subarea 1 of window 1 is
left of subarea 1 of window 2 is left of subarea 1 of window 3. subarea
2 of window 1 is left of sub area 2 of window 2 and so forth.

cheers,

thomas

-- 
Thomas Kulessa <[EMAIL PROTECTED]>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to