Hi 이 원우,

On Tue, 2004-09-21 at 18:26, 이 원우 wrote:
> Hi. 
> 
> The OpenSG cluster server only renders the scenegraph and the applications 
> runs on the client. 
> 
> The cluster example uses simple scene manager and it seems that it 
> automatically 
> 
> split the scene according to the number of servers. 
> 
> So that, I wonder that whether I can change the viewpoint of each server. 
> 
> For example, server1 sees from (0,0,0) to (10,0,0) and server2 sees from 
> (0,0,0) to (-10,0,0) .

To do that you need to setup your own viewports. The MultiDisplayWindow
really only splits the main window into multiple parts, if you have the
main window set up to show different things, it will be split just the
same.

It's a little tricky to do that with the SimpleSceneManager (as it's
supposed to be more simple setups), you can take a look at
Source/System/Window/testStereoDeocrator.cpp for an example how to do
it. If you set the left border of one and the right border of the other
viewport to be .5, you will have two separate image on the cluster.

Hope it helps

        Dirk
 



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to